Command & Control
Command and Control is a set of techniques and technologies used by cybercriminals and advanced persistent threat groups to centrally control compromised systems and coordinate malicious activities.
Command and Control (C2) is a set of techniques and technologies used by cybercriminals and other advanced persistent threat (APT) groups to centrally control compromised systems and coordinate malicious activities. It allows attackers to manage and orchestrate their attacks effectively, while avoiding detection. It also represents the central point from which cybercriminals exert their control over compromised systems. Understanding how a C2 Command & Control infrastructure works is therefore essential to set up effective defense mechanisms against sophisticated cyber attacks.
Throughout the year, our analysts in the Threat Detection & Research team proactively track the Command and Control infrastructures (C2 servers) used by cybercriminals and other APTs to carry out their cyberattacks. This tracking – based on proactive analysis of more than 260 threats (OST servers, malware C2 servers, phishing clusters, delivery infrastructure) and other compromise vectors – allowed our CTI analysts to identify more than 85,000 IP addresses used as C2 servers in 2023. This represents an increase of more than 30% compared to 2022.
To read our annual report dedicated to the C2 infrastructures of the players we track and capitalize on in our SOC platform, click here:
Key features of a Command & Control (C2) infrastructure
Centralized Operations Management
Using a Command & Control server, attackers can centrally manage the conduct of malicious operations, such as deploying malware, collecting sensitive data, and manipulating compromised systems.
Data collection and exfiltration
The data collection and exfiltration capabilities of a C2 server allow attackers to steal sensitive information and transfer it to remote servers under their control, compromising data privacy.
Adaptability and resilience
Depending on the purpose and structure of the C2 infrastructure, cybercriminals can quickly change their strategies and tactics to bypass security defenses and maintain access to compromised systems.
Defense Mechanisms Against Attacks from C2 Servers
To face attackers, it is essential to have effective defense mechanisms in place, such as:
Improved knowledge of C2 infrastructures for early detection of signals of compromise
Early detection of signals of compromise, such as suspicious communications or anomalous system behavior, is critical to identifying and countering attacks before they cause significant damage. This is only possible when you have a better understanding of the attackers' malicious servers.
Behavioral analysis to spot malicious activity
Behavioral analysis of computer systems helps identify patterns of malicious behavior and take preventive measures to counter these activities.
Setting up firewalls and other security filters to block malicious traffic
Firewalls and security filters can be configured to block suspicious traffic and communications with malicious IP addresses, OST servers, and phishing clusters.
Use of advanced threat detection and response technologies
The use of advanced threat detection technologies, such as machine learning and behavioral analysis through an NDR solution, allows for the rapid detection and response of a C2 Command and Control server, thus strengthening the resilience of IT systems against attacks. For example, the XDR platform set up by Sekoia.io offers SOC teams three detection engines:
A correlation detection engine focused on detecting malicious behavior. Here, it is a question of taking advantage of the SIGMA language to express the expected properties around the collected events. These rules can also be combined using temporal or statistical operators to perform multi-event detection (e.g., detecting five authentication failures on the same username in five minutes).
A CTI detection engine to identify the presence of malicious activities on your IT system thanks to an actionable knowledge base.
An anomaly detection engine capable of identifying seemingly legitimate techniques that are unknown to the CTI knowledge base and that could fly under the radar of the behavioral detection engine.
Best Practices for Strengthening Protection Against C2 Server Attacks
To strengthen protection against C2-based attacks, it is recommended that you implement the following best practices:
Robust security policies in place
Having robust security policies in place, such as access and privilege management, segmentation, and continuous monitoring of the IT network, is essential to reduce the attack surface and limit the impact of attacks.
Staff training on suspicious signal detection
Educating and training staff on how to detect suspicious signals helps strengthen organizations' security posture by quickly identifying and reporting suspicious activity.
Use of advanced security solutions
The use of advanced security solutions, such as XDR threat detection tools, EDR, NDR, firewall, combined with contextualized and actionable cyber threat intelligence, makes it possible to strengthen the resilience of IT systems against attacks.
Conclusion
In cybersecurity, a Command & Control (C2) server allows cybercriminals to centrally coordinate and control their attacks. Understanding how it works, implementing effective defense mechanisms, and adopting good protection practices are essential to strengthen the security of IT systems against attacks. It is therefore essential for cybersecurity actors to adopt a proactive approach by keeping their knowledge of the attackers' activities up to date (modus operandi, C2 infrastructures, compromise vectors).
If you’d like to see an overview of how our SOC platform can be used, click here.


