GhostSocks
GhostSocks is a Go-based proxy malware, also described as a Malware-as-a-Service offering, that converts compromised Windows home and office devices into residential SOCKS5 proxy nodes. It is used to route attacker traffic through victim systems, masking malicious activity behind the victim’s IP address and device context. Reporting states GhostSocks was marketed on the Russian-language underground forum xss[.]is and later partnered with LummaC2/Lumma Stealer, with recent LummaC2 versions able to deploy GhostSocks as a reverse/backconnect proxy component.
Observed capabilities include creation of SOCKS5 residential proxies, proxying of network traffic, TLS-wrapped relay traffic, dynamic command-and-control updates after check-in, and in some reporting, backdoor functionality for arbitrary command execution and payload delivery. Newer variants have been observed using HTTPS and TLS 1.3 over SOCKS5, while older samples used HTTP. GhostSocks can persist via Windows registry Run keys and may execute persistence commands with PowerShell. SpyCloud reported that GhostSocks binaries contain static embedded configuration data including C2 nodes, affiliate information, build version, and SOCKS5 proxy credentials; some values are obfuscated and the configuration sent during check-in is XOR-encrypted with the key "config." Huntress reported a sample copying itself to %AppData%\Microsoft\Windows\Cache\update.exe, storing encrypted helper IP data in %AppData%\config, and creating persistence via HKCU\Software\Microsoft\Windows\CurrentVersion\Run{BackgroundTask}. Huntress also noted a debug mode triggered with the --johnpidar argument.
GhostSocks has been repeatedly observed as a secondary payload alongside Vidar infostealer in fake AI-tool and developer-tool lures hosted on GitHub and surfaced through search poisoning, malvertising, and fake repositories. Documented lures include fake DeepSeek V4 repositories, fake Claude Code leak repositories, fake OpenClaw installers, and related AI-branded archives such as TradeAI.exe, OpenClaw_x64.7z, WormGPT_x64.7z, and DeepSeekAI_agent_x64.7z. In these campaigns, Rust-based droppers or loaders installed Vidar to steal credentials and GhostSocks to turn infected devices into proxy infrastructure. Reporting also links GhostSocks activity to LummaC2 operations and notes prior use by Black Basta.
The malware’s operational value is that attacker traffic originates from the victim’s residential or office connection, which can help evade anti-fraud systems, geographic restrictions, and controls tied to IP reputation or same-device fingerprinting. Multiple sources specifically note potential abuse against Google cookie-based access controls and financial-service protections.
High-confidence infrastructure and indicators mentioned in the reporting include T1 C2 IPs 46.8.232.106, 46.8.232.61, 91.212.166.91, 91.212.166.9, 147.45.196.157, 38.180.61.247, 195.2.70.38, 91.142.74.28, 188.130.206.243, 38.180.205.164, and 93.185.159.253; T1 relay IPs 185.245.106.67, 185.121.233.152, 77.238.237.190, 185.157.213.253, 195.200.28.33, 185.21.13.144, 212.34.130.72, and 195.200.31.22; helper URLs hxxps://147[.]45[.]197[.]92:443 and hxxps://94[.]228[.]161[.]88:443; and additional GhostSocks-linked indicators retreaw[.]click, 159.89.46[.]92, 86.54.24[.]29, and www.lbfs[.]site.
Hunt this family in your stack
Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.
Techniques & procedures
19 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
2 techniques
Resource Development
Initial Access
3 techniques
Initial Access
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.
Execution
4 techniques
Execution
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.
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.
Persistence
1 technique
Persistence
Privilege Escalation
1 technique
Privilege Escalation
Stealth
2 techniques
Stealth
Some of these values are obfuscated using GhostSock’s custom obfuscation algorithm, which splits each string into four (4) byte chunks and then uses arithmetic shifts to reveal the deobfuscated text... After GhostSocks assembles its JSON configuration dictionary, it encrypts the dictionary with XOR using the key “config”
Credential Access
1 technique
Credential Access
Command and Control
6 techniques
Command and Control
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...
using a collaboration with GhostSocks, LummaC2 now allows actors to infect victims with reverse proxy binaries to turn their victims into residential proxies.
GhostSocks hijacks the victim’s internet connection to make attacker traffic appear as though it is coming from a regular household user... it uses the SOCKS5 proxy protocol to create a covert communication channel on infected devices, while a relay-based command-and-control (C2) architecture places an intermediary server between the attacker’s real C2 infrastructure and the compromised machine.
Within four hours, victims were downloading malware associated with Vidar infostealer and GhostSocks proxy malware.
IOCs tracked for this family
108 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.
IPs, domains, and DNS infrastructure linked to this family.
File hashes (MD5, SHA-1, SHA-256) from samples and reports.
Other indicator types observed in public reporting.
Recent activity
26 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
Additional downstream payload documented in related research as part of the broader fake-AI lure ecosystem alongside Vidar.
Additional downstream malware documented by external research as part of the broader fake-AI lure ecosystem alongside Vidar.
Malware distributed through fake repositories themed around the Claude Code leak; likely used to provide covert access or proxy functionality based on its name, but the content does not further specify.
GhostSocks is deployed to proxy network traffic, enabling attacker-controlled network access through the compromised host.
The version that knows your environment.
Match every observed IP, domain, and hash against your live telemetry.
Named campaigns wielding this family, with evidence pinned to each claim.
CVEs this family uses for access and lateral movement.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Every documented technique, ranked by evidence weight.
Reddit, Mastodon, and CTI community discussion around this family.