본문으로 건너뛰기
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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-custom-protocol-replay/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 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
자주 묻는 질문

‘프로토콜’이란 무엇인가요?

컴퓨터나 프로그램이 서로 통신하는 방식을 정한 규칙의 모음으로, 그들이 이해하는 언어와 같습니다.

‘재현’ 또는 ‘재생산’은 무엇을 뜻하나요?

전에 했던 것과 정확히 같은 일을 하는 것, 즉 같은 메시지를 같은 순서와 같은 데이터로 보내는 것을 뜻합니다.

메시지의 순서가 왜 중요한가요?

많은 통신이 특정 순서에 의존합니다. 메시지가 순서가 어긋나 도착하면 시스템이 이해하지 못하거나 거부할 수 있습니다.

상세 정보

작성자의 원본 설명

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

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬