GSocket remote access tool used to maintain persistent access to Linux servers
TL;DR
Threat actors are using the GSocket remote access tool to maintain persistent access to Linux servers. Because GSocket relies on outbound-only connections through a public relay network, attackers can reconnect to compromised hosts even after the original web vulnerabilities are patched.
What happened
Multiple threat actors are deploying GSocket, an open-source remote access tool, to establish persistent command-and-control channels on Linux systems. Unlike traditional reverse shells that connect to a specific attacker-controlled IP, GSocket uses the Global Socket Relay Network to bridge connections. This allows attackers to bypass inbound firewall rules and network address translation (NAT) by having both the victim and the attacker initiate outbound connections to the relay.
Microsoft Defender for Endpoint telemetry shows GSocket-related detections increased by 356.2% between March and August 2026. Attackers have been observed disguising GSocket as kernel threads and using cron jobs, systemd services, and shell startup files to ensure the tool survives reboots. In some instances, attackers attempted to exploit the "Dirty Frag" Linux kernel flaw, CVE-2026-43284, to escalate privileges to root.
Why it matters
GSocket effectively turns a single web application compromise into long-term access that survives standard remediation efforts. Because the tool uses a shared public relay, defenders cannot easily disrupt the attack by blocking specific IP addresses or domains. This makes traditional IP-based access control lists ineffective. The threat is particularly acute for web hosting environments, where a single unpatched vulnerability can lead to a permanent foothold that remains active even after the underlying application is updated.
Who is affected
- Linux servers
- PHP web applications
- cPanel hosting environments
- Apache web servers
- Education and research sector
- Technology and communications sector
- Manufacturing sector
- Government entities
What to do now
- Remove GSocket and all associated files from potentially impacted servers.
- Verify that all outbound connections to the Global Socket Relay Network have stopped.
- Audit cron jobs, systemd services, and shell startup files for rogue additions.
- Restrict outbound traffic to predetermined, known destinations using egress filtering.
- Patch the Linux kernel to remediate
CVE-2026-43284.
What we don't know yet
- The specific identity or number of threat actors using GSocket.
- The exact number of total victims globally.
- The specific root cause of the initial web application compromises.
Sources
- bleepingcomputer.comhttps://www.bleepingcomputer.com/news/security/hackers-plant-gsocket-on-linux-servers-for-persistent-access/
- microsoft.comhttps://www.microsoft.com/en-us/security/blog/2026/11/11/global-socket-how-threat-actors-weaponizing-gsocket-stealthy-c2/
- github.comhttp://github.com/hackerschoice/gsocket
