Skip to main content
Mallory
MalwareExploits 5 CVEs

GSocket

GSocket is the Global Socket Toolkit, a peer-to-peer proxying and tunneling/backdoor utility that enables TCP connectivity through NAT and firewalls using end-to-end encryption and a relay network (GSRN). In the provided reporting it is repeatedly used post-compromise on Linux and server targets to establish persistent, covert remote access and encrypted communications, often masquerading as kernel-like processes.

Observed malicious use cases include deployment on compromised Adobe Commerce/Magento servers following exploitation of CosmicSting (CVE-2024-34102), sometimes chained with CNEXT (CVE-2024-2961), where attackers dropped ~/.config/htop/defunct and ~/.config/htop/defunct.dat, used the secret in defunct.dat with the -k option, and launched gsocket with -liqD to provide a quiet interactive daemonized shell. Persistence was maintained via cron, and observed masqueraded process names included [raid5wq], [kswapd0], [slub_flushwq], [card0-crtc8], and [netns]. In that campaign, GSocket was used to maintain covert access while attackers injected JavaScript into Magento store headers to steal payment data via attacker-controlled WebSocket infrastructure. Reported related IOCs include file paths .config/htop/defunct and .config/htop/defunct.dat and IPs 5.231.182.98, 45.10.160.45, and 193.93.193.74.

Cisco Talos also observed gsocket in post-compromise activity against unpatched Cisco Catalyst SD-WAN Manager environments during exploitation of CVE-2026-20133, CVE-2026-20128, and CVE-2026-20122. In one cluster, attackers deployed gsocket using a Base58-decoded peer ID from defunct.dat alongside an XMRig Monero miner activated through the .profile file.

Elastic Security Labs reported attackers using GSOCKET for encrypted communications in a March 2024 Linux server campaign that exploited Apache2 for arbitrary code execution and deployed KAIJI and RUDEDEVIL/LUFICER; GSOCKET-related processes were disguised as kernel processes, with persistence also maintained through cron jobs, PHP payloads, and systemd services. Cyble additionally reported ShadowHS abusing GSocket user-space tunnels (gs-dbus and gs-netcat) to replace rsync transport for covert staging and exfiltration, routing through a hardcoded rendezvous endpoint 62.171.153[.]47. Separate reporting also states attackers install a GSocket backdoor on compromised WordPress/PHP servers used to host gambling content, and that the technique is commonly abused by threat actors leveraging The Hacker’s Choice toolkit.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

EXPLOITED CVES

Vulnerabilities exploited

5 CVEs Mallory has correlated with this family across public research and vendor advisories. Each row links to the full Mallory page for that vulnerability.

5 CVES
CVE-2024-2961CNEXT / glibc iconv() buffer overflow in ISO-2022-CN-EXT conversionExploited in the wild

The binary file dropped in ~/.config/htop/defunct is identified as gsocket. The Global Socket Toolkit facilitates peer-to-peer TCP connections, even through NAT/Firewalls, using end-to-end encryption and a relay network.

via sansecsansec.io
CVE-2024-34102CosmicStingExploited in the wild

The binary file dropped in ~/.config/htop/defunct is identified as gsocket. The Global Socket Toolkit facilitates peer-to-peer TCP connections, even through NAT/Firewalls, using end-to-end encryption and a relay network.

via sansecsansec.io
CVE-2026-20122Arbitrary File Overwrite in Cisco Catalyst SD-WAN Manager APIExploited in the wild

Cisco Talos said it observed multiple threat clusters exploiting CVE-2026-20133, CVE-2026-20128, and CVE-2026-20122 beginning March 2026. The three vulnerabilities, when chained together, can allow a remote unauthenticated attacker to gain unauthorized access to the device. They were added to the CISA's KEV catalog last month. The activity has been found to leverage publicly available proof-of-concept exploit code to deploy web shells on hacked systems.

via the hacker newsthehackernews.com
CVE-2026-20128Credential Disclosure in Cisco Catalyst SD-WAN Manager Data Collection AgentExploited in the wild

Cisco Talos said it observed multiple threat clusters exploiting CVE-2026-20133, CVE-2026-20128, and CVE-2026-20122 beginning March 2026. The three vulnerabilities, when chained together, can allow a remote unauthenticated attacker to gain unauthorized access to the device. They were added to the CISA's KEV catalog last month. The activity has been found to leverage publicly available proof-of-concept exploit code to deploy web shells on hacked systems.

via the hacker newsthehackernews.com
CVE-2026-20133Sensitive Information Exposure in Cisco Catalyst SD-WAN ManagerExploited in the wild

Cisco Talos said it observed multiple threat clusters exploiting CVE-2026-20133, CVE-2026-20128, and CVE-2026-20122 beginning March 2026. The three vulnerabilities, when chained together, can allow a remote unauthenticated attacker to gain unauthorized access to the device. They were added to the CISA's KEV catalog last month. The activity has been found to leverage publicly available proof-of-concept exploit code to deploy web shells on hacked systems.

via the hacker newsthehackernews.com
MITRE ATT&CK

Techniques & procedures

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

Initial Access

1 technique
T1133External Remote ServicesEvidence2

The end goal of the compromises is to establish persistent, covert access on the host via GSocket ...

Execution

1 technique
T1053.003CronEvidence1

Afterwards, the following entry is added to the system's crontab... This crontab entry, which runs hourly, decodes to... This script ensures the defunct process is always running, masquerading as a kernel thread named [raid5wq].

Persistence

2 techniques
T1053.003CronEvidence1

Afterwards, the following entry is added to the system's crontab... This crontab entry, which runs hourly, decodes to... This script ensures the defunct process is always running, masquerading as a kernel thread named [raid5wq].

T1133External Remote ServicesEvidence2

The end goal of the compromises is to establish persistent, covert access on the host via GSocket ...

Privilege Escalation

1 technique
T1053.003CronEvidence1

Afterwards, the following entry is added to the system's crontab... This crontab entry, which runs hourly, decodes to... This script ensures the defunct process is always running, masquerading as a kernel thread named [raid5wq].

Stealth

2 techniques
T1036MasqueradingEvidence3

This script ensures the defunct process is always running, masquerading as a kernel thread named [raid5wq]. Observed process names include [kswapd0], [slub_flushwq], [card0-crtc8], [netns] and others.

T1036.005Match Legitimate Resource Name or LocationEvidence1

Leveraging the exec -a command, any process can be spawned with a name of the attacker’s choosing. Kernel process masquerading can be detected through the following detection query...

Lateral Movement

2 techniques
T1021.004SSHEvidence1

SSH from Workstation B to Workstation A through any firewall/NAT $ gsocket /usr/sbin/sshd # Workstation A $ gsocket ssh root@gsocket # Workstation B

T1210Exploitation of Remote ServicesEvidence1

Talos is also aware of the widespread in-the-wild active exploitation of three vulnerabilities in unpatched Cisco Catalyst SD-WAN Manager infrastructure (CVE-2026-20133, CVE-2026-20128, and CVE-2026-20122) that, when chained together, can allow a remote unauthenticated attacker to gain access to the device.

Command and Control

5 techniques
T1071Application Layer ProtocolEvidence1

The filename was “systemd-resolved” and the agent’s command and control (C2) is “194[.]163[.]175[.]135:4445” ... The Sliver sample’s C2 is “mtls://23.27.143[.]170:443” ... an RSA public key to be used by the agent to communicate with the C2 hosted on “hxxp://13[.]62[.]52[.]206:5004”.

T1090ProxyEvidence3

Access entirety of Workstation A's private LAN (Sock4/4a/5 proxy) $ gs-netcat -l -S # Workstation A (EXIT) $ gs-netcat -p 1080 # Workstation B

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

Once the attackers gain a foothold, they first drop two malicious files in ~/.config/htop named defunct and defunct.dat... The binary file dropped in ~/.config/htop/defunct is identified as gsocket.

T1573Encrypted ChannelEvidence1

The attackers utilized GSOCKET for encrypted communication, disguised as kernel processes.

INDICATORS OF COMPROMISE

IOCs tracked for this family

3 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.

View more in app
Hashes
3 tracked

File hashes (MD5, SHA-1, SHA-256) from samples and reports.

TypeValueLatest sighting
hash.sha256●●●●●●●●●●●●View more in app26 days ago
hash.sha256●●●●●●●●●●●●View more in app26 days ago
hash.sha256●●●●●●●●●●●●View more in app26 days ago
What this page doesn’t show

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 matching3

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities5

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping11

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.