ctf-forensics-recipeslisted
Install: claude install-skill bilal-spotted/claude-code-ctf-rig
# CTF Forensics Recipes
Identify the artifact, then run its recipe.
## PCAP (.pcap/.pcapng)
- Overview: `tshark -r f.pcap -q -z io,phs`
- Follow streams: filter http/ftp/telnet; export objects `tshark -r f --export-objects http,outdir`
- Large/noisy capture: `zeek -r f.pcap` then grep the generated conn.log/dns.log/http.log
- Look for: plaintext creds, DNS tunneling, ICMP data payloads, unusual ports, base64 in payloads, USB HID data
## Memory dump (.raw/.vmem/.lime)
- Identify: `vol -f dump windows.info` (or linux.banner)
- Standard sweep: pslist, pstree, cmdline, netscan, filescan
- Extract: dumpfiles/memmap the suspicious PID, strings the dump, hashdump/lsadump, consoles/cmdscan
## Disk image (.dd/.img/.E01)
- Layout: `mmls img`. List files: `fls -r -o OFFSET img`
- Recover a file: `icat -o OFFSET img INODE > out`
- Carve unallocated: `foremost` or `scalpel`
- Broad pattern pass regardless of filesystem: `bulk_extractor -o out img`
## Windows artifacts
- Registry: RegRipper against SAM/SYSTEM/SOFTWARE/NTUSER.DAT hives for user activity, installed software, run keys
- Event logs: `chainsaw hunt logs.evtx -s sigma_rules/` or `hayabusa csv-timeline -d evtx_folder` for fast rule based triage
- Prefetch: parse .pf files for execution history and timestamps
- $MFT: `analyzeMFT.py -f \$MFT -o mft.csv` for file activity and deletion timestamps
- Shadow copies can hold an earlier state of a file since altered or deleted
## Timeline correlation
- `log2timeline.py timeline.plas