The global socket: how threat actors are weaponizing GSocket for stealthy C2
Threat actors are using GSocket on Linux servers to maintain access after vulnerabilities are patched.
Threat actors are deploying GSocket, an open-source remote access tool, on compromised Linux servers to maintain persistent access even after the initial vulnerabilities are remediated. GSocket leverages a public relay network, eliminating the need for threat actors to host their own infrastructure, and its deployment script includes evasion and persistence capabilities. Microsoft Defender for Endpoint telemetry indicates a significant increase in GSocket-related detections, primarily targeting web applications and hosting environments.
AI summary of the linked source. Not reviewed by an editor. How this works
Run Microsoft?
Get an email when a new story names Microsoft, usually within the hour.
Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy
The lesson from this incident
Full lessonThreat actors are exploiting web application vulnerabilities to deploy GSocket, an open-source tool that tunnels command-and-control traffic through a public relay network, allowing attackers to maintain persistent access even after the original vulnerability is patched. This highlights a critical gap in incident response: remediating the initial vulnerability without thoroughly investigating and evicting any implants left behind gives attackers a lasting foothold. Because GSocket uses a legitimate public relay rather than attacker-owned infrastructure, traditional network-based detection of suspicious C2 domains or IPs is largely ineffective. Organizations that lack robust endpoint telemetry and behavioral monitoring on Linux servers will likely miss this persistence mechanism entirely, leaving themselves exposed long after they believe the incident is resolved.
What helps against this
How we list vendors- Endpoint detection and response (EDR and XDR)
Malware and hands-on-keyboard attackers on laptops and servers get spotted and stopped.
- Network detection and response (NDR)
Attackers moving between systems inside the network get seen.
- DNS filtering and secure web gateway
Users cannot reach known-malicious sites, and malware cannot phone home.
Indicators of Compromise
Extracted by AI from the linked source. Not reviewed by an editor. How this works
- malware — GSocket