The lookup right before the download
A workstation downloaded a binary over plain HTTP. Use tshark on the saved capture to tie the DNS lookup to the download and pull out the URL and user agent.
What you’re looking at
A workstation downloaded a binary over plain HTTP. Use tshark on the saved capture to tie the DNS lookup to the download and pull out the URL and user agent.
Your goal: Tie a DNS lookup to the download that followed it and read the request.
- Briefing
- the story: what happened and what evidence you were handed.
- Terminal
- the dark box. It is a pretend Linux shell that runs in your browser. Type a command and press Enter. Nothing you type touches a real system.
- Walkthrough
- the numbered path. Each step says what to type and what you should see. Hints open one at a time.
- Answer boxes
- under each question step. Type what you found and press Check.
Words you will meet
- HTTP
- Hypertext Transfer Protocol, how browsers and web servers talk
- DNS
- Domain Name System, which turns names into addresses
- URL
- web address
- EDR
- endpoint detection and response, the security agent on a computer
- IP
- Internet Protocol address, the number that identifies a machine on a network
- URI
- uniform resource identifier, the path part of a web address
- TCP
- Transmission Control Protocol, the connection most network traffic uses
Start with step 1 in the walkthrough. Every step says what to do and what you should see. The whole thing takes about 2 min to talk through.
Briefing
EDR quarantined a file on 10.0.20.15 a few seconds after the user opened an email attachment. The network sensor kept a short capture: /cases/ws15.pcap.
tshark -r reads a capture. -Y applies a display filter, and -T fields -e prints just the fields you name, one packet per line.
sensor-01 · Packet captures
Type help for the command list and objectives for your tasks. Everything runs in this browser.
Up and down arrows walk your history. Ctrl+L clears the screen. Try help, ls, and objectives.
The whole walkthrough
Every step in order, written to be read aloud: 293 words, about 2 min. It gives away every answer, so try the steps first.