← All Threat Hunting ReportsThreat Hunting Exercise

Threat Hunting Exercise: Analyzing DNS DGA (Domain Generation Algorithm) Beaconing Dataset

This hunt uses a simulated internal DNS resolver dataset (dns_dga_beacon_2022-07-16T093000.json) capturing T1568.002: Domain Generation Algorithms, where malware on an infected host queries a rapid succession of algorithmically-generated, pseudo-random domain names in search of a live C2 rendezvous point, the majority of which resolve to NXDOMAIN.

Step 1: Hypothesis Formation

Hypothesis: A host generates DNS queries for a high volume of syntactically random-looking domain names (high entropy, consonant-heavy, no dictionary-word structure) in a short window, the large majority of which return NXDOMAIN, with one or a few eventually resolving to an external IP - consistent with a DGA cycling through candidate domains until it finds its currently-active C2 host. Indicators:

Null Hypothesis: A misconfigured or legitimate application is generating malformed/randomized DNS lookups (e.g., a broken CDN client, a security research tool, or a browser prefetch feature gone wrong). Invalidate by checking the querying process on the host and confirming no known legitimate software matches this query volume/pattern.

Rationale: DGA-based C2 is designed specifically to defeat static domain blocklisting; this hunt validates statistical/entropy-based DNS analysis as a detection method that doesn't depend on any single domain being previously known-bad.

Step 2: Data Sources and Scope

Step 3: Key Findings

Parsed events (6 shown) confirm 214 high-entropy DNS queries in a 15-minute window, 96% NXDOMAIN, with one successful resolution to a low-reputation IP.

Timestamp (UTC)HostQueryResponseIOC/Why Suspicious?
2022-07-16 09:30:04WKS-OPS-018xqpzrltvbn.comNXDOMAINEntropy IOC: 10-character consonant-heavy string, Shannon entropy 3.9 - well above the ~3.0 typical of organic domain names.
2022-07-16 09:30:05WKS-OPS-018mjvkdolwqa.comNXDOMAINSecond query, 1 second later, same length/character-set pattern - consistent with algorithmic generation, not manual typing.
2022-07-16 09:30:06 - 09:44:50WKS-OPS-018(212 additional similarly-structured domains)205 NXDOMAIN, 1 successVolume IOC: 214 distinct domains queried by one host in 15 minutes - no legitimate browsing or application behavior resembles this.
2022-07-16 09:41:12WKS-OPS-018ftbnxqrpla.netResolved to 194.61.55.28Rendezvous IOC: the one successful resolution among 214 attempts - this is the DGA "finding" its live C2 host for the day.
--(reputation check)194.61.55.28: registered 4 days prior, hosting provider flagged for prior malware C2 in threat-intel feedsCorroborates the successfully-resolved IP as malicious infrastructure, not a false-positive resolution.
-WKS-OPS-018(process check via EDR)svchost.exe (non-standard parent) is the querying processProcess-anomaly IOC: legitimate svchost.exe service hosting does not generate DNS query bursts of this volume/pattern - indicates process injection into a trusted binary name.

Validation:

Step 4: Recommendations & Next Steps

Hypothesis confirmed - a DGA-driven malware infection generated 214 high-entropy DNS queries in 15 minutes, successfully resolving one live C2 rendezvous domain!