According to BleepingComputer, reporting on research by Dr. Web, cybersecurity professionals are being targeted with infected security projects on GitHub that deploy a backdoor and information stealer malware. The researchers found that more than 2,000 Windows systems have been compromised so far. The campaign started about two years ago and initially targeted crypto wallet users before the threat actor switched focus, according to the report.
The malicious repositories were published for automating scans, security testing and log analysis, the report says. One malicious repository was a fake script advertised as a lightweight solution to parse, clean and format output from the Fscan network scanner, and previous lures included blockchain games, bots and cheat tools. Dr. Web's investigation found malicious code embedded in Visual Studio project files, Python scripts and Go source files, hidden behind long stretches of whitespace. In some Visual Studio projects, a pre-build event routine runs the code before compilation, the researchers say.
According to the report, the infection chain uses PowerShell to retrieve an encrypted download link that fetches a modular Electron-based loader named 'Microsoft.exe.' Dr. Web says the loader establishes persistence on the infected host, elevates its privileges, disables Windows security and recovery features, and injects the next-stage malware into legitimate processes. Dr. Web describes six evasion techniques in the loader's Mode3 default operational mode, including making explorer.exe appear to be the malware's parent process, changing a Windows registry value to disable Smart App Control, restoring original ntdll.dll code from disk to remove hooks added by security software, making direct Windows system calls, patching EtwEventWrite in memory to suppress event tracing, and patching AmsiScanBuffer in memory to interfere with antivirus scanning of scripts. If that mode fails to launch, the report says, the loader uses Mode2, which adds Microsoft Defender exclusions and uses a PowerShell script to decrypt and inject the payloads into 'RegAsm.exe.'
The final payloads delivered to the host are the AsyncRAT backdoor, clipper malware that replaces crypto wallet addresses in the clipboard, and an information stealer, according to the report. The infostealer collects browser data, VPN settings, FTP client configuration files, gaming account data and Discord tokens, and exfiltrates the details through a Telegram bot. According to Dr. Web, the malware also attempts to remove ESET, McAfee and Malwarebytes antivirus tools from the infected computer, tries to disconnect them from their update servers, and interferes with Windows backups.