Skip to main content
Mallory
Malware4 associated actors6 associated CVEs

GSocket

Tracked since Dec 2, 2025 · Updated today
Trending this week#16of 30,236 malware families
Mention activity · 30 days24 mentions · peak 8 in a dayToday
Vulns6Associated
Actors4Associated
ATT&CK39Techniques
IOCs30Tracked
Type
Backdoor
Capabilities
PersistencePost exploitationDefense evasion
Delivery
Clickfix
Platforms
LinuxmacOS

GSocket (Global Socket) is a legitimate open-source networking and remote-access utility widely abused as a backdoor on compromised Linux servers. It provides encrypted remote connectivity through the public Global Socket Relay Network, using outbound connections to traverse NAT and inbound firewall restrictions. Shared-secret-based reconnection enables operators to regain shell access without depending on attacker-owned relay infrastructure. Attackers deploy it after compromising internet-facing applications, allowing access to survive remediation of the original vulnerability unless the backdoor and its persistence mechanisms are also removed.

Malicious deployments establish persistence through shell startup configuration and scheduled jobs, disguise processes as kernel threads or system services, and conceal artifacts in shared memory. Some operators additionally use modified system utilities to hide GSocket processes and network connections. Its abuse spans unrelated intrusion operations, including LABRAT, Feral Wolf, ExCobalt-associated activity, and CL-UNK-1211. Affected environments include web-hosting infrastructure, government systems, and education and research organizations. A modified GSocket backdoor also provides persistence for the macOS-targeting ClickLock Stealer; the stealer's credential-collection capabilities are separate from GSocket's remote-access functionality.

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-43284via hawkeye blogDirty Frag: Linux xfrm/ESP Shared-Page CorruptionMultiple threat actors abuse GSocket, a legitimate open-source remote access tool, to keep persistent access to compromised Linux servers even after the entry vulnerabilities are patched.View vulnerability →Source ↗
CVE-2024-2961via sansecExploited in the wildCNEXTThe 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.View vulnerability →Source ↗
CVE-2024-34102via sansecExploited in the wildCosmicStingThe 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.View vulnerability →Source ↗
CVE-2026-20122via the hacker newsExploited in the wildAuthenticated Arbitrary File Overwrite in Cisco Catalyst SD-WAN Manager APICisco 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.View vulnerability →Source ↗
CVE-2026-20128via the hacker newsExploited in the wildCisco Catalyst SD-WAN Manager DCA Credential DisclosureCisco 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.View vulnerability →Source ↗
CVE-2026-20133via the hacker newsExploited in the wildSensitive Information Disclosure in Cisco Catalyst SD-WAN ManagerCisco 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.View vulnerability →Source ↗
Threat actors

Associated threat actors

4 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 →
CL-UNK-1211

“GSocket / gs-netcat (traversée NAT/firewall), stocké dans /dev/shm/.gs-10085/, déguisé en [kcached] et gs-dbus.”

via cyberveillecyberveille.ch
Shedding Zmiy

A malicious downloaded payload installed gsocket as /usr/bin/gs-dbus; another installation copied gs-netcat from /dev/shm.

via rt solarrt-solar.ru
ExCobalt

Modified ps and htop hide an active core process of the gsocket module and related processes in terminal output.

via ptsecurityptsecurity.com
Feral Wolf

The article's malware/tools list includes « GSocket (tool) ».

via cyberveillecyberveille.ch
MITRE ATT&CK

Techniques & procedures

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

Resource Development

1 technique
T1588.002ToolEvidence1

The attackers deployed or downloaded GSOCKET, pspy64, whatserver.sh, and likely Ligolo-ng.

Initial Access

2 techniques
T1133External Remote ServicesEvidence3

The third backdoor is by using a webshell of tmate[.]io... TeamTNT is utilizing this tool as a backdoor. The fourth backdoor is by utilizing a socket connected over HTTP service with Ngrok product.

T1190Exploit Public-Facing ApplicationEvidence1

Les acteurs exploitent des applications web exposées sur Internet (principalement PHP , cPanel , Apache ) via des vulnérabilités RCE

Execution

4 techniques
T1053Scheduled Task/JobEvidence2

Этот компонент предоставляет атакующим реверс-шелл и закрепляется через LaunchAgent, cron и конфигурационные шелл-файлы.

T1053.003CronEvidence5

Persistance via cron , systemd , profils shell, watchdogs et copies redondantes

T1059Command and Scripting InterpreterEvidence2

Feral Wolf used command execution within the compromised Confluence Docker container to deploy the GSocket utility.

T1059.004Unix ShellEvidence3

Après exécution de code, un script est téléchargé via curl depuis gsocket[.]io et exécuté avec bash

Persistence

7 techniques
T1053Scheduled Task/JobEvidence2

Этот компонент предоставляет атакующим реверс-шелл и закрепляется через LaunchAgent, cron и конфигурационные шелл-файлы.

T1053.003CronEvidence5

Persistance via cron , systemd , profils shell, watchdogs et copies redondantes

T1133External Remote ServicesEvidence3

The third backdoor is by using a webshell of tmate[.]io... TeamTNT is utilizing this tool as a backdoor. The fourth backdoor is by utilizing a socket connected over HTTP service with Ngrok product.

T1505Server Software ComponentEvidence1

To ensure their access survived server reboots, file deletions, or malware cleanups, they established an hourly cron job

T1543.001Launch AgentEvidence2

If the user cancels, the script writes two LaunchAgents and quits quietly. On the next login, one module kills every visible app every 210 milliseconds.

T1543.002Systemd ServiceEvidence1

T1543.002 — Create or Modify System Process: Systemd Service (Persistence)

T1546.004Unix Shell Configuration ModificationEvidence3

To ensure that GSocket starts automatically, the threat actor modified .profile.

Privilege Escalation

5 techniques
T1053Scheduled Task/JobEvidence2

Этот компонент предоставляет атакующим реверс-шелл и закрепляется через LaunchAgent, cron и конфигурационные шелл-файлы.

T1053.003CronEvidence5

Persistance via cron , systemd , profils shell, watchdogs et copies redondantes

T1543.001Launch AgentEvidence2

If the user cancels, the script writes two LaunchAgents and quits quietly. On the next login, one module kills every visible app every 210 milliseconds.

T1543.002Systemd ServiceEvidence1

T1543.002 — Create or Modify System Process: Systemd Service (Persistence)

T1546.004Unix Shell Configuration ModificationEvidence3

To ensure that GSocket starts automatically, the threat actor modified .profile.

Stealth

9 techniques
T1027Obfuscated Files or InformationEvidence1

RUDEDEVIL configuration blobs and custom apache2 strings are XOR-encoded; the GSOCKET cron payload is Base64-encoded.

T1036MasqueradingEvidence10

Noms de processus masqués imitant des threads kernel (ex: systemd-remount-d , [kaluad] )

T1036.004Masquerade Task or ServiceEvidence2

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

T1036.005Match Legitimate Resource Name or LocationEvidence2

On macOS, the binary is disguised as iCloud within ~/Library/Application Support/iCloudsync, with the process masquerading as SystemUIServerl.

T1070Indicator RemovalEvidence1

00.sh deletes log files and execution traces; downloaded l64 and l86 payloads are removed after execution.

T1070.004File DeletionEvidence1

Suppression des fichiers de staging et modification des timestamps ( timestomping )

T1070.006TimestompEvidence2

Suppression des fichiers de staging et modification des timestamps ( timestomping )

T1140Deobfuscate/Decode Files or InformationEvidence1

RUDEDEVIL decrypts its configuration blobs during execution, and GSOCKET's Base64 command is decoded before persistence execution.

T1564.001Hidden Files and DirectoriesEvidence3

Exécution depuis des répertoires cachés ( /dev/shm/.gs-0 , /tmp/.gsn_ora )

Discovery

3 techniques
T1016System Network Configuration DiscoveryEvidence1

public IP (via ifconfig.me)

T1033System Owner/User DiscoveryEvidence1

The script collects a system fingerprint including username

T1082System Information DiscoveryEvidence1

The script collects a system fingerprint including username, macOS version, CPU, RAM, disk size, and public IP

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.

Collection

1 technique
T1560Archive Collected DataEvidence1

allowing attackers to gain persistent remote access to compromised devices by compressing collected data into ZIP archives and exfiltrating it through the Telegram Bot API.

Command and Control

11 techniques
T1071Application Layer ProtocolEvidence3

Numerous new tools have been used to support command and control (C2) and stealth. These include publicly available tools like Nezha... and GSocket, which allows workstations on different private networks to connect and bypass firewalls.

T1071.001Web ProtocolsEvidence3

Payloads are transferred through HTTP wget/curl requests; the gambling automation script uses HTTP GET and POST requests; Telegram communication uses POST requests.

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

T1090.002External ProxyEvidence1

Les deux extrémités (hôte compromis et opérateur) se connectent en sortie vers le GSRN Aucune adresse IP ou domaine appartenant à l’acteur n’est nécessaire La reconnexion repose uniquement sur le secret partagé , livrable via Telegram, Discord ou webhook

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).

T1102Web ServiceEvidence1

GSOCKET supports Telegram webhooks, and a second-stage script sends command output to a Telegram chat bot.

T1105Ingress Tool TransferEvidence8

Après exécution de code, un script est téléchargé via curl depuis gsocket[.]io et exécuté avec bash

T1219Remote Access ToolsEvidence9

The fourth installed GSocket, an open-source reverse-shell tool reused with roughly 80% of its original code, disguised on macOS as an iCloud process.

T1572Protocol TunnelingEvidence2

revsocks (SOCKS5 reverse tunnel) ; GSocket / gs-netcat (traversée NAT/firewall)

T1573Encrypted ChannelEvidence1

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

T1573.001Symmetric CryptographyEvidence1

GSOCKET creates secure persistent connections through the Global Socket Relay Network and includes AES-256 encryption.

Exfiltration

2 techniques
T1041Exfiltration Over C2 ChannelEvidence1

This makes it look exactly like a native, essential Linux kernel thread, tricking system administrators into ignoring it while it keeps an encrypted outbound data tunnel open to the hacker's command center.

T1567Exfiltration Over Web ServiceEvidence1

immediately sends them to the attackers through Telegram... exfiltrating it through the Telegram Bot API.

Indicators of compromise

Observables

30 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

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

View more in app →
securitysenses blogNews · Nov 16, 2026November 16, 2026 Emerging Threats Weekly | SecuritySensesA networking utility abused to retain remote connectivity to compromised Linux servers, including after the vulnerabilities used for initial compromise have been patched.Read more ↗hawkeye blogNews · Nov 13, 2026Weekly Threat Landscape Digest - Week 46 - HawkEyeLegitimate software explicitly weaponized for persistent remote access and stealthy command-and-control on Linux servers. It relays outbound connections through the Global Socket Relay Network, uses shared secrets instead of fixed attacker addresses, disguises processes, persists across reboots, and stages files in memory-backed directories. Associated intrusion chains included privilege-escalation attempts using Dirty Frag; patching the initial entry vulnerability does not remove deployed clients or persistence.Read more ↗risky biz rssNews · Nov 13, 2026Chinese APT uses SS7, Diameter attacks to spy on targetsAn open-source remote access tool explicitly reported as being abused by attackers on compromised Linux servers.Read more ↗the hacker newsNews · Nov 12, 2026ThreatsDay: 59 Linux Kernel Bugs, Falcon Spyware, GSocket Backdoors + 17 More StoriesAn open-source remote access tool abused for persistent access to compromised Linux servers. Its shared public relay network means defenders cannot simply block an attacker-owned C2 domain or IP address. Related detections increased 356.2% from March through August 2026.Read more ↗
+30 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 matching30Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors4Groups 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 mapping39Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.