Zum Inhalt springen
Skillpedia
Sicherheit42k · #6425

competition-custom-protocol-replay

Was er macht

Dieses Tool hilft dir, unbekannte Kommunikationsprotokolle zu verstehen und nachzubauen, ähnlich wie beim Entschlüsseln eines geheimen Gesprächs zwischen Computern. Es achtet darauf, dass Nachrichten in der richtigen Reihenfolge und mit den richtigen Informationen gesendet werden, damit der andere Computer sie versteht.

Wann du ihn nutzt

  • ✓Wenn du eine Kommunikationsaufzeichnung (zum Beispiel einen Datenmitschnitt) hast und herausfinden willst, wie sie funktioniert.
  • ✓Wenn du Nachrichten an ein System genau so senden musst, als wärst du ein echtes Programm.
  • ✓Wenn du eine bestimmte Befehlsfolge nachbauen willst, die früher funktioniert hat.

Link zum Skill

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

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-custom-protocol-replay/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Hilf mir, diese unbekannte Netzwerkkommunikation zu verstehen und nachzubilden.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Das Tool analysiert die ausgetauschten Nachrichten, erkennt ihren Aufbau (das „Format“), prüft, ob sie korrekt sind (zum Beispiel mit Checksummen), und versucht, genau die Abfolge nachzubauen, damit sie funktioniert.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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
Häufige Fragen

Was ist ein Protokoll?

Ein Protokoll ist eine Reihe von Regeln, die festlegt, wie Computer oder Programme miteinander kommunizieren. Man könnte es als Sprache verstehen, die beide Seiten sprechen.

Was bedeuten „nachbauen“ oder „reproduzieren“?

Es bedeutet, genau dasselbe zu tun wie zuvor, also dieselben Nachrichten in derselben Reihenfolge mit denselben Daten zu senden.

Warum ist die Reihenfolge der Nachrichten wichtig?

Viele Kommunikationen hängen von einer bestimmten Abfolge ab. Kommt eine Nachricht in der falschen Reihenfolge an, versteht das System sie vielleicht nicht oder lehnt sie ab.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
42k
Platz im Ranking
#6425
Lizenz
MIT
Aktualisiert
22.9.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills