CTI · reviewed · 2026-11-12
Microsoft Finds Hackers Using GSocket to Hide Linux Backdoors as Legitimate System Processes
Actors
—
Malware / tools
GSocketgs-netcat
Campaigns
GSocket relay-network backdooring of Linux servers
CVEs
—
Victim sectors
educationresearchtechnologytelecommunicationshosting
Geography
—
MITRE ATT&CK
Indicators
No curated indicators tied to this case.
Detections
Detection content derived from this case analysis. Status: experimental — not validated against live telemetry.
Sigma raw
title: GSocket gs-netcat Client Execution on Linux Host
id: d0dc10ec-6fb8-4c5c-a060-560c45202cf3
status: experimental
description: >
Detects execution of the GSocket relay client (gsocket / gs-netcat) on a
Linux host. Microsoft Security Research reported unrelated threat actors
deploying GSocket after web-application RCE to keep an encrypted,
NAT-traversing channel that outlives patching; the tool hides behind
kernel-thread-like process names and persists through cron, systemd units
and shell startup files. GSocket is legitimate open-source software, so a
hit is a triage lead, not proof of compromise - it matters on servers that
have no business running a relay-based remote access tool.
references:
- https://www.microsoft.com/en-us/security/blog/2026/11/11/global-socket-how-threat-actors-weaponizing-gsocket-stealthy-c2/
- https://www.bleepingcomputer.com/news/security/hackers-plant-gsocket-on-linux-servers-for-persistent-access/
author: Tia N. List
date: 2026/11/12
tags:
- attack.t1219
- attack.t1090
- attack.t1036
logsource:
category: process_creation
product: linux
detection:
selection_binary:
Image|endswith:
- '/gs-netcat'
- '/gsocket'
- '/gsnc'
selection_commandline:
CommandLine|contains:
- 'gs-netcat'
- 'GSOCKET_ARGS'
condition: selection_binary or selection_commandline
falsepositives:
- Legitimate administrative or developer use of GSocket/gs-netcat for NAT-traversing shell access
- Security testing, CTF work and lab environments where the tool is deliberately installed
level: medium
Splunk SPL raw
# microsoft-finds-hackers-using-gsocket-to-hide-linux-backdoors-as — Splunk SPL variant (derived from microsoft-finds-hackers-using-gsocket-to-hide-linux-backdoors-as.sigma via sigma convert)
# source-sha256: 3b11b450330ae7c897c76c607a9d3d2606b3a607e8f2f199079d5aab650ea010 v1
Image IN ("*/gs-netcat", "*/gsocket", "*/gsnc") OR CommandLine IN ("*gs-netcat*", "*GSOCKET_ARGS*")
KQL (Sentinel / Defender) raw
# microsoft-finds-hackers-using-gsocket-to-hide-linux-backdoors-as — KQL variant (derived from microsoft-finds-hackers-using-gsocket-to-hide-linux-backdoors-as.sigma via sigma convert)
# source-sha256: 3b11b450330ae7c897c76c607a9d3d2606b3a607e8f2f199079d5aab650ea010 v1
(Image endswith "/gs-netcat" or Image endswith "/gsocket" or Image endswith "/gsnc") or (CommandLine contains "gs-netcat" or CommandLine contains "GSOCKET_ARGS")
YARA-X raw
rule Linux_AnnobinDoor_Sparrow_Agent
{
meta:
author = "Tia N. List"
date = "2026-11-12"
status = "experimental"
description = "Hunts the Linux side of the CopperDragon Sparrow framework. Check Point Research documented OceanGate deploying AnnobinDoor (internally named annobinagent) and SparrowShell on compromised internet-facing Linux servers, loading plugins from /tmp, alongside trojanized SSH/SSHD components. The strings below are the operator-facing internal names published in the report; derived from case analysis - NOT validated against a live sample."
reference = "https://research.checkpoint.com/2026/not-all-that-glitters-is-gold-tracking-copperdragons-sparrow-framework-around-the-globe/ (Melofee rootkit context: https://blog.exatrack.com/melofee/)"
falsepositives = "Security research, YARA development and malware-analysis repositories that store the internal names as text; the ELF header requirement keeps plain-text notes from matching"
strings:
$annobin = "annobinagent" ascii nocase
$sparrowshell = "sparrowshell" ascii nocase
$sparrowdoor = "sparrowdoor" ascii nocase
condition:
uint32(0) == 0x464c457f and any of them
}
rule Linux_GSocket_Relay_Client
{
meta:
author = "Tia N. List"
date = "2026-11-12"
status = "experimental"
description = "Hunts GSocket / gs-netcat ELF binaries on Linux hosts. Microsoft Security Research reported unrelated actors installing this open-source relay client after web-application RCE to hold an encrypted, NAT-traversing channel that survives patching; it masquerades with kernel-thread-like process names and persists via cron, systemd units and shell startup files. GSocket is legitimate software, so a hit is a triage lead rather than proof of compromise. Derived from case analysis - NOT validated against a live sample."
reference = "https://www.microsoft.com/en-us/security/blog/2026/11/11/global-socket-how-threat-actors-weaponizing-gsocket-stealthy-c2/"
falsepositives = "Legitimate administrative use of GSocket/gs-netcat for NAT-traversing shell access, and lab or CTF images where the tool is deliberately installed"
strings:
$env_args = "GSOCKET_ARGS" ascii
$state_dir = "/.gsocket" ascii
$bin_name = "gs-netcat" ascii
$relay_name = "gsocket" ascii nocase
condition:
uint32(0) == 0x464c457f and (($env_args and $state_dir) or ($bin_name and $relay_name))
}