DNS investigationHackBlue

Data leaving in DNS questions

One laptop keeps asking for long random-looking TXT names under the same domain. Find the client and the domain, then decode the labels to see what was sent.

  • Terminal mission
  • Intermediate
  • 4 questions
  • 0 of 4 solved

Your goal

Your goalShow that a laptop is sending a file out inside DNS questions, and decode what it sent.

The resolver on the finance VLAN logs every question to /var/log/dnsmasq.log. A threat feed flagged cdn-sync.example as new and unranked.

DNS tunnels hide data in the leftmost label of each query. Each label is short, so the tool sends many queries in a row. Hex or base32 labels are common because DNS names only allow letters, digits, and hyphens.

What’s on screen
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 to know
DNS
Domain Name System, which turns names into addresses
TXT
a DNS text record
VLAN
virtual LAN, a separate network on the same switches
IP
Internet Protocol address, the number that identifies a machine on a network

analyst@resolver-fin

resolver-fin · DNS investigation

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.