Command and Control
Also called C2, C&C.
The channel an attacker uses to control compromised hosts.
What it is
Command and control is the infrastructure and communication channel adversaries use to issue commands to, and receive data from, compromised systems.
Why it matters
Cutting off C2 is a core containment goal; without it, implants go inert. Identifying C2 domains and IPs also yields indicators to hunt across the environment.
In practice
Blocking a newly identified C2 domain at the firewall to sever an active intrusion's control channel.
What to look for
- Outbound traffic to new or rare domains and IPs.
- Protocols on ports that do not usually carry them.
- Long-lived sessions or steady beacons from one host.
Common mistake
Blocking the first C2 address and moving on. Most implants carry fallbacks; find the mechanism, not just the address.
Use it in CyberKit
In the field
Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.
-
Wireshark Open source
Opens a capture packet by packet so you can see exactly what crossed the wire. Our notes.
-
Zeek Open source
Turns traffic into structured logs for connections, DNS, HTTP, TLS and more. Our notes.
-
Suricata Open source
An IDS that alerts on known patterns and logs protocol metadata alongside. Our notes.
-
Arkime Open source
Indexes full packet capture at scale so you can search and pull sessions later. Our notes.
ATT&CK techniques
- T1071: Application Layer Protocol
Read next
- Beaconing: Malware 'phoning home' on a regular interval.
- DNS Tunneling: Smuggling data or C2 inside DNS queries and responses.
- Data Exfiltration: Stealing data out of a network to attacker-controlled systems.