Fake Claude Code Downloads Deliver Vidar Stealer and GhostSocks Malware

· Original article ↗

Summary

Trend Micro reports that attackers used fake GitHub repositories and trojanized 7z downloads, exploiting interest in Anthropic’s leaked Claude Code source to distribute a dropper that installs Vidar stealer and GhostSocks.

Key points

  • Attackers repurposed an existing rotating-lure campaign to impersonate leaked Claude Code downloads within 24 hours of the source exposure.
  • The campaign used newly created GitHub repositories and 7z archives to deliver a Rust-compiled dropper, often named TradeAI.exe or ClaudeCode_x64.exe.
  • The dropper installs Vidar, which steals browser credentials, cryptocurrency wallets, session tokens, and system information, alongside GhostSocks, which turns infected devices into SOCKS5 proxies.
  • The malware uses Steam and Telegram profiles as dead-drop resolvers for command-and-control addresses and includes extensive sandbox and analysis-tool checks.
  • Its embedded PowerShell payload can add Windows Defender exclusions, disable several protections, and open inbound firewall ports.
  • Anthropic attributed the source exposure to an npm packaging error, removed the affected package version, and said customer data and credentials were not exposed.
  • The article recommends installing developer tools only from verified sources, scrutinizing new GitHub Release repositories, blocking known infrastructure, and monitoring for infostealer activity.

Article Details

Attack Vectors
  • Operators used fake GitHub repositories, search-result visibility, and README claims about leaked source or unlocked features to lure users into downloading trojanized 7z release archives.
  • The archives delivered a Rust-compiled dropper, TradeAI.exe, which deploys Vidar Stealer and GhostSocks.
  • Vidar steals browser credentials, cryptocurrency wallets, session tokens, and system information; GhostSocks tunnels traffic through compromised machines as SOCKS5 proxies.
  • The dropper uses sandbox and analysis-environment checks, encrypted strings, and an embedded encoded PowerShell payload that disables Windows Defender protections and opens inbound firewall ports.
  • Vidar resolves active C2 infrastructure through Steam Community and Telegram dead-drop resolvers, then sends stolen data to its C2 server.
Defensive Notes
  • Use verified software sources and approved installation channels; treat unofficial GitHub repositories offering standalone installers as potentially malicious.
  • Scrutinize GitHub Releases, especially large archives on newly created repositories with minimal commit history, and maintain an allowlist of approved AI-tool sources.
  • Block known campaign infrastructure and monitor for credential theft, connections to the cited Steam and Telegram dead-drop resolvers, and unusual SOCKS5 proxy activity.
  • Use endpoint detections for Vidar variants and Rust-compiled droppers; the article notes that anti-sandbox behavior makes static detection rules important.

Indicators of compromise

TypeIndicatorContext
DOMAINrti[.]cargomanbd[.]comDestination domain cited in a hunting query for Vidar C2 connections.

MITRE ATT&CK

Malware

Vendors

Products

Industries

Related Articles