CryptoBandits
CryptoBandits is a Windows-based cryptocurrency clipper and stealer malware family, tracked by Microsoft as Trojan:Win32/CryptoBandits.A, that has been active since at least February 2026. It spreads via malicious Windows shortcut (.LNK) files on USB/removable drives. The worm component hides legitimate documents such as DOC, XLSX, and PDF files, replaces them with look-alike malicious shortcuts using the same names and icons, and propagates to newly connected removable media. It establishes persistence via scheduled tasks and has been reported to add Microsoft Defender exclusions for staging folders and related binaries.
Its primary theft behavior is clipboard hijacking: it monitors the clipboard roughly every 500 milliseconds for cryptocurrency wallet addresses, 12- or 24-word BIP39 seed phrases, Ethereum private keys, and Bitcoin WIF keys. When wallet addresses are copied, it replaces them with attacker-controlled addresses, including for Bitcoin legacy, P2SH, Bech32, Taproot, Tron, and Monero formats. It also captures screenshots, commonly five over a ten-second interval, for exfiltration.
CryptoBandits uses Windows Script Host components such as wscript.exe and cscript.exe, along with PowerShell, cmd.exe, ActiveX/WScript logic, curl, and a bundled portable Tor client renamed ugate.exe. It routes command-and-control traffic through a local SOCKS5 proxy on 127.0.0.1:9050 and communicates with Tor hidden-service (.onion) infrastructure, including use of /route.php for check-ins and command retrieval, /recvf.php for file uploads, and /stub.php for payload downloads. The malware includes backdoor functionality via an EVAL command that enables arbitrary code execution by downloading JavaScript into a local file named cfile and executing it, effectively making it a lightweight backdoor in addition to a crypto-stealer.
The malware uses layered obfuscation, including a Python-based installer obfuscated with PyArmor and packaged with PyInstaller, plus obfuscated JavaScript payloads stored under C:\Users\Public\Documents. It performs a simple anti-analysis check by detecting Task Manager and exiting if taskmgr.exe is running. Microsoft Defender Antivirus and Defender for Endpoint detect related activity under names including Trojan:Win32/CryptoBandits.A, Trojan:Win32/CryptoBandits.B, Trojan:JS/CryptoBandits.A, and Trojan:JS/CryptoBandits.B. Reported indicators include SHA-256 hashes 7630debd35cac6b7d58c4427695579b3e3a8b1cc462f523234cd6c698882a68c and a7abf1d9d6686af1cefcd60b17a312e7eb8cfe267def1ec34aeab6128c811630, and .onion C2 domains such as cgky6bn6ux5wvlybtmm3z255igt52ljml2ngnc5qp3cnw5jlglamisad.onion and gfoqsewps57xcyxoedle2gd53o6jne6y5nq5eh25muksqwzutzq7b3ad.onion.
Techniques & procedures
24 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
The malware spreads through malicious Windows shortcut (.LNK) files on USB drives... The worm copies itself to any new USB drive connected to an infected machine.
Execution
6 techniques
Execution
It then drops its main files ... and finally sets up automatic background tasks to keep running and infect any new USB drives plugged into the computer.
Persistence is achieved through scheduled tasks.
An EVAL command from the server runs new code hidden in a local file named cfile, granting attackers permanent remote control.
Malicious .LNK files execute hidden commands through wscript.exe and cscript.exe (Windows Script Host) to install the malware without user awareness.
Specifically, the malware downloads JavaScript content into a file named 'cfile' and executes it on the infected machine.
The infection starts via USB flash drives containing malicious shortcut (.lnk) files. Clicking the shortcut launches a hidden worm instead of a document.
Persistence
3 techniques
Persistence
It then drops its main files ... and finally sets up automatic background tasks to keep running and infect any new USB drives plugged into the computer.
Persistence is achieved through scheduled tasks.
злоумышленники размещают вредоносный файл LNK... Найденные файлы скрываются, а вместо них создаются одноименные ярлыки. Для пользователя все выглядит привычно: он дважды кликает по «документу», но после этого запускает вредонос.
Privilege Escalation
3 techniques
Privilege Escalation
It then drops its main files ... and finally sets up automatic background tasks to keep running and infect any new USB drives plugged into the computer.
Persistence is achieved through scheduled tasks.
злоумышленники размещают вредоносный файл LNK... Найденные файлы скрываются, а вместо них создаются одноименные ярлыки. Для пользователя все выглядит привычно: он дважды кликает по «документу», но после этого запускает вредонос.
Stealth
5 techniques
Stealth
The malware employs multiple layers of evasion: PyArmor obfuscation... Dual-layer JavaScript obfuscation... All malware components are encrypted and only decrypted at runtime.
Перед запуском он проверяет список активных процессов и завершает работу, если обнаруживает диспетчер задач.
Task Manager detection: The malware checks whether Task Manager is running and exits if it detects the process, frustrating casual investigation.
This worm hides the original files on the USB drive and creates matching malicious shortcuts to trick more users.
Legitimate documents on infected USB drives are hidden using Windows file attribute manipulation and replaced with malicious .LNK shortcuts bearing identical names and icons.
Defense Impairment
1 technique
Defense Impairment
To evade detection, it configures Windows Defender exclusions to bypass scanning on its setup folders.
Discovery
2 techniques
Discovery
Перед запуском он проверяет список активных процессов и завершает работу, если обнаруживает диспетчер задач.
Task Manager detection: The malware checks whether Task Manager is running and exits if it detects the process, frustrating casual investigation.
Lateral Movement
1 technique
Lateral Movement
The malware spreads through malicious Windows shortcut (.LNK) files on USB drives... The worm copies itself to any new USB drive connected to an infected machine.
Collection
3 techniques
Collection
Malware extracts BIP39 seed phrases, Ethereum private keys, Bitcoin WIF keys, and captures five screenshots over ten seconds for exfiltration to the C2 server.
The malware includes a surveillance module that captures five screenshots over a ten-second interval, packaging them for upload to the C2 server.
Once running, it monitors the clipboard for cryptocurrency wallet addresses, seed phrases, and private keys, replacing copied addresses with attacker-controlled ones.
Command and Control
6 techniques
Command and Control
The central component of the threat is the bundled Tor client, which routes communication over localhost:9050 and resolves destination domains to reduce DNS visibility and hide its C&C location.
регистрирует жертву на управляющем сервере и начинает постоянный обмен командами через локальный SOCKS5-прокси.
Dubbed CryptoBandits, the malware has been used in attacks since February 2026, deploying a portable Tor client on the infected systems and routing traffic through a local SOCKS5 proxy.
The malware bundles a portable Tor client (ugate.exe) and routes all traffic through a SOCKS5 proxy on localhost:9050 to a hidden .onion service.
A command called EVAL allows the C2 operators to push and execute arbitrary code on infected machines... the malware downloads JavaScript content into a file named 'cfile' and executes it.
обычный криптостилер фактически превращается в легковесный бэкдор с возможностью удаленного выполнения кода.
Exfiltration
1 technique
Exfiltration
A tool called curl is used to send data to a .onion website. ... /recvf.php to upload screenshots
Observables
4 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.