Response playbooks, investigation guides, and Atomic Red Team tests are Pro-only. Upgrade to unlock the full detection package for THREAT-Recon-DNSSubdomainWordlistEnumeration.
Upgrade to ProDetect DNS Subdomain Wordlist Brute-Force Enumeration in Sumo Logic CSE
Adversaries iteratively query an organization's authoritative or recursive DNS infrastructure with large wordlists of candidate subdomain labels (dev, staging, vpn, mail-old, api-internal, etc.) to discover hostnames that were never intentionally published — forgotten staging environments, internal-only services accidentally exposed, or third-party integrations. Unlike the HTTP directory/file wordlist scanning covered by generic Active Scanning detections, this technique operates entirely at the DNS layer using tools such as massdns, puredns, gobuster's dns mode, dnsrecon, fierce, and amass's active enumeration mode, which resolve thousands of candidate FQDNs per minute and rely on the high NXDOMAIN response rate as an intrinsic side effect of brute-forcing an unknown namespace. Because these queries never touch a web server or generate an HTTP log line, they are invisible to WAF- and web-access-log-based scanning detections and require dedicated visibility into DNS server query logs (authoritative nameserver, recursive resolver, or DNS security gateway) plus endpoint process telemetry for internal pivot scanning.
MITRE ATT&CK
- Tactic
- Reconnaissance
Sumo Detection Query
(_sourceCategory=*/DNS/QueryLog* or _sourceCategory=*/Windows/Sysmon*)
| parse field=_raw "Image: *\r" as Image nodrop
| parse field=_raw "CommandLine: *\r" as CommandLine nodrop
| parse field=_raw "query: * NXDOMAIN" as QueriedFQDN nodrop
| where Image matches "*massdns*" or Image matches "*gobuster*" or Image matches "*puredns*"
or Image matches "*dnsrecon*" or Image matches "*amass*" or isnotempty(QueriedFQDN)
| eval Signal = if(!isnull(Image), "InternalDNSEnumTool", "DNSServerQueryLog")
| stats count as EventCount, dc(QueriedFQDN) as UniqueSubdomains, values(CommandLine) as Commands by Computer, User, Image, Signal
| where EventCount >= 50 or Signal = "InternalDNSEnumTool"
| sort by EventCount desc Sumo Logic search combining DNS query log NXDOMAIN volume with Sysmon Event ID 1 process telemetry to detect DNS subdomain wordlist brute-forcing, covering both the DNS-server-side query burst and the endpoint-side execution of known enumeration tools.
Data Sources
Required Tables
False Positives & Tuning
- ASM vendors or internal DevOps teams running scheduled subdomain discovery as part of attack-surface inventory
- Legitimate zone-audit or migration scripts resolving many candidate hostnames in sequence
Other platforms for THREAT-Recon-DNSSubdomainWordlistEnumeration
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.
- Test 1Simulated DNS Subdomain Wordlist Query Burst
Expected signal: Authoritative/recursive DNS server query log entries showing 60 sequential NXDOMAIN responses for distinct subdomains of example.com from the executing host's source IP within a short window.
- Test 2gobuster DNS Mode Execution
Expected signal: Process creation event for gobuster with CommandLine containing 'dns -d example.com -w' and the wordlist file path.
- Test 3massdns Bulk Subdomain Resolution
Expected signal: Process creation event for massdns with CommandLine containing '-r' and '-t A' flags; DNS query log entries for the listed candidate subdomains.
Unlock playbooks & atomic tests with Pro
Get the full detection package for THREAT-Recon-DNSSubdomainWordlistEnumeration — response playbook and atomic red team tests, plus investigation guidance and hunting queries.
df00tech Pro — £29/user/month