Analyze a captured packet file (test.pcap) to trace a malware infection and capture six flags.
GUI access to a Kali machine is provided, along with a packet capture, test.pcap. The whole challenge is network forensics — identify the infected host and reconstruct the attack entirely from the capture.
200 OK.mystery_file.ps1.All work is performed against an authorized INE training lab for eJPT exam preparation.
Open test.pcap in Wireshark and hunt for suspicious traffic — connections to unfamiliar external hosts are the first indicator of compromise. Filter for successful HTTP responses:
http.response.code == 200
Select an HTTP/1.1 200 OK response, expand the Hypertext Transfer Protocol section, and follow the link back to its matching request to read the requested URL.
Filter to HTTP and read the source addresses of the infected host's requests:
http
NetBIOS Name Service runs over UDP port 137. Either filter isolates it:
nbns
udp.port == 137
The NBNS registration reveals the victim's hostname: DESKTOP-9PEA63H.
mystery_file.ps1Filter to HTTP, then use Edit → Find Packet, searching the packet bytes (as a *String*) for mystery_file. to locate the transfer:
http
Right-click the matching packet → Copy → …Printable Text, paste into a text editor, and search (Ctrl+F) for Users to recover the account path.
Search the capture for PowerShell; the malicious download carries a PowerShell User-Agent string.
Search for coinbase, right-click the matching packet → Follow → TCP Stream, select all, copy, and paste into a text editor. Locate the Coinbase entry and read its Extension ID.
| Flag | Technique |
|---|---|
| 1 | http.response.code == 200 → follow request |
| 2 | http filter → source IP/MAC |
| 3 | nbns / udp.port == 137 |
| 4 | Find Packet (string) → Copy Printable Text → search Users |
| 5 | Search PowerShell → User-Agent |
| 6 | Search coinbase → Follow TCP Stream |
http.response.code == 200 quickly surfaces what actually loaded.