Explore/

Rogue DNS Detection

1 public capture

Hosts should send DNS queries to the resolvers they were given. This learning capture shows a client querying a different address, which can mean malware has changed the settings, a rogue DHCP server has handed out its own resolver, or a user has pointed at an external service. The findings pass lists resolvers per client so a stray one is easy to see.

Learning capture of DNS queries sent to a non-standard resolver instead of the configured one, the sign of malware or a rogue DHCP server.

trypcaphub·7mo ago

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

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.

3634.2 KB34