Mirai and Gafgyt Botnets Exploit Aging IoT Flaws and Rapidly Adopt New Vulnerabilities
Active Exploitation · 2 sources · Updated 2mo ago · First seen Dec 17, 2021

CUJO AI researchers collected 438 malicious scripts and 2,792 Linux ELF binaries during August–November 2021 monitoring of IoT botnets, with Mirai and Gafgyt variants predominating. Only 8% of the binaries contained vulnerability-exploitation functionality. Researchers identified 20 targeted vulnerabilities, characterized as command-injection flaws enabling remote code execution; most were several years old. The most frequently observed flaw, CVE-2017-17215 in Huawei routers, was commonly paired with CVE-2014-8361 in the Realtek SDK.
Alongside continued exploitation of older flaws, the Dark IoT Mirai variant incorporated CVE-2021-35395 within four days of its publication, demonstrating how quickly botnet operators could adopt newly disclosed vulnerabilities. The findings reinforce the need for strong device credentials, regular firmware updates, and rapid patching of internet-exposed IoT devices. The 8% figure does not represent the full role of exploits in infections: the analysis excluded exploitation performed before malware binaries were downloaded.
Why it matters
CUJO AI documented Mirai and Gafgyt infections affecting routers, cameras, recorders, NAS appliances, and other Linux-based IoT devices, primarily recruiting them for distributed denial-of-service attacks. Compromise can disrupt device availability, consume network capacity, and expose organizations to downstream abuse; additional samples included ransomware and cryptocurrency miners. These findings document exploitation during August–November 2021, not an active October 2026 campaign, but remain relevant to devices running vulnerable firmware or weak credentials.
- Exposure spans consumer, small-business, and enterprise-connected IoT across Huawei, Realtek-based products, D-Link, Netgear, Linksys, Zyxel, GPON equipment, and numerous CCTV/DVR vendors.
- CUJO AI collected 438 malicious scripts and 2,792 Linux ELF binaries from botnet-related download infrastructure observed in customer networks. These counts represent artifacts, not unique compromised devices.
- Most targeted vulnerabilities were several years old. Dark IoT also adopted CVE-2021-35395 within four days of publication, demonstrating a short remediation window for newly disclosed flaws.
- The reported 8% measures binaries containing exploit functionality. It does not measure the proportion of infections caused by exploitation because pre-download exploitation was excluded.


