本文へスキップ
Skillpedia
セキュリティ42k · #6425

competition-custom-protocol-replay

できること

このツールは、未知の通信プロトコルを理解し、再現するのに役立ちます。コンピューター同士の秘密の会話を解読するようなイメージです。相手のコンピューターが内容を理解できるように、メッセージを正しい順序で、正しい情報とともに送ることに重点を置いています。

使う場面

  • ✓通信ログ(データの「録音」のようなもの)があり、その仕組みを解明する必要があるとき。
  • ✓本物のプログラムであるかのように、システムへ正確な方法でメッセージを送る必要があるとき。
  • ✓以前うまくいった特定のコマンドの流れを再現したいとき。

スキルのリンク

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-custom-protocol-replay/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-custom-protocol-replay/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“この未知のネットワーク通信を理解して、再現する方法を教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

やり取りされたメッセージを分析し、その構造(「フォーマット」)を特定します。チェックサムのような正しさの確認方法も調べ、正しく動作するように、正確な順序を再現しようとします。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Competition Custom Protocol Replay

Use this skill only as a downstream specialization after $ctf-sandbox-orchestrator is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to $ctf-sandbox-orchestrator first.

Use this skill when the hard part is not merely naming the protocol, but reproducing the exact message order and state needed for acceptance.

Reply in Simplified Chinese unless the user explicitly requests English.

Quick Start

  1. Identify client and server roles, session boundaries, and reset conditions before decoding field semantics.
  2. Recover framing, lengths, delimiters, sequence numbers, checksums, nonces, and state transitions before broad replay attempts.
  3. Keep one canonical transcript of a successful exchange.
  4. Change one field or one message at a time while replaying.
  5. Reproduce the smallest accepted conversation that proves the decisive branch.

Workflow

1. Map The Session State Machine

  • Identify handshake, negotiation, authentication, keepalive, command, and teardown phases.
  • Record which fields are static, which are derived, and which depend on prior messages.
  • Keep message order, direction, and timing tied to the same session identity.

2. Recover Framing And Integrity

  • Reconstruct lengths, delimiters, type bytes, checksums, MACs, counters, compression, or encryption boundaries.
  • Distinguish transport framing from application-level framing.
  • Note exactly where server acceptance changes when one field or step is mutated.

3. Build The Minimal Replay Harness

  • Reduce the path to the smallest transcript that reaches the accepted state, parser branch, command effect, or artifact.
  • Preserve both the original captured sequence and the replayed minimal sequence.
  • If the problem is mainly generic PCAP or stream decoding with no stateful replay requirement, switch back to the broader PCAP skill.

Read This Reference

  • Load references/custom-protocol-replay.md for the state-machine checklist, transcript checklist, and evidence packaging.

What To Preserve

  • Canonical transcript, message types, field boundaries, checksums, counters, and session identifiers
  • Original capture slices and the replay harness inputs that produce acceptance
  • The exact mutation that flips the protocol from rejected to accepted, or vice versa
よくある質問

「プロトコル」とは何ですか?

コンピューターやプログラム同士が通信する際のルールの集まりで、互いが理解できる言語のようなものです。

「再現(recreate)」や「再生(reproduce)」とはどういう意味ですか?

以前行ったことと全く同じことを行うという意味で、同じメッセージを同じ順序で、同じデータを使って送ることです。

メッセージの順序が重要なのはなぜですか?

多くの通信は特定の順序に依存しています。メッセージの順番が狂うと、システムが内容を理解できなかったり、通信を拒否したりすることがあるためです。

詳細

作者による元の説明

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for custom binary or text protocol recovery, handshake reconstruction, framing, sequence control, checksums, stateful replay, and accepted-session reproduction. Use when the user asks to decode an unknown protocol, recover custom framing, build a replay harness, satisfy sequence or checksum rules, replay a captured sessio

repo: zhaoxuya520/reverse-skill

人気

GitHubのスター
42k
ランキング
#6425
ライセンス
MIT
更新日
2026/9/22

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル