learn: DNS Threat Hunting Challenge (Find the Malicious Queries)
Mixed protocols across ETHERNET, IPV4, UDP
A mixed DNS capture containing normal web browsing traffic with suspicious queries hidden in the noise. Your challenge: identify the malicious DNS activity using Wireshark filters and pattern recognition. Zeek identified 133 DNS transactions total.
The capture contains: normal A record queries for popular websites (google.com, youtube.com, github.com, reddit.com, amazon.com, microsoft.com, stackoverflow.com, linkedin.com, slack.com, zoom.us, plus CDN domains like jsdelivr.net and cloudflare.com), a few legitimate TXT queries (_dmarc.google.com, github.com SPF), and hidden among them: DGA-generated domains, base64-encoded subdomain tunneling queries, and TXT record C2 beacon queries to an unusual domain.
Hunting workflow: 1) Filter to dns and scan queried domain names. 2) Look for random-string domains that do not match normal patterns. 3) Filter dns.flags.rcode == 3 to find NXDOMAIN clusters. 4) Filter dns.qry.type == 16 to isolate TXT queries and check if the volume to any single domain is abnormal. 5) Check which DNS server each query targets. 6) Look for unusually long subdomain labels that may contain encoded data.
How many suspicious indicators can you find?