What is Command and Control?
The attacker's remote control channel. Compromised systems call out to infrastructure the attacker owns, usually over ordinary web traffic, and receive instructions. Cutting this channel is how you stop an intrusion in progress.
Command and Control covers how adversaries communicate with systems they have compromised. Modern channels deliberately look like normal traffic — HTTPS to a cloud service, DNS queries, traffic to a legitimate content delivery network, or a commercial remote-access tool your helpdesk also uses. Because outbound web traffic is universal and usually permitted, the detection problem is one of patterns rather than protocols: unusual beaconing intervals, unfamiliar destinations, or a server that suddenly starts browsing the internet. Two practical points for leadership. First, egress filtering matters: most organisations control what comes in far more tightly than what goes out, and servers in particular rarely need unrestricted outbound access. Second, severing command and control is the containment step that stops an intrusion progressing, which is why response plans need pre-authorised network isolation — the decision to cut a business system off has to be made in advance, by someone with the authority to make it.
Source: MITRE ATT&CK (TA0011).
Practice it in a lab
Free, hands-on labs that teach Command and Control.
- Characterize a RAT's command-and-control: persistence, DNS, HTTP, and connection pattern (intermediate, ~45 min)
- Detect DNS-over-HTTPS command-and-control tunneling (advanced, ~55 min)
- Block now or watch first? Decide what to do about a live C2 domain by measuring the intelligence you gain and the damage you risk (intermediate, ~60 min)
- Hunt anomalous named pipes in Sysmon pipe events (Event ID 17/18) (advanced, ~90 min)
- Spot a domain generation algorithm: the DNS pattern that reveals resilient C2 (advanced, ~50 min)
Related terms
Related
- Characterize a RAT's command-and-control: persistence, DNS, HTTP, and connection pattern
- Detect DNS-over-HTTPS command-and-control tunneling
- Block now or watch first? Decide what to do about a live C2 domain by measuring the intelligence you gain and the damage you risk
- Hunt anomalous named pipes in Sysmon pipe events (Event ID 17/18)
- Spot a domain generation algorithm: the DNS pattern that reveals resilient C2
- MITRE ATT&CK
- Domain Generation Algorithms
- Exfiltration
- False positive
- Cybersecurity glossary
- Free cyber labs