competition-pcap-protocol — скилл для Claude Code: анализ PCAP
Скилл competition-pcap-protocol для Claude Code разбирает сетевые дампы и восстанавливает содержимое сессий. Запускается после настройки песочницы, когда нужно связать пакеты с поведением хоста или вредоносной программы.
MIT 109 установок ★ 45 047 обновлён 2026-09-22
npx skills add zhaoxuya520/reverse-skill --skill competition-pcap-protocol -a claude-codeЧто делает competition-pcap-protocol
Скилл анализирует PCAP: группирует трафик по сессиям, восстанавливает потоки TCP и UDP и разбирает границы протокола. Он помогает извлечь переданные файлы и сопоставить последовательность пакетов с событиями на хосте, действиями вредоносной программы или обменом командами.
Сначала должны быть заданы условия песочницы и приоритеты сбора свидетельств через ctf-sandbox-orchestrator. Затем анализ учитывает временные метки, направление передачи, потери пакетов и границы объектов. Для контрольного списка сессий, декодирования и упаковки свидетельств скилл загружает references/pcap-protocol.md.
Если основная задача смещается к временной шкале событий на хосте, скилл переключается на специализированный forensic timeline skill. Для сложного WebSocket-потока или повторного воспроизведения пользовательского протокола предусмотрены отдельные скиллы.
Какие задачи решает
- восстановить TCP- или UDP-сессию из PCAP
- декодировать содержимое HTTP, DNS или пользовательского протокола
- извлечь файлы, переданные по сетевому потоку
- связать последовательность пакетов с поведением хоста или вредоносной программы
Примеры запросов агенту
- Разбери этот PCAP и восстанови TCP- и UDP-сессии.
- Декодируй DNS и HTTP-потоки, затем найди переданные файлы.
- Свяжи последовательность пакетов с поведением вредоносной программы.
Как установить competition-pcap-protocol
1Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-pcap-protocol -a claude-code2Вручную: положить файлы
~/.claude/skills/competition-pcap-protocol/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/competition-pcap-protocol/
1Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-pcap-protocol -a codex2Вручную: положить файлы
.agents/skills/competition-pcap-protocol/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-pcap-protocol -a cursor2Вручную: положить файлы
.cursor/skills/competition-pcap-protocol/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install zhaoxuya520/reverse-skill CTF-Sandbox-Orchestrator/competition-pcap-protocol/SKILL.md2Вручную: положить файлы
.github/skills/competition-pcap-protocol/SKILL.md1Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-pcap-protocol -a gemini-cli2Командой платформы
gemini skills install https://github.com/zhaoxuya520/reverse-skill --path CTF-Sandbox-Orchestrator/competition-pcap-protocolВручную: положить файлы
.devin/skills/competition-pcap-protocol/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-pcap-protocol -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о competition-pcap-protocol
Как установить competition-pcap-protocol в Claude Code?
Выполни npx skills add zhaoxuya520/reverse-skill --skill competition-pcap-protocol -a claude-code. Файл скилла находится по пути ~/.claude/skills/competition-pcap-protocol/SKILL.md.
Что делает competition-pcap-protocol?
Скилл восстанавливает сетевые сессии и разбирает протоколы в PCAP, извлекает переданные файлы и связывает сетевые данные с поведением хоста или вредоносной программы.
Что нужно для работы competition-pcap-protocol?
До его запуска ctf-sandbox-orchestrator должен задать условия песочницы и направить задачу этому скиллу.
Исходный текст
SKILL.md · MIT
--- name: competition-pcap-protocol description: 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 packet sequences to host or malware behavior. Use only after `$ctf-sandbox-orchestrator` has already established sandbox assumptions and routed here. --- # 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
© zhaoxuya520 · MIT · zhaoxuya520/reverse-skill