# network-forensics-and-pcap-protocol-reconstruction

network-forensics-and-pcap-protocol-reconstruction is a Claude Code skill that rebuilds HTTP, SMB, DNS, and mail sessions from raw packets. Runs during network traffic artifact triage.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 73 repo stars
- Author: W4L33Dx
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/W4L33Dx/Cyber-Monster/tree/HEAD/blue-team/digital-forensics/network-forensics-and-pcap-protocol-reconstruction/SKILL.md
- Updated: 2026-11-15
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/network-forensics-and-pcap-protocol-reconstruction

## What it does

The skill rebuilds application layer payloads by chaining TCP segments according to sequence numbers. It handles deduplication caused by retransmissions and out-of-order delivery so exported binaries retain their true hashes. Message delimiters rely on NBSS prefixes for SMB, line terminators for mail, or `Content-Length` and chunked markers for HTTP. Single-packet transports like DNS are resolved by correlating query and reply transaction identifiers.

Different transports trigger separate paths. Unencrypted streams go to full stream extraction. Encrypted TLS 1.3 or QUIC sessions branch into metadata inspections tracking SNI, handshake certificates, and transfer volume. When a capture drops packets, the gap relative to framing lengths sets a truncation budget, marking objects as partial.

Captures across non-standard ports need an explicit declaration such as `-d tcp.port==8080,http`. Missing telemetry sources require outputting `INCONCLUSIVE (Telemetry Gap)` rather than passing sessions as benign.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill network-forensics-and-pcap-protocol-reconstruction -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/network-forensics-and-pcap-protocol-reconstruction/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/network-forensics-and-pcap-protocol-reconstruction/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill network-forensics-and-pcap-protocol-reconstruction -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/network-forensics-and-pcap-protocol-reconstruction/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill network-forensics-and-pcap-protocol-reconstruction -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/network-forensics-and-pcap-protocol-reconstruction/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install W4L33Dx/Cyber-Monster blue-team/digital-forensics/network-forensics-and-pcap-protocol-reconstruction
```

2. **Manually: put the files in place**
- File: `.github/skills/network-forensics-and-pcap-protocol-reconstruction/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill network-forensics-and-pcap-protocol-reconstruction -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/W4L33Dx/Cyber-Monster --path blue-team/digital-forensics/network-forensics-and-pcap-protocol-reconstruction
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/network-forensics-and-pcap-protocol-reconstruction/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/W4L33Dx/Cyber-Monster/tree/HEAD/blue-team/digital-forensics/network-forensics-and-pcap-protocol-reconstruction/SKILL.md

## When to use it
- reassemble cleartext HTTP and SMB transmissions from raw packet captures
- pair DNS requests with responses through transaction IDs
- deduplicate retransmitted TCP segments to maintain hash integrity
- detect truncated objects by comparing byte payloads against protocol length headers

## Example prompts
- Run pcap protocol reconstruction on incident-capture.pcap
- Execute http reconstruct to extract transferred files from the trace
- Perform smb session analysis on the captured traffic log

## Similar
- [traffic-analysis-pcap](https://affpapa.org/en/nevibecode/skills/traffic-analysis-pcap.md) — skill · 4100 installs
- [analyzing-network-traffic-of-malware](https://affpapa.org/en/nevibecode/skills/analyzing-network-traffic-of-malware.md) — skill · 428 installs
- [ctf-forensics](https://affpapa.org/en/nevibecode/skills/ctf-forensics.md) — skill · 9900 installs
- [wireshark-mcp](https://affpapa.org/en/nevibecode/mcp/wireshark-mcp.md) — MCP server · ★ 408 repo stars
- [traffic-analyzer](https://affpapa.org/en/nevibecode/agents/traffic-analyzer.md) — subagent · ★ 2482 repo stars
- [analyzing-network-traffic-with-wireshark](https://affpapa.org/en/nevibecode/skills/analyzing-network-traffic-with-wireshark.md) — skill · 564 installs

From the same set: [w4l33dx/cyber-monster](https://affpapa.org/en/nevibecode/by/w4l33dx/cyber-monster.md) — 61 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
