Hakai
- Type
- Botnet
- Capabilities
- Initial accessScanningBrute forceDDOS
- Platforms
- Network deviceIOT
Hakai is an Internet-of-Things botnet derived from the leaked Gafgyt codebase, also known as Bashlite. It compromises routers and other embedded devices to recruit them into a distributed denial-of-service botnet. Its propagation combines Telnet scanning and credential brute forcing against default or weak passwords with exploitation of remote command-execution vulnerabilities.
Hakai exploits vulnerabilities affecting Huawei routers, including CVE-2017-17215; D-Link devices exposing the Home Network Administration Protocol, including CVE-2015-2051; and devices using vulnerable Realtek SDK versions, including CVE-2014-8361. Exploit-bearing samples also target Netgear and Eir routers, surveillance recording devices, and vulnerable ThinkPHP installations. Later samples added an operating-system command-injection exploit against D-Link DSL-2750B routers. Infected devices communicate with command-and-control infrastructure, while payload-hosting infrastructure supplies malware for additional infections.
Hakai activity has included substantial growth in Latin America. Related variants named Kenjiro and Izuku have also circulated. Separate Bashlite campaigns have used embedded droppers designed to retrieve and execute Hakai.
Associated vulnerabilities
7 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Techniques & procedures
2 distinct techniques documented for this family, organized by ATT&CK tactic.
Command and Control
2 techniques
Command and Control
As part of its command-and-control (C&C) communication, the binary dropper connects to 178[.]128[.]185[.]250/hakai[.]x86. It also connects to 185[.]244[.]25[.]213:3437 for Bashlite’s backdoor routines.
It will then send a dropper binary (XORred, with key=0x54) to the vulnerable machine.
Observables
18 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.