Fake GitHub Security Tools Deliver Backdoors and Infostealers

· Original article ↗

Summary

Dr. Web says a campaign using fake GitHub security projects has compromised more than 2,000 Windows systems. Its Electron loader deploys AsyncRAT, clipper malware and an infostealer while evading security tools.

Key points

  • Dr. Web reports more than 2,000 Windows systems compromised; the campaign shifted from crypto and gaming lures to fake tools for security scanning, testing and log analysis.
  • Malicious code is hidden in Visual Studio project files, Python scripts and Go source files; some Visual Studio projects execute it through a pre-build event.
  • PowerShell retrieves an encrypted download link for the Electron-based loader named Microsoft.exe.
  • The loader establishes persistence, elevates privileges, disables Windows security and recovery features, and injects malware into legitimate processes.
  • In its default Mode3, the loader uses techniques including parent-process spoofing, disabling Smart App Control, restoring ntdll.dll, direct system calls, and patching ETW and AMSI functions.
  • If Mode3 fails, Mode2 adds Microsoft Defender exclusions and uses PowerShell to decrypt and inject payloads into RegAsm.exe.
  • Payloads include AsyncRAT, clipboard clipper malware and an infostealer that collects browser, VPN, FTP, gaming-account and Discord data; the article says the stolen details are sent through a Telegram bot.

Article Details

Attack Vectors
  • Malicious GitHub repositories were presented as security projects, including a fake Fscan output-processing script.
  • Malicious code was concealed in Visual Studio project files, Python scripts, and Go source files behind long stretches of whitespace.
  • In some Visual Studio projects, a pre-build event ran the malicious code before compilation.
  • PowerShell retrieved an encrypted download link used to fetch the Electron-based loader named Microsoft.exe.
  • The loader injected payloads into legitimate processes; when Mode3 failed, Mode2 used PowerShell to decrypt and inject payloads into RegAsm.exe.
  • Earlier campaign lures included blockchain games, bots, and cheat tools.
Defensive Notes
  • The loader reportedly disables Windows security and recovery features, adds Microsoft Defender exclusions in Mode2, attempts to remove ESET, McAfee, and Malwarebytes, and interferes with antivirus update connections and Windows backups.
  • The loader's reported evasion behaviors include restoring ntdll.dll code from disk, making direct Windows system calls, and patching EtwEventWrite and AmsiScanBuffer in memory.

MITRE ATT&CK

Malware

Products

Tools

Industries

Related Articles