learn: DNS Queries to Non-Standard Resolver (Rogue DNS Detection)

trypcaphub/7mo ago
4.2 KB
34 packets
24.6s
37 views
3 downloads

Mixed protocols across IPV4, UDP, DNS

Ready

DNS queries split between two resolvers demonstrating how malware bypasses DNS monitoring. Queries to 10.99.0.21 (the legitimate BIND 9.18.39 internal resolver) resolve normal domains: google.com, github.com, microsoft.com, and internal pcaplab.local hostnames, all returning valid A records.

Queries to 10.99.0.22 (a non-standard server not normally used for DNS) include suspicious lookups: evil-c2-server.com, malware-update.net, exfil-drop.org, botnet-controller.info, plus 10 DGA-style hex-encoded domain names like 48b66121b5087926.com and fa6b0b3f7288f67e.com.

Most machines should only query your internal DNS server or known public resolvers (8.8.8.8, 1.1.1.1). In Wireshark, filter for DNS traffic going to unexpected destinations: dns && !(ip.dst == 10.99.0.21) (adjust for your environment). Any host sending DNS queries to an unknown IP address may be running malware with its own DNS infrastructure to avoid your monitoring.

Loading packets...