Site icon TheCyberThrone

Enemy Bot involved in DDoS Exortion

Botnet text on hex code illustration

Advertisements

Fortinet reseaechers have discovered a new DDoS botnet, dubbed Enemybot, that targetting routers and web servers by exploiting known vulnerabilities. This botnet attributed to cyber threat group Keksec involving DDoS based extortion

Upon installing the threat, the bot drops a file in /tmp/.pwned, containing a message that attributes itself to Keksec. The message was stored as cleartext in earlier samples, and encoded with an XOR operation using a multiple-byte key in new samples

The Enemybot botnet borrows the code from Gafgyt bot and re-uses certain codes from the Mirai botnet. 

Advertisements

It uses several methods of obfuscation for its strings to hinder analysis and hide itself from other botnets. Furthermore, it connects to a command-and-control (C2) server that is hidden in the Tor network, making its takedown more complicated. Enemybot has been seen targeting routers from Seowon Intech, D-Link, and exploits a recently reported iRZ router vulnerability to infect more devices.

Fortinet Statement

The botnet implements multiple obfuscation techniques to avoid detection and hides C2 on the Tor network. It uses a list of hardcoded username/password combinations to login into devices in the attempt to access systems using weak or default credentials. The bot also tries to run shell commands to infect misconfigured Android devices that expose Android Debug Bridge port (5555).

The malware exploits tens of known vulnerabilities including:

The bot runs a shell command to download a shell script from a URL that is dynamically updated by the C2 using the command  LDSERVER. Then the script downloads the actual Enemybot binary which is compiled for the target device’s architecture.

Once the bot has been installed on a device, it connects to its C2 server and waits for further commands

Advertisements

Indicators of Compromise

Download URLs

Exit mobile version