New 'HEH' Botnet Targets Exposed Telnet Services
Latest threat is one in a growing list of malware developed in the Go programming language.
October 7, 2020
![](https://eu-images.contentstack.com/v3/assets/blt6d90778a997de1cd/bltc94608acf452fd67/655cf371ab171e040a838b2a/329050_DR23_Graphics_Website_V5_Default_Image_v1.png?width=1280&auto=webp&quality=95&format=jpg&disable=upscale)
A potentially destructive peer-to-peer (P2P) botnet has surfaced and is targeting a broad variety of Internet of Things (IoT) devices with exposed or weakly protected telnet services.
Researchers at China-based 360NetLab, who recently discovered the so-called HEH botnet this week, described the malware as capable of wiping all data from infected systems. According to the security vendor, the botnet poses a threat to any device with an exposed telnet service regardless of whether the device is based on x86, ARM, MIPS, PPC, or any other chip architecture.
The malware has been observed spreading via brute-force attacks against servers, routers, and other Internet-connected systems with exposed SSH ports 23 and 2323. The bot — like a growing number of malware tools — is written in GO code. It uses a proprietary P2P protocol to communicate with other infected devices and receive commands. The malware packs three separate components: a P2P module, a module for propagation, and a local HTTP service.
The bot samples 360NetLab analyzed were downloaded and executed via a malicious Shell script. The malicious code does not make any attempt to enumerate the environment it is on. Instead, it just downloads and executes malicious programs for a variety of different CPU architectures one after the other, 360NetLab said. The script and binaries the security vendor analyzed were hosted on a legitimate but likely compromised website.
Once started, the malware kills off multiple services on the infected device depending on the port (23 or 2323) that was used to gain access. Then it starts an HTTP server that initially pulls up a copy of the "Universal Declaration of Human Rights" in Chinese and seven other languages. This initial content is quickly overwritten with data pulled from another infected peer on the botnet, 360NetLab said.
According to the vendor, a self-destruct function in the malware is especially noteworthy. "When the Bot receives a [command] with code number 8, the Bot will try to wipe out everything on all the disks" through a series of Shell commands," the vendor said.
360NetLab's report did not offer insight into whether the HEH botnet would be used to launch distributed denial-of-service (DDoS) attacks, distribute spam and malware, or for other purposes. For the moment, at least, the botnet's attack function has not been implemented, which suggests the HEH botnet is still in development, the security vendor said.
An Ongoing Trend
The HEH bot is part of a growing number of SSH-targeting malware tools written in the Go programming language that have been observed lately. They represent a shift from older IoT malware like Mirai that were developed C or other programming languages like Perl and C++. This year alone, multiple vendors and researchers have reported IoT bots written in Go, including Kaiji, IRCflu, and more recently FritzFrog, a peer-to-peer botnet that has been actively compromising SSH servers since the beginning of this year.
Craig Young, computer security researcher at Tripwire's vulnerability and exposure research team, says the growing popularity of Go among threat actors in interesting. The HEH botnet is one in a series of Go-language-based botnets that appear to be coming out of a small group of malware developers. It suggests either a new generation of malware authors or a new wave of capabilities.
"Go is a very powerful programming language with a wide library of community supported modules," Young says.
Go enables developers to manipulate very low-level behaviors, he notes.
"Malware authors may leverage this to thwart analysis attempts by using custom variations of compression or encryption algorithms," he says.
While malware developed in Go does not necessarily complicate defenses for organizations, it does require them to update their toolkits in some circumstances, Young noted.
The HEH botnet poses little risk to organizations in its current form. For the moment, the malware has only been observed targeting exposed telnet services, which no responsible organization should have, he says.
"For most organizations, the threat of this botnet at this time is minimal, but it could certainly evolve," Young says. "An update to the malware can be pushed out at any moment to introduce new attack and propagation techniques."
About the Author
You May Also Like
Catch the Threat Before it Catches you: Proactive Ransomware Defense
September 5, 2024How to Evaluate Hybrid-Cloud Network Policies and Enhance Security
September 18, 2024DORA and PCI DSS 4.0: Scale Your Mainframe Security Strategy Among Evolving Regulations
September 26, 2024Harnessing the Power of Automation to Boost Enterprise Cybersecurity
October 3, 2024
[Virtual Event] The Essential Guide to Cloud Management
October 17, 2024Black Hat Europe - December 9-12 - Learn More
December 10, 2024SecTor - Canada's IT Security Conference Oct 22-24 - Learn More
October 22, 2024