Gafgyt Variant C0XMO Exploits DD-WRT Flaw for Cross-Platform Botnet Propagation
Malware Intelligence · 11 sources · Updated 4mo ago · First seen Jun 3, 2026

Researchers reported a new Gafgyt botnet variant, C0XMO, exploiting CVE-2021-27137, a stack buffer overflow in the UPnP service of vulnerable DD-WRT firmware, to compromise internet-exposed devices. The malware was observed in March targeting a Japanese technology company, with exploitation triggered through malicious SSDP M-SEARCH requests to UDP port 1900. After compromise, C0XMO drops files into /tmp/.cache, establishes persistence through hidden copies, cron jobs, shell profile changes, and self-reexecution, and removes competing malware and rival persistence mechanisms.
C0XMO expands on earlier Gafgyt activity with a modular design that separates scanning and lateral movement into a standalone Python script, improving propagation across mixed Linux environments and CPU architectures. Researchers said the malware supports multiple Linux builds, connects to a command-and-control server at 85[.]215[.]131[.]70 using a custom handshake, and can execute heartbeat, scanning, and 19 DDoS attack methods. Its scanner, retrieved from 217[.]160[.]125[.]125:15527, performs random internet scanning, brute-forces Telnet and SSH, exploits multiple HTTP flaws, and abuses exposed ADB services to deploy architecture-specific payloads, indicating broad cross-platform botnet expansion.
Why it matters
Impact assessment
C0XMO is an actively observed Gafgyt-derived botnet targeting internet-exposed DD-WRT routers and other Linux- and Android-based devices, with elevated risk for home offices, small businesses, unmanaged IoT, and edge/network infrastructure. Impact is high because successful compromise enables persistent device takeover, botnet enrollment, lateral propagation, and use in DDoS attacks, with at least one observed incident targeting a Japanese technology company.
Business impact summary
The exposure is broader than a single product flaw because operators use CVE-2021-27137 as an initial foothold and then expand through brute-force and additional exploits across heterogeneous devices. Organizations with exposed routers, DVRs, ADB-enabled devices, weak SSH/Telnet credentials, or legacy embedded systems face operational disruption, bandwidth abuse, reputational risk, and potential service degradation from botnet activity.
Affected populations
- Organizations using DD-WRT firmware before changeset 45723
- Home office and SMB environments with internet-exposed routers
- Enterprises with unmanaged IoT, DVRs, Android-based appliances, and embedded Linux devices
- Operators exposing Telnet, SSH, HTTP admin interfaces, ADB, or UDP 1900 to the internet
Severity and scope
- Severity: High for exposed vulnerable devices due to unauthenticated remote compromise and persistent botnet enrollment
- Scope: Broad and opportunistic, with global scanning and multi-architecture payload delivery
- Known exploitation: Yes; researchers observed active exploitation in March 2026 and a targeted incident involving a Japanese technology firm
Structured facts
- Malware family: Gafgyt
- Variant: C0XMO
- Initial observed victim sector: Technology
- Initial observed geography: Japan-based technology company
- Source infrastructure geolocation noted in reporting: Germany-based source IP observed in one incident
- Primary outcomes: device takeover, persistence, propagation, DDoS participation, removal of competing malware


