Posts

Showing posts with the label malware-analysis

Analyzing a Mirai Botnet PCAP with Claude Code

In a previous post I walked through analyzing a DoublePulsar/EternalBlue capture with Claude Code. This time the target is sample.pcap — a capture of an IoT device downloading what turns out to be a Mirai-variant botnet binary. The same single-prompt workflow, but with a very different payload at the end. The Prompt Analyse the sample.pcap file, extract any IOCs, if there are any files being transmitted please examine them. Report source and destination IP addresses and protocols, file types and content. Analysis Methodology Claude worked through the capture in layers — start wide, then drill down. Step 1 — Protocol Hierarchy tshark -r sample.pcap -q -z io,phs The -z io,phs flag prints a protocol hierarchy tree with frame and byte counts at each layer. Quick way to see what's in a capture without looking at individual frames. Result: pure TCP/HTTP — no DNS, no TLS, no lateral movement protocols. =================================================================== P...