Exfil Over the Wire
Network forensics lab · Hard · Chapter 13 · 9 challenges · 2200 points
The case
Quillon Biotech’s managed security provider flagged steady outbound TLS from the research network on the afternoon of 17 November. The firewall kept no packet captures, but the network sensor kept Zeek logs.
You have the sensor’s conn, dns, http, files and ssl logs for 12:00 to 16:00 UTC. Find the compromised host, show how it was infected, and estimate what left the network and what it was.
How to play
- Start with
cat CASE-NOTES.txt. Typechallengesfor the full list, or read the board. - Each challenge asks for a value you can prove from the evidence. Enter
submit ID ANSWER. - The evidence is mounted read-only. Use
ls,cat,grep, pipes and the case tools listed byhelp. - Stuck?
hint IDgives a nudge at no cost.
The terminal works like bash: Tab completes commands and paths (press it twice to list matches), ↑ and ↓ recall history, Ctrl+R searches it, Ctrl+C cancels the line and Ctrl+L clears the screen. Press Esc then Tab to move focus out of the terminal.
Challenges can be done in any order. Your progress is saved in this browser, and reset --confirm starts over.
Challenge board
Command and control 0/4
Chapter 13 · Flows, beacons and TLS
-
The busiest destination
Which external IP address received the most connections in the window?
Answer: An IPv4 address
-
The beaconing host
Which internal host made those connections?
Answer: An IPv4 address
-
Check-in interval
The small connections to that server repeat on a schedule. About how many seconds apart are they?
Answer: A whole number of seconds
-
The name behind the IP
Submit the TLS server name (SNI) the host requested from the command server.
Answer: A host name
Initial infection 0/2
Chapter 13 · Network attack evidence
-
How it arrived
Just before the beaconing began, the host downloaded a Windows executable over plain HTTP. Submit the user agent that requested it.
Answer: A user-agent string
-
Fingerprint the payload
Submit the MD5 hash Zeek computed for the downloaded file, for a threat-intelligence lookup.
Answer: 32 hexadecimal characters
Exfiltration 0/3
Chapter 13 · Flows and DNS tunneling
-
How much left
Submit the total number of bytes the infected host sent (orig_bytes) to the command server across all connections.
Answer: A number of bytes
-
A strange subdomain
The host also sent TXT queries with long hexadecimal labels. Submit the parent domain those queries were made under.
Answer: A domain name
-
What the tunnel said
Decode the DNS tunnel. Submit the name of the file the host reported sending.
Answer: A file name