Gafgyt/Bashlite Variants Reuse Mirai Code to Expand IoT DDoS Botnets
Malware Intelligence · 5 sources · Updated 4mo ago · First seen Aug 14, 2026

Researchers reported that multiple Gafgyt/Bashlite variants targeting IoT devices are reusing leaked Mirai source code while continuing to evolve their infection and attack capabilities. Analyses found shared modules for HTTP, UDP, and TCP flooding, a telnet brute-force scanner, and other botnet functions, alongside exploitation of known router flaws including CVE-2017-17215, CVE-2014-8361, and CVE-2018-10561. Separate reporting also described campaigns abusing exposed SSH, Telnet, and WeMo UPnP services to drop first-stage shell scripts and architecture-specific ELF payloads that conscript devices into distributed denial-of-service operations.
Recent samples show operators tailoring payloads for stealth and persistence after compromise. One analyzed ELF binary, packed with UPX and masquerading as /usr/bin/apt, was observed beaconing to 45.61.186.4:13561, killing rival malware, flushing iptables, stopping local firewall services, clearing shell history, and altering DNS settings before accepting commands for TCP, UDP, GRE, ICMP, HTTP, and game-server-focused floods. Other reports noted process renaming, heavy forking, changing filenames and infrastructure, and added backdoor or cryptomining functions, indicating that Gafgyt operators are using modular, frequently modified malware to evade detection and sustain IoT-focused DDoS campaigns.
Why it matters
Impact assessment
Gafgyt/Bashlite variants continue to pose a material risk to organizations operating internet-exposed IoT and embedded Linux devices, especially routers, cameras, DVRs, GPON equipment, WeMo devices, and BusyBox-based systems. The primary impact is operational disruption through DDoS botnet enrollment, with secondary risk from backdoor access, cryptomining, malware competition-killing, and local defense impairment on compromised devices.
This activity is broad rather than narrowly targeted because it relies on exposed SSH, Telnet, UPnP, and known router vulnerabilities plus default credentials. Multiple references describe real-world campaigns and detections in the wild, including active infrastructure rotation, indicating sustained exploitation rather than purely theoretical exposure.
Affected populations
- Enterprises, ISPs, OT environments, and consumers with exposed IoT or embedded Linux devices
- Products and device classes mentioned:
- Huawei routers
- Realtek routers
- GPON home routers
- ASUS devices
- Belkin WeMo devices exposing UPnP APIs
- BusyBox-based IoT systems
- Routers, cameras, DVRs, and management interfaces reachable over Telnet or SSH
Severity and business impact
- Primary impact: devices conscripted into DDoS botnets
- Operational impact: bandwidth exhaustion, service instability, degraded internet connectivity, and potential collateral blocking of enterprise IP space
- Security impact: persistent unauthorized access, arbitrary command execution, malware staging, DNS tampering, firewall disablement, and process killing
- Financial/reputational impact: outage costs, incident response effort, customer-facing disruption, and possible abuse complaints from downstream victims
Scope and exploitation status
- Scope is widespread due to commodity botnet code reuse, default credential abuse, and exploitation of long-known IoT flaws
- Exploitation in the wild is documented across multiple campaigns and years
- Trend Micro reported detections across Taiwan, the United States, Thailand, Malaysia, Japan, and Canada
- Operators were observed rotating binaries, filenames, and C2 infrastructure rapidly, increasing campaign resilience


