
GSocket: How Threat Actors Are Weaponizing an Open-Source Tool for Invisible, Persistent C2
Between March and August 2026, Microsoft Threat Intelligence documented a 356% surge in GSocket-related detections across Linux web servers, with 87% of incidents concentrated in PHP and Apache hosting environments. Threat actors exploited public-facing web application vulnerabilities—including CVE-2026-43284 (Dirty Frag) for privilege escalation—to deploy GSocket, an open-source relay tool that tunnels encrypted command-and-control traffic through the shared Global Socket Relay Network. Because both the compromised host and the operator connect outbound to a public relay, there is no threat-actor-owned IP or domain to block, and patching the original vulnerability does not remove the persistent relay client or its layered cron, systemd, and shell-profile persistence mechanisms. This campaign illustrates a maturing post-exploitation playbook in which attackers decouple persistence from the initial vulnerability, rendering application-only patching insufficient. The 356% detection growth, combined with the tool's availability as open-source software, signals rapid adoption across unrelated threat actor groups—raising the risk profile for any organization running internet-exposed Linux workloads.
Kill Chain









