Skip to main content
Mallory
Malware

GhostSocks

Tracked since Jan 17, 2026 · Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
Vulns0Associated
Actors0Associated
ATT&CK36Techniques
IOCs123Tracked
Type
Proxyware
Capabilities
PersistencePost exploitationDefense evasion
Delivery
LureSeo poisoning
Platforms
WindowsLinux

GhostSocks is a Go-based SOCKS5 backconnect proxy malware family for Windows and Linux, offered as Malware-as-a-Service and first advertised on a Russian-language cybercriminal forum in October 2023. It converts compromised systems into residential proxy nodes, allowing operators to tunnel traffic through victims’ network connections and conceal the origin of malicious activity. Its functionality also includes arbitrary command execution, modification of SOCKS5 credentials, and downloading and executing additional payloads.

GhostSocks is closely integrated with the LummaC2 information-stealing ecosystem. A partnership announced in February 2024 enabled GhostSocks provisioning through the Lumma administration panel. It has also been deployed alongside Vidar through malicious software archives distributed by fake GitHub repositories, including campaigns impersonating AI tools and offering purportedly leaked or unlocked Claude Code software. These campaigns use software-themed lures and search-engine optimization to attract victims.

The malware contains an obfuscated configuration holding command-and-control information, affiliate identifiers, build information, and proxy credentials. It registers with controller infrastructure, receives relay connection details, and establishes authenticated SOCKS5 backconnect tunnels. Controllers can supply replacement infrastructure to maintain connectivity. Older samples use HTTP, while newer samples use HTTPS and wrap relay traffic in TLS 1.3. GhostSocks employs code and configuration obfuscation and mouse-position-based anti-sandbox checks. Some Windows builds independently maintain persistence through registry Run entries configured using PowerShell. By routing attacker traffic through the victim’s device and IP address, GhostSocks can undermine security controls that rely on network origin or device context.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
MITRE ATT&CK

Techniques & procedures

36 distinct techniques documented for this family, organized by ATT&CK tactic.

Resource Development

5 techniques
T1583.001DomainsEvidence1

Malware actors were playing a fourth game: opportunistic distribution. Fake repositories dressed as leaked Claude Code delivered Vidar v18.7 and GhostSocks to anyone who downloaded them.

T1585.003Cloud AccountsEvidence1

MITRE ATT&CK TTPs ... Resource Development Establish Accounts: Social Media Accounts T1585.003 Disposable GitHub accounts for distribution

T1588Obtain CapabilitiesEvidence2

MITRE ATT&CK Mapping Tactic – Technique – Sub-Technique Resource Development – T1588 - Malware

T1608.001Upload MalwareEvidence1

MITRE ATT&CK TTPs ... Resource Development Stage Capabilities: Upload Malware T1608.001 Malware hosted on GitHub Releases

T1608.006SEO PoisoningEvidence3

Search engines increased the exposure of the malicious repository ... The repository’s llms.txt and topic taxonomy were designed to be discovered by both classical search engines and large-language-model-powered search.

Initial Access

3 techniques
T1189Drive-by CompromiseEvidence5

For web searches such as “DeepSeek v4 weights GitHub,” the malicious repository and its forks were positioned among top results, at times appearing ahead of official references like the Hugging Face release page.

T1195Supply Chain CompromiseEvidence1

The widespread availability of the proprietary code has created a massive vector for supply chain attacks. Cybercriminals are now actively weaponizing this incident, creating malicious forks designed to compromise developer workstations.

T1566.002Spearphishing LinkEvidence6

MITRE ATT&CK TTPs ... Initial Access Phishing: Spearphishing Link T1566.002 Lure repositories with download links

Execution

6 techniques
T1059Command and Scripting InterpreterEvidence2

Beyond routing attacker traffic through residential connections, it also includes a backdoor component that allows operators to run arbitrary commands and deploy additional malicious payloads on infected systems.

T1059.001PowerShellEvidence1

GhostSocks executes this command with PowerShell, which means defenders should be on the lookout for the above command string as it could be indicative of a GhostSocks infection.

T1059.003Windows Command ShellEvidence1

Arbitrary Command Execution ( shell , ID: 5): Executes arbitrary commands sent by the C2: cmd.exe /C <command>

T1106Native APIEvidence1

MITRE ATT&CK Mapping Technique Mapping Evidence T1106 Native API Native DLL loaded via Electron FFI.

T1204User ExecutionEvidence7

MITRE ATT&CK Mapping Technique Mapping Evidence T1204 User Execution User installs/runs trojanized utility app.

T1204.002Malicious FileEvidence9

MITRE ATT&CK TTPs ... Execution User Execution: Malicious File T1204.002 Victim executes trojanized dropper

Persistence

2 techniques
T1112Modify RegistryEvidence2

Early variants of GhostSocks do not implement a persistence mechanism; however, later versions achieve persistence via registry run keys, ensuring sustained proxy operational time [1].

T1547.001Registry Run Keys / Startup FolderEvidence3

This mechanism, which can be viewed below and leverages registry run keys, allows for GhostSocks infections to survive restarts, allowing for a more long-lasting proxy uptime.

Privilege Escalation

1 technique
T1547.001Registry Run Keys / Startup FolderEvidence3

This mechanism, which can be viewed below and leverages registry run keys, allows for GhostSocks infections to survive restarts, allowing for a more long-lasting proxy uptime.

Stealth

5 techniques
T1027Obfuscated Files or InformationEvidence4

The above-mentioned GhostSocks sample is heavily obfuscated at points, likely making use of the popular open-source Go obfuscator Garble... Along with some features from Gofuscator such as inline XOR-based string deobfuscation.

T1036MasqueradingEvidence14

MITRE ATT&CK Mapping Technique Mapping Evidence T1036 Masquerading Fake WinDirStat and LightShot apps.

T1497Virtualization/Sandbox EvasionEvidence1

the malware employs... an anti-sandboxing methodology utilising the GetCursorPos API

T1564.001Hidden Files and DirectoriesEvidence1

The configuration is then encoded into a JSON object, obfuscated, and written to %APPDATA%\config.

T1620Reflective Code LoadingEvidence1

"...debugging messages... including invoking malware into memory... prior to running decrypted payloads"

Defense Impairment

2 techniques
T1112Modify RegistryEvidence2

Early variants of GhostSocks do not implement a persistence mechanism; however, later versions achieve persistence via registry run keys, ensuring sustained proxy operational time [1].

T1686Disable or Modify System FirewallEvidence1

"...adding firewall rules..."

Credential Access

1 technique
T1528Steal Application Access TokenEvidence1

Using this feature, actors are able to easily leverage LummaC2’s “Google Expired Token Refresh” feature in conjunction with the residential proxies to refresh expired Google tokens, even when a victim has changed their password.

Discovery

1 technique
T1497Virtualization/Sandbox EvasionEvidence1

the malware employs... an anti-sandboxing methodology utilising the GetCursorPos API

Command and Control

13 techniques
T1071Application Layer ProtocolEvidence4

After GhostSocks assembles its JSON configuration dictionary, it encrypts the dictionary with XOR using the key “config” and sends it to one of the C2s contained in its hardcoded C2 list in a basic request... While older samples communicate over HTTP, newer samples have been spotted leveraging HTTPS...

T1071.001Web ProtocolsEvidence2

GhostSocks uses a fairly simple relay-based C2 implementation using a simple HTTP API... Upon a victim first connecting to the C2, GhostSocks starts to build the HTTP GET query parameters... and a X-Api-Key header required for all requests to the C2.

T1090ProxyEvidence10

MITRE ATT&CK Mapping Technique Mapping Evidence T1090 Proxy Backconnect/proxy strings and yamux-based session code.

T1090.001Internal ProxyEvidence1

“GhostSocks backconnect proxy malware, designed to convert users' machines into a proxy node.”

T1090.002External ProxyEvidence1

GhostSocks... turns compromised systems into proxies. It allows threat actors to bypass anti-fraud or MFA checks when logging into accounts with credentials harvested by deployed information stealers

T1090.003Multi-hop ProxyEvidence3

MITRE ATT&CK TTPs ... Command and Control Proxy: Multi-hop Proxy T1090.003 GhostSocks SOCKS5 proxy

T1095Non-Application Layer ProtocolEvidence2

Written in GoLang, GhostSocks utilizes the SOCKS5 proxy protocol, creating a SOCKS5 connection on infected devices. ... MITRE ATT&CK Mapping ... Command and Control – T1095 – Non-application Layer Protocol

T1102Web ServiceEvidence2

MITRE ATT&CK Mapping Tactic – Technique – Sub-Technique ... Command and Control – T1102 – One-Way Communication

T1105Ingress Tool TransferEvidence10

Download & Execute Arbitrary Executables ( update , ID: 6) Download an arbitrary executable, execute it using the same code used for the shell command

T1132Data EncodingEvidence1

The configuration is then encoded into a JSON object, obfuscated, and written to %APPDATA%\config.

T1568Dynamic ResolutionEvidence1

GhostSocks has the ability to change these C2s on the fly following the initial check-in... GhostSocks also has the ability to insert new IPs if a given IP is taken down, or if a bot is using outdated IPs, allowing for more resilience than a single hardcoded config.

T1571Non-Standard PortEvidence2

MITRE ATT&CK Mapping Tactic – Technique – Sub-Technique ... Command and Control – T1571 – Non-Standard Port

T1573Encrypted ChannelEvidence3

MITRE ATT&CK Mapping Technique Mapping Evidence T1573 Encrypted Channel TLS and encrypted session strings.

Indicators of compromise

Observables

123 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

36 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+31 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching123Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping36Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.