Skip to main content
Mallory
Malware7 associated CVEs

Hakai

Tracked since Aug 14, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns7Associated
Actors0Associated
ATT&CK2Techniques
IOCs18Tracked
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.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Associated CVEs

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.

CVE-2015-2051via trend micro researchExploited in the wildHNAP SOAPAction Header Command Injection in D-Link DIR-645Home Network Administration Protocol (HNAP) SOAPAction-header command execution vulnerability that works on certain D-Link devices.View vulnerability →Source ↗
CVE-2017-17215via zdnet zero dayExploited in the wildRemote Command Injection in Huawei HG532 DeviceUpgrade Service“The first ever Hakai exploit attack was seen on July 21,” Anubhav told ZDNet. That exploit leveraged CVE-2017-17215, a vulnerability affecting Huawei HG352 routers, the researcher told us. | Tracked by the infosec community as Hakai ... this botnet was first spotted in June by security researchers from NewSky Security.View vulnerability →Source ↗
CVE-2017-18368via cujo blogUnauthenticated command injection in ZyXEL P660HN-T1AThe D-Link DSL-2750B remote code execution example contains the header User-Agent: Hakai/2.0.View vulnerability →Source ↗
CVE-2014-8361via cujo blogRealtek SDK miniigd UPnP SOAP Command InjectionThe D-Link DSL-2750B remote code execution example contains the header User-Agent: Hakai/2.0.View vulnerability →Source ↗
CVE-2018-20062via cujo blogRemote Code Execution in NoneCMS and ThinkPHPThe D-Link DSL-2750B remote code execution example contains the header User-Agent: Hakai/2.0.View vulnerability →Source ↗
CVE-2018-10562via paloalto researchcenter historicExploited in the wildCommand Injection in Dasan GPON Router DiagnosticsIn May 2018, the Omni botnet, a variant of Mirai, was found exploiting two vulnerabilities affecting Dasan GPON routers - CVE-2018-10561 (authentication bypass) and CVE-2018-1562 (command injection). The two vulnerabilities used in conjunction allow the execution of commands sent by an unauthenticated remote attacker to a vulnerable device.View vulnerability →Source ↗
CVE-2018-10561via paloalto researchcenter historicExploited in the wildAuthentication Bypass in Dasan GPON RoutersIn May 2018, the Omni botnet, a variant of Mirai, was found exploiting two vulnerabilities affecting Dasan GPON routers - CVE-2018-10561 (authentication bypass) and CVE-2018-1562/10562 (command injection). The two vulnerabilities used in conjunction allow the execution of commands sent by an unauthenticated remote attacker to a vulnerable device.View vulnerability →Source ↗
MITRE ATT&CK

Techniques & procedures

2 distinct techniques documented for this family, organized by ATT&CK tactic.

Command and Control

2 techniques
T1071Application Layer ProtocolEvidence2

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.

T1105Ingress Tool TransferEvidence2

It will then send a dropper binary (XORred, with key=0x54) to the vulnerable machine.

Indicators of compromise

Observables

18 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+5 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching18Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities7CVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping2Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.