GSocket Abuse: Hackers Plant Backdoors on Linux Servers
November 12, 2026
Multiple threat actors are abusing GSocket, a legitimate open-source remote access tool, to maintain persistent access to compromised Linux servers even after the original vulnerabilities used to gain entry have been patched. Microsoft Defender for Endpoint telemetry shows a 356.2% increase in malicious GSocket detections between March and August 2026.
GSocket works by intercepting network connections and replacing conventional IP-layer communication with its own transport layer, routing traffic through the Global Socket Relay Network. Both the compromised server and the attacker initiate outbound connections to the relay, which matches them and brokers an end-to-end encrypted session. The server needs no inbound listener, no public IP address, and network address translation does not block the connection.
This architecture defeats traditional defenses. Inbound firewall rules see nothing because there is no inbound connection. IP-based access control lists are useless because the attacker never needs the server's IP or hostname. There is no dedicated command-and-control server to take down or block.
Of the detected incidents, 87.1% targeted web applications and hosting environments. PHP web apps and cPanel hosting accounted for 63.9% of targets, with Apache making up another 24.3%. Attackers disguised GSocket processes as kernel threads and established persistence through cron jobs, systemd services, and shell startup files. In some cases, they attempted to exploit the "Dirty Frag" Linux kernel flaw (CVE-2026-43284) to escalate to root.
The primary targets were in education and research, followed by technology and communications, manufacturing, and government.
Microsoft recommends that administrators remove GSocket and associated files from potentially impacted servers, verify that outbound connections to the relay network have stopped, restrict outbound traffic to predetermined destinations, and audit cron jobs, systemd services, and shell startup files for rogue additions. Keeping the OS and applications patched, including CVE-2026-43284, remains the baseline defense.
The takeaway for anyone running Linux servers: egress filtering matters. If your monitoring only watches what comes in, you are watching the wrong direction.
Sources: [1] BleepingComputer, Bill Toulas, November 12, 2026