Command-and-control, often shortened to C2, is the communication channel attackers use to send instructions to compromised devices and to collect results back from them. Once malware is installed, the infected system may “phone home” to a server, domain, or relay controlled by the attacker. Through that channel, the operator can push new commands, exfiltrate data, update payloads, or coordinate a wider campaign.
C2 matters because it turns a single infected host into a managed asset. In phishing and malware operations, defenders often look for unusual DNS queries, beaconing patterns, encrypted traffic to suspicious servers, or repeated connections at regular intervals. Blocking, sinkholing, or taking down C2 infrastructure can disrupt active attacks and reveal indicators for hunting and incident response. Good defenses also include endpoint detection, egress filtering, DNS monitoring, and logging that can tie infected systems to their control servers.


