Join our Newsletter — 33% off our NHI Course
Home› FAQ› Threats, Abuse & Incident Response› How do you detect Cobalt Strike DNS beaconing?
Threats, Abuse & Incident Response

How do you detect Cobalt Strike DNS beaconing?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated October 20, 2026 Domain: Threats, Abuse & Incident Response

Detect it by spotting repeated DNS queries with similar timing, long or random-looking subdomains, and unusually high query volumes to a small set of domains. Compare the client host’s DNS behaviour with its normal baseline, then check whether the queried domain is rarely resolved elsewhere or returns low-value responses consistent with beaconing.

What DNS beaconing looks like in network telemetry

cobalt strike dns beaconing is less about one suspicious query and more about a pattern. The beacon tends to query the same domain repeatedly on a cadence, with subdomains that look generated rather than human-readable. The signal is strongest when you compare one host’s DNS behaviour against its own baseline and against peers on the same network segment.

Look for timing regularity, low-entropy or random-looking labels, and query bursts that do not match normal application behaviour. A single host repeatedly querying a narrow domain set, especially when those names are rarely seen elsewhere, is often more useful than trying to identify a specific payload format from one event alone.

Because C2 traffic often blends into normal DNS activity, the practical question is whether the resolver pattern is consistent with command polling rather than user-driven lookups. The Command and Control (C2) Guide is the most useful starting point when you want to connect beaconing indicators to broader C2 infrastructure and response patterns.

How to validate that the domain is serving beacon traffic

After you spot the pattern, validate it with DNS context. Check whether the domain is unusually quiet across the environment, whether the queried subdomains change in a way that suggests encoding, and whether the responses are minimal or otherwise unhelpful for ordinary browsing. Beaconing domains often produce a lot of lookups without the kind of resolution diversity you would expect from legitimate services.

It also helps to inspect the full request path, not just the query name. If the same client resolves the same parent domain over and over, while adjacent hosts never touch it, the behaviour is more consistent with tasking or heartbeat traffic than with ordinary enterprise DNS use. Cross-checking DNS logs with process and network telemetry can show whether the host is polling at the process level or simply resolving a shared service used by many users.

When DNS queries resemble encoded tasking, the issue is not only detection but attribution to a specific host and process. In practice that means correlating resolver logs, endpoint telemetry, and any upstream proxy or firewall data to confirm that the pattern is generated by an internal client rather than by recursive resolver noise or shared infrastructure.

What makes DNS beaconing easy to miss

Beaconing hides well because DNS is noisy by design. Small, periodic queries can look ordinary if you only review one log source or one short time window. Attackers also benefit from low-friction transport, since DNS is commonly allowed out of the network and often gets less scrutiny than HTTP or TLS.

That is why baselining matters. A workstation that suddenly begins querying long, random subdomains at regular intervals is more interesting than a server that always talks to the same few domains. The confidence rises further when the domain itself has little benign presence in your environment or returns responses that do not align with the apparent request pattern.

For defenders, the hard part is not spotting every strange DNS record, but separating beaconing from legitimate telemetry, software updaters, and content delivery behaviour. Context, frequency, and rarity are usually more reliable than any single lexical indicator.

Risk and Threat Considerations

DNS beaconing is valuable to an operator because it creates a low-friction control channel that can survive basic egress filtering and blend into ordinary name resolution. The main risk is delayed detection: once the pattern is accepted as background noise, the host can continue polling for tasking, staging follow-on activity, or maintaining a covert foothold.

Failure mechanism: defenders over-trust DNS as benign infrastructure and miss the combination of cadence, entropy, and rarity that distinguishes beacon traffic from normal client lookups. The result is weak visibility into command-and-control behaviour, especially when the beacon uses distributed or low-volume infrastructure.

Impact: the endpoint may remain connected to attacker infrastructure long enough for lateral movement, payload delivery, or exfiltration preparation to continue unnoticed. Even when the traffic volume is small, the operational cost is high because the same pattern can represent persistent access rather than a one-time scan.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK addresses the attack and risk surface, while CIS Controls v8 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
MITRE ATT&CKTA0011 — Command and ControlDNS beaconing is a C2 access pattern used to maintain attacker communication.
Recommendation — Map repeated DNS polling to command-and-control activity and hunt for the associated host process.
CIS Controls v8CIS-13 — Network Monitoring and DefenseDetecting beaconing depends on monitoring DNS flows and abnormal traffic patterns.
Recommendation — Baseline DNS behaviour and alert on periodic, low-entropy, or rare-domain lookups.
NIST CSF 2.0DE.CM-01 — Networks and network services are monitored to find potentially adverse eventsDNS beaconing is identified through continuous network monitoring and anomaly detection.
DE.AE-02 — Detected events are analyzed to understand attack targets and methodsBeaconing analysis requires determining whether DNS events indicate C2 behaviour.
Recommendation — Monitor DNS traffic continuously and investigate recurring query patterns that deviate from baseline. Analyze suspicious DNS events to determine whether they represent command-and-control communications.

Practitioner Guidance

What to verify: confirm the pattern against a per-host baseline, not just global DNS volume. A good investigation answer includes the client process, query cadence, domain rarity, and whether the responses are consistent with routine application behaviour.

Decision rule: if the same host repeatedly queries a small domain set with stable intervals and low-value responses, treat it as a beaconing candidate and escalate to endpoint review rather than waiting for a stronger alert. If the pattern appears only during a narrow maintenance window or matches a known updater, handle it differently.

Practitioner takeaway: DNS beaconing is best detected as a relationship between timing, entropy, and rarity, not as a single bad domain. The most reliable response is to correlate DNS with endpoint activity early enough to confirm whether the host is polling an operator-controlled C2 channel.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 20, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org