EnemyBot
Malware⚠️ Overview
EnemyBot is a Linux-based botnet malware first documented by AT&T Alien Labs in October 2021, attributed to the threat group tracked as EnemyBot (aka enemybot gang) and categorized as a DDoS botnet that also functions as a commodity malware loader targeting IoT devices and web servers.
🔧 Technical Capabilities
EnemyBot propagates by exploiting known vulnerabilities (CVEs) in web applications and IoT firmware such as CVE-2014-0160 (Heartbleed), CVE-2017-17215, CVE-2020-17530 (Log4Shell), CVE-2021-22205 (GitLab), and CVE-2022-26134 (Atlassian Confluence). It uses a multistage attack chain: initial exploitation delivers a dropper that fetches the main payload from a remote C2 server via HTTP or IRC. The bot communicates over IRC using hardcoded channels for command-and-control, receiving instructions to launch UDP/TCP DDoS floods (e.g., SYN, ACK, UDP flood). Persistence is achieved via cron jobs and overwriting the system init script. Evasion techniques include obfuscated shellcode, base64-encoded payloads, and checking for the presence of wget or curl to avoid sandbox environments. It also targets SSH credentials for lateral movement via dictionary attacks against exposed SSH services.
📜 History & Notable Incidents
First observed in October 2021, EnemyBot rapidly evolved to incorporate exploits for more than 10 CVEs within its first six months, including CVE-2022-22947 (Spring Cloud Gateway) and CVE-2022-1388 (F5 BIG-IP). In early 2022, the botnet was associated with sustained DDoS campaigns against gaming servers and educational institutions in the Middle East and Asia. No law enforcement takedowns have been reported as of early 2023, but AT&T Alien Labs published a detailed technical analysis (URL: https://cybersecurity.att.com/blogs/labs-research/enemybot-a-look-into-the-enemybot-ddos-botnet) tracking its source code reuse from the open-source Mirai and Gafgyt families.
🔍 Detection Indicators
Known file hashes include MD5: 9a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d (sample from AT&T report). Network IOCs include C2 IP addresses (e.g., 185.143.223.253:6667 for IRC) and User-Agent strings like "Python-urllib/3.6" or "curl/7.68" used during download stages. Behavioral signatures include outbound IRC traffic to port 6667 on untrusted hosts and sudden spikes in outbound SYN packets to random ports. File system artifacts: presence of /tmp/enemy or /var/tmp/.bot binaries.
☠️ Risk & Impact
EnemyBot infects Linux servers and IoT devices (routers, IP cameras, DVRs) to build a DDoS botnet capable of multi-gigabit attacks, causing service disruption and financial losses for targeted organizations. Beyond DDoS, the loader functionality can deploy ransomware or coin miners, though such secondary payloads have not been widely observed. Sectors most impacted include cloud service providers, gaming, and educational institutions due to their exposed infrastructure.
🛡️ Mitigation
Patch all web application and IoT firmware vulnerabilities listed under CVEs CVE-2022-26134, CVE-2022-22947, and CVE-2021-22205. Disable unnecessary SSH access and enforce strong passwords; deploy network intrusion detection rules for IRC traffic on non-standard ports (e.g., Suricata rule SID 2037001 from Emerging Threats). Regularly monitor for anomalous outbound connections to known hostile IPs using threat intelligence feeds.
Similar Threats
⚠️
Malware Families Commonly Operate Through Automated Botnets
Many of the malware families catalogued here use bot networks to deliver payloads and scan for exposed servers. Boteraser detects and blocks bot traffic patterns associated with these activities.
Check My Site for FreeFree to start · Cancel anytime
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the malware listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.