본문으로 건너뛰기
Skillpedia
보안42k · #6442

competition-pcap-protocol

하는 일

이 도구는 네트워크 패킷 캡처 파일(PCAP)을 분석해 컴퓨터 사이에 데이터가 어떻게 흐르는지 이해하도록 돕습니다. 대화를 재구성하고, HTTP 같은 프로토콜을 해독하며, 무엇이 전송되었는지 찾아냅니다.

사용하는 경우

  • ✓네트워크 파일(PCAP)이 있고 무슨 일이 일어났는지 이해하고 싶을 때.
  • ✓두 기기가 특정 프로토콜로 어떻게 통신했는지 보고 싶을 때.
  • ✓네트워크를 통해 보내진 파일이나 정보를 찾는 경우.

스킬 링크

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-pcap-protocol/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-pcap-protocol/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 PCAP 파일을 분석해서 서버가 클라이언트와 어떻게 통신했는지 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 먼저 네트워크 패킷을 대화(세션)로 정리합니다. 그다음 이 대화 안의 데이터를 메시지를 읽듯이 해석해 사용된 프로토콜과 내용을 이해합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Competition PCAP Protocol

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 decisive evidence sits inside packet order, protocol framing, or stream reconstruction rather than a single IOC or host log.

Reply in Simplified Chinese unless the user explicitly requests English.

Quick Start

  1. Establish the capture boundaries first: hosts, time span, interfaces, missing packets, retransmits, and stream count.
  2. Group traffic into sessions before decoding payload semantics.
  3. Record protocol framing, sequence, timing, and transferred artifacts together instead of as isolated packets.
  4. Correlate packet evidence with host, malware, or app behavior only after the session is reconstructed.
  5. Reproduce the smallest decoded stream or transferred artifact that proves the challenge path.

Workflow

1. Build The Session Map

  • Identify endpoints, protocols, ports, TLS handshakes, DNS lookups, websocket upgrades, and long-lived streams.
  • Note missing capture coverage, asymmetric routing, packet loss, or reassembly issues before drawing conclusions.
  • Separate control channels, bulk transfers, keepalives, and noise.

2. Decode The Protocol Boundary

  • Reassemble TCP streams or UDP conversations before interpreting fields.
  • Recover framing, message order, custom headers, binary fields, compression, encryption boundaries, and object transfers.
  • Keep payload direction, timing, and session state aligned with each decoded message.

3. Tie Packets To Behavior

  • Show which packet sequence maps to which host event, malware branch, login flow, upload, exfiltration step, or command channel.
  • Distinguish protocol recognition from artifact recovery: naming HTTP, DNS, or a custom C2 is not enough without decoded content or proven downstream effect.
  • If the task becomes mostly a host timeline problem after decode, switch to the tighter forensic timeline skill.

Read This Reference

  • Load references/pcap-protocol.md for the session checklist, decode checklist, and evidence packaging.
  • If the hard part is a WebSocket or SSE handshake, subscription flow, realtime frames, or frame-driven state, prefer $competition-websocket-runtime.
  • If the hard part is a custom handshake, framing, checksum, sequence dependency, or deterministic replay harness, prefer $competition-custom-protocol-replay.

What To Preserve

  • Stream IDs, endpoint pairs, packet ranges, timestamps, protocol framing, and object boundaries
  • Decoded requests, responses, commands, transferred files, and the session that carried them
  • The exact packet sequence or reconstructed stream that proves the challenge behavior
자주 묻는 질문

PCAP 파일이란 무엇인가요?

특정 지점을 지나간 모든 네트워크 트래픽을 기록한 파일로, 컴퓨터 사이 대화의 스냅숏과 같습니다.

‘프로토콜 해독’은 무엇을 뜻하나요?

HTTP나 DNS 같은 기술 언어를 우리가 이해할 수 있는 말로 번역해, 메시지의 내용을 드러내는 것과 같습니다.

세션을 재구성하는 것이 왜 중요한가요?

대화의 데이터가 여러 패킷에 흩어져 있는 경우가 많기 때문입니다. 세션을 재구성하면 패킷을 올바른 순서로 되돌려 완전한 대화를 보여 줄 수 있습니다.

상세 정보

작성자의 원본 설명

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for packet capture analysis, session reconstruction, application-protocol decoding, stream reassembly, beacon timing, and packet-to-process correlation. Use when the user asks to analyze a PCAP, rebuild TCP or UDP sessions, decode HTTP, WebSocket, DNS, custom C2, or binary protocols, extract transferred artifacts, or tie

repo: zhaoxuya520/reverse-skill

인기도

GitHub 스타
42k
순위
#6442
라이선스
MIT
업데이트
2026. 9. 22.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬