As reported by SecurityAffairs, Doctor Web has uncovered a multi-year campaign in which threat actors published malicious GitHub repositories disguised as security tools and blockchain game utilities, resulting in over 2,000 infected PCs. What makes this campaign particularly noteworthy is its evolution: initially targeting crypto-enthusiasts, the operators have now pivoted to target information security professionals — a population that should, in theory, know better.

Threat Alert: As reported by SecurityAffairs, Doctor Web has uncovered a multi-year campaign in which threat actors published malicious GitHub repositories disguised as security tools and blockchain game utilities, resulting in over 2,000 infected PCs.

This pivot is not incidental. It reflects a calculated understanding that defenders are increasingly dependent on open-source tooling for scanning, log analysis, and penetration testing. By poisoning the well of community trust, attackers gain access to the very systems designed to detect them — potentially compromising security operations centers, red team infrastructure, and incident response workstations.

The Technical Sophistication Problem

The malware described goes well beyond typical commodity infostealers. The loader — an Electron-based binary disguised as a Windows Photos component — demonstrates a layered defense-evasion architecture that would be impressive in a legitimate product:

The Technical Sophistication Problem
Multi-mode evasion: A primary "Mode3" fakes parent processes, disables Smart App Control, removes AV hooks from ntdll.dll, uses direct syscalls, and patches ETW and script scanning in memory. A fallback "Mode2" provides additional Defender evasion.
AV removal: Actively uninstalls McAfee, ESET, and Malwarebytes — not just bypassing them, but eliminating them entirely.
System hardening reversal: Disables UAC, System Restore, shadow copies, and Windows Defender, while adding Defender exclusions for its own payloads.
Process injection: Injects code into legitimate processes to blend with normal system activity.
Infrastructure abuse: Uses YouTube, Telegram, Google Docs, GitCode, and Pastebin as C2 channels — platforms that are almost universally allowlisted.

The use of legitimate platforms for C2 communication is particularly problematic for network defenders. These domains are typically on allowlists, meaning traditional URL filtering and proxy rules will not flag the traffic. Detection must shift to behavioral analysis and endpoint telemetry rather than network-level IOC matching alone.

The most dangerous aspect of this campaign is not the malware itself — it is the exploitation of the open-source security community's culture of trust and rapid adoption of community tools.

Why Defenders Are Vulnerable

Security professionals frequently clone repositories from GitHub, build projects in Visual Studio, and run tools with elevated privileges. The attack chain exploits pre-build events in Visual Studio projects and malicious code hidden in Python and Go files using whitespace obfuscation. The attackers even provided setup instructions, lowering the barrier for less technical users.

This creates a perfect storm: a target population that routinely executes untrusted code as part of their workflow, running on systems that often have administrative privileges and access to sensitive infrastructure.

C2 Infrastructure on Allowlisted Platforms

The abuse of YouTube, Telegram, Google Docs, and Pastebin for C2 communications represents a significant detection challenge. These platforms are almost universally allowed through corporate firewalls and proxy solutions. Defenders should:
  • Monitor for anomalous API calls or automated access patterns to these platforms from developer workstations
  • Implement application-level inspection rather than relying on domain-based allowlisting alone
  • Flag PowerShell processes making unexpected network connections to document-sharing or social media platforms

Shield53 Recommendations

Immediate Actions

  • Audit GitHub usage: Inventory all repositories cloned or downloaded from GitHub in the past 24 months, especially those related to blockchain games, game cheats, security scanners, or log analysis tools. Cross-reference against Doctor Web's findings.
  • Isolate and scan: Any workstation that has built and run projects from unverified GitHub repositories should be isolated, scanned with multiple AV engines, and examined for indicators of compromise including Defender exclusion rules, disabled UAC, and missing shadow copies.
  • Check for AV tampering: Verify that endpoint protection agents (McAfee, ESET, Malwarebytes, Windows Defender) are running and have not been silently removed or excluded. Review Defender exclusion lists for unexpected entries.
  • Hunt for C2 artifacts: Search for processes named Microsoft.exe in non-standard directories, Electron applications mimicking Windows components, and PowerShell scripts contacting YouTube, Telegram, Google Docs, GitCode, or Pastebin.

Longer-Term Hardening

  • Implement code review for external tools: Require peer review of any code cloned from external repositories before execution, with particular attention to pre-build events, PowerShell commands in configuration files, and obfuscated code blocks.
  • Restrict developer workstation privileges: Separate development environments from systems with access to security infrastructure, sensitive data, or administrative tools.
  • Adopt allowlist-based execution: Use application control solutions that prevent execution of unapproved binaries, especially Electron applications and scripts from user-writable directories.
  • Monitor Defender exclusions: Alert on any changes to Windows Defender exclusion lists and investigate immediately.
  • Network behavioral analytics: Deploy rules that flag developer workstations making API calls to social media, document-sharing, or messaging platforms — especially PowerShell or command-line initiated connections.

This campaign underscores a broader truth: the security community is not immune to the threats it studies. The same open-source ethos that accelerates innovation also creates an attack surface that adversaries are actively exploiting. Defenders must apply the same scrutiny to their own toolchains that they recommend for their organizations' software supply chains.