New DDoS botnet “Enemybot” targets routers and web servers


A recently identified DDoS botnet has targeted multiple router models and various types of web servers by exploiting known vulnerabilities, Fortinet warns.

Dubbed Enemybot, the botnet appears to be the work of Keksec, an established cybercrime group that specializes in DDoS attacks and cryptocurrency mining.

The malware was built using source code from the Gafgyt (Bashlite) botnet – which leaked in 2015 – with some modules borrowed from the infamous Mirai botnet, including the scanner module and a bot killer module.

Enemybot uses several obfuscation techniques intended not only to prevent analysis, but also to hide it from other botnets, and connects to a command and control (C&C) server on the Tor network.

The new botnet targets many architectures used in Internet of Things (IoT) products and can also target x86, increasing its infection risks.

[ READ: Fast-Growing Golang-Based ‘Kraken’ Botnet Emerges ]

To spread, Enemybot attempts to compromise devices by using known combinations of usernames and passwords, executing shell commands on Android devices with an exposed Android Debug Bridge port (5555), and targeting approximately 20 known router vulnerabilities.

The most recent of the targeted security holes is CVE-2022-27226, a remote code execution issue affecting iRZ mobile routers, which was made public on March 19, 2022. Enemybot, Fortinet points out, is the first botnet to target devices. from this seller.

The threat also targets the now infamous Apache Log4j remote code execution vulnerabilities disclosed last year (CVE-2021-44228 and CVE-2021-45046), as well as some path traversal issues in the Apache HTTP server. (CVE-2021-41773 and CVE-2021-42013).

Enemybot also attempts to exploit vulnerabilities in TOTOLINK routers and Seowon routers, as well as older flaws in ThinkPHP routers, D-Link, NETGEAR products, Zhone routers, and ZyXEL devices.

[ READ: FBI Disables “Cyclops Blink” Botnet Controlled by Russian Intelligence Agency ]

Once a vulnerability has been successfully exploited, the malware runs a shell command to download a shell script from a URL dynamically updated by the C&C. The script is responsible for downloading the actual Enemybot binary compiled for the target device architecture.

After a successful infection, the malware connects to its C&C server and waits for instructions. Based on the commands received, it can perform DNS amplification attacks and various types of DDoS attacks, sniff traffic, and spread to other devices via brute force attacks.

“This mix of exploits targeting web servers and applications beyond typical IoT devices, coupled with the wide range of supported architectures, could be a sign that Keksec is testing the viability of expanding the botnet further. beyond low-resource IoT devices for more than just DDoS attacks. . Based on their previous botnet operations, using them for cryptomining is a big possibility,” Fortinet notes.

Related: Abcbot DDoS Botnet Linked to Old Cryptojacking Campaign

Related: Spring4Shell Vulnerability Exploited by Mirai Botnet

Related: Cyclops Linked To Russia Blink Botnet Attacking ASUS Routers

Ionut Argire is an international correspondent for SecurityWeek.

Previous columns by Ionut Arghire:


Comments are closed.