A command and control server, usually shortened to C2 or C&C, is the machine an attacker uses to talk to malware that is already running inside a victim network. The implant checks in, receives instructions, and reports results. Without that channel, most malware is a one-shot payload; with it, the attacker can browse files, move laterally, install more tools and wait for a good moment to act.
The beacon
The defining behaviour of modern C2 is the beacon: a small, repeating outbound request from the victim to the controller. Classic beacons were plain HTTP requests to a fixed address every few minutes. Current ones are far more variable: they sleep for randomised intervals, use HTTPS with a valid certificate, ride on legitimate services such as cloud storage, paste sites or messaging APIs, and sometimes switch to a different protocol if the first one is blocked. The regularity that makes a beacon easy to detect is also what attackers work hardest to break.
Common channel types
HTTP and HTTPS remain the most common because they blend into normal web traffic. DNS tunnelling encodes commands in lookups and survives networks that only allow DNS out. Raw TCP or custom binary protocols appear in ransomware tooling and in malware that assumes it can reach the internet freely. WebSocket and WebRTC channels show up in browser-based and fileless campaigns. A single campaign often runs several channels in parallel and falls back from one to another.
How C2 is detected
Detection works on three levels. Network level: repeated connections to one host on a schedule, unusual destination geographies, or domains registered days ago. DNS level: unusually long or high-entropy query names, high lookup volume to one authoritative server. Host level: a process that survives reboots and has no business making network connections. Threat-intelligence feeds add the last layer by publishing addresses and domains that are already known controllers, which is why a C2 hit on an IP is often the first hint an organisation gets.
What a C2 listing on your address means
There are three possibilities, and they must be told apart. The address is a controller: the machine is attacking others. The address is a victim that beacons out: something inside is compromised. Or the address is shared infrastructure, and the listing is collateral from another tenant. On hosting ranges the third case is common, so a report should always be read next to the hosting provider, the first-seen date and the associated malware family rather than treated as a verdict on the owner.
Reducing exposure
Block known controllers at the perimeter and at DNS, keep egress logging so a beacon can be found after the fact, and treat any host that resolves a known C2 domain as compromised until proven otherwise. Because controllers rotate addresses quickly, blocklists age fast: the useful signal is the domain and the traffic pattern, not a single IP.