What is command and control (C2)?
Command and control (C2) is the channel attackers use to send instructions to compromised systems and receive data, often hidden in normal traffic.
Definition
Command and control (C2)
Also called C2, C&C, Beaconing, TA0011
Command and control (C2) is the communication channel attackers use to send instructions to systems they have compromised and receive results, usually disguised to look like normal network traffic.
How it works
MITRE ATT&CK describes command and control (tactic TA0011) as techniques adversaries use to communicate with systems under their control inside a victim network. Adversaries commonly try to mimic normal, expected traffic to avoid detection, with varying levels of stealth depending on the victim's network and defenses.
Malware on a compromised host, often called an implant or agent, typically "beacons": it checks in with the attacker's server on a schedule, picks up commands, and returns results. To blend in, most C2 rides on application layer protocols (T1071), embedding commands and output in web, file transfer, email, DNS, or publish/subscribe traffic. Inside a network, a pivot host may relay commands over SMB, SSH, or RDP. DNS (T1071.004) is a favorite because it's everywhere and often allowed even before network authentication; data can be hidden in many DNS fields, and MITRE notes that DNS beacons can be hard to detect because they communicate infrequently.
Example
A workstation queries long, random-looking subdomains of one obscure domain every few minutes, receiving TXT records in reply, around the clock. No user browses like that. The pattern points to a DNS tunnel. Blocking the domain cuts the channel, and searching DNS logs for the same domain finds every other infected host.
Why it matters for a SOC
C2 is the attacker's lifeline: cut it and a remote operator loses control of the hosts. It is also one of the most common sources of indicators of compromise, such as C2 domains, IP addresses, and TLS certificate fingerprints, which threat intelligence feeds distribute. Because attackers rotate infrastructure quickly, behavioral detections hold up better: regular beaconing intervals, rare destinations contacted by a single host, unusual DNS query lengths or volumes, and processes that shouldn't be making network connections at all.
Related terms
- Indicators of compromiseIndicators of compromise (IOCs) are technical artifacts, such as file hashes, IP addresses, domain names, and URLs, that suggest an attack is underway or that a system has already been compromised.
- Data exfiltrationData exfiltration is the unauthorized transfer of data out of an organization's environment, whether by an external attacker or an insider, typically disguised as normal traffic or sent to services the organization already uses.
- MITRE ATT&CKMITRE ATT&CK is a free, publicly maintained knowledge base that catalogs the tactics and techniques attackers use against real systems, based on observed intrusions, and gives defenders a shared vocabulary for detection and threat intelligence.
- Cyber kill chainThe cyber kill chain is a model, published by Lockheed Martin researchers, that breaks an intrusion into seven sequential phases so defenders can detect and interrupt an attacker at any step before they reach their objective.
- Threat intelligenceThreat intelligence is information about threats and threat actors that has been collected, analyzed, and enriched with context so defenders can make decisions, such as what to detect, hunt for, patch, or block.
Sources
- Command and Control, Tactic TA0011 - Enterprise | MITRE ATT&CK · accessed November 16, 2026
- Application Layer Protocol, Technique T1071 - Enterprise | MITRE ATT&CK · accessed November 16, 2026
- Application Layer Protocol: DNS, Sub-technique T1071.004 - Enterprise | MITRE ATT&CK · accessed November 16, 2026
