Skip to main content

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.

Glossary
Updated 1 min read

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.

Sources

  1. Command and Control, Tactic TA0011 - Enterprise | MITRE ATT&CK · accessed November 16, 2026
  2. Application Layer Protocol, Technique T1071 - Enterprise | MITRE ATT&CK · accessed November 16, 2026
  3. Application Layer Protocol: DNS, Sub-technique T1071.004 - Enterprise | MITRE ATT&CK · accessed November 16, 2026

Attackers are scaling with tokens

Cotool helps defenders operate at machine speed. See how security teams are scaling Detection & Response.

Book a demo