UNIFIED SOC INCIDENT RESPONSE BLUEPRINT
GSocket: How to Detect Stealthy Linux C2 Relay Malware
Microsoft warns threat actors weaponize GSocket to maintain persistent, encrypted Linux C2 through public relays. Review hunting rules, KQL, and Sigma today.
Detection & Hunting Detectors (1)
[T1190] GSocket Hunt QueryStandalone Rule
// Microsoft Defender for Endpoint - Hunt for GSocket execution and network relay staging
DeviceProcessEvents
| where Timestamp > ago(14d)
| where FileName has_any ("gs-netcat", "gsocket") or ProcessCommandLine has_any ("gsocket.io", "gs-netcat", "gsnetcat")
| project Timestamp, DeviceName, AccountName, FileName, FolderPath, ProcessCommandLine, InitiatingProcessFileName
| order by Timestamp descVerified Indicators of Compromise (4)
Indicators of Compromise (IOCs)
4 Identified
DOMAIN
gsocket.ioDOMAIN
gsgg.b-cdn.netFILE PATH
/dev/shm/.gs-FILE PATH
gs-netcat