Join our Newsletter — 33% off our NHI Course

Command and Control Communications

Command and Control Communications are the messages and network traffic used by an attacker or malicious agent to direct compromised systems. In cybersecurity, they let remote operators issue instructions, receive data, and maintain control over infected hosts, often through covert channels designed to evade detection and block response.

What Command and Control Communications Do

command and control communications are the operator-to-host channels that let a compromised system receive instructions, confirm connectivity, and send back collected data. They are a core part of post-compromise control because they turn an infected endpoint into something the attacker can manage remotely.

These communications matter because the channel itself often becomes part of the stealth strategy. Attackers may hide C2 inside ordinary web traffic, DNS, cloud services, or other protocols that blend into normal business activity, making the traffic harder to distinguish from legitimate operations.

Why C2 Traffic Is Hard to Spot

C2 is rarely a single fixed pattern. In practice it may use encrypted sessions, domain fronting, tunnelling, encoded payloads, or intermittent beaconing to reduce the chance of detection. That variability is why defenders often look for behavioural clues rather than a single signature.

The security challenge is that many of the same features that make a channel reliable for a legitimate remote service, such as reachability, persistence, and low-friction connectivity, can also make it effective for an attacker. A mature detection strategy therefore has to look at sequence, timing, and destination reputation as well as packet content.

For a practical field guide to the techniques and infrastructure patterns defenders look for, see Command and Control (C2) Guide.

How Defenders Detect and Disrupt Command and Control

Exposure review starts with knowing what should be talking to the internet, which assets are allowed to initiate outbound connections, and which protocols are normal for each segment. Once that baseline exists, defenders can look for rare destinations, unusual ports, abnormal DNS behaviour, repeated short callbacks, and traffic that appears structured but does not match the business function of the host.

Disruption usually focuses on cutting off the channel rather than waiting for visible damage. Egress filtering, DNS inspection, proxy enforcement, TLS visibility where appropriate, and rapid sinkholing or blocking of known infrastructure can all reduce the attacker’s ability to issue commands or exfiltrate data.

Because C2 often overlaps with real attacker tooling and infrastructure patterns, a dedicated threat-hunting approach is useful. MITRE ATT&CK helps organise those observations into techniques that can be searched, triaged, and mapped back to response actions. For red-team emulation and control validation, Red Teaming Guide is a useful companion resource.

What C2 Means After Compromise

Once command and control is established, the attacker can move from foothold to sustained operations. That may include reconnaissance, lateral movement, payload staging, credential theft, data collection, or launching follow-on malware. The traffic is therefore not just a communication problem, it is the mechanism that keeps the intrusion active.

That is why post-incident review should not stop at blocking the known domain or IP. If the channel was live, defenders should assume that commands may already have been executed and data may already have left the environment. The response effort should focus on scope, dwell time, and any systems that continued to trust the compromised path.

Campaign analysis often benefits from pairing C2 detection with broader attack-chain context. For example, GlassWorm campaign 2025 shows how malicious software can combine stealth, token theft, and downstream abuse to sustain access.

Risk and Threat Considerations

C2 communications are dangerous because they preserve an attacker’s ability to steer the compromise after the initial intrusion. If defenders miss the channel, they may see only isolated symptoms while the operator still has remote control, persistence, and the ability to adapt infrastructure as blocks are deployed.

Failure mechanism: The attacker hides command traffic inside allowed protocols or trusted destinations, then uses that channel to maintain control, issue new tasks, and exfiltrate data without triggering obvious alarms.

Impact: Compromise can persist longer, spread farther, and become harder to contain, especially when the same channel is used for staging payloads, stealing credentials, or coordinating lateral movement.

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 NIST CSF 2.0, CIS Controls v8 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
MITRE ATT&CK TA0011 — Command and Control C2 communications are the ATT&CK command-and-control stage of adversary activity.
Recommendation — Map observed traffic to TA0011 and hunt for beaconing, tunnelling, and remote tasking patterns.
NIST CSF 2.0 DE.CM-01 — Networks and Network Services Monitored C2 is often discovered through monitoring unusual network communications and destinations.
PR.DS-01 — Data-at-Rest is Protected C2 often supports theft or staging of sensitive data, so protecting data limits downstream impact.
Recommendation — Monitor network traffic for anomalous outbound communications and suspicious remote destinations. Protect sensitive data to reduce the damage caused when C2 is used for exfiltration.
CIS Controls v8 CIS-13 — Network Monitoring and Defense C2 detection depends on monitoring and blocking malicious network communications.
Recommendation — Deploy network monitoring and filtering to detect and disrupt suspicious command channels.
NIST SP 800-53 Rev 5 SC-7 — Boundary Protection C2 is commonly constrained through boundary controls and controlled egress paths.
AU-6 — Audit Review, Analysis, and Reporting C2 investigations rely on correlated logs and audit review across hosts and network layers.
Recommendation — Enforce boundary protections to limit unauthorized outbound command-and-control traffic. Review audit records to correlate suspicious callbacks, DNS patterns, and session activity.

Practitioner Guidance

What to watch for: Treat unexpected outbound reachability as a control issue, not just a networking anomaly. Repeated beacons, long-lived low-volume sessions, unusual DNS patterns, and connections to newly registered or rarely used infrastructure deserve investigation even when they do not look noisy.

Practitioner note: The most effective response is usually a combination of baselining, egress restriction, and event correlation across endpoint, network, and DNS telemetry. When C2 is suspected, preserve evidence of the channel before containment alters the traffic pattern.