VictoryGate
- Type
- Botnet
- Capabilities
- ExfiltrationPersistenceDefense evasionProcess injection
- Delivery
- USB
- Platforms
- Windows
VictoryGate is a Windows-based cryptomining botnet active since at least May 2019, with infections concentrated in Latin America and the vast majority observed in Peru. Its primary monetization method is unauthorized Monero mining, and the operation was assessed to have compromised at least tens of thousands of systems. Victims included both public- and private-sector organizations, including financial institutions.
VictoryGate propagates through removable USB media. On infected systems, it hides legitimate files on attached drives, replaces them with lookalike executables generated from AutoIt scripts, and when a user opens one of the decoy files it launches both the expected document or program and the malware. The malware establishes persistence by copying itself into a user profile location and creating startup mechanisms; later-stage payloads were also observed creating scheduled tasks and startup shortcuts.
The initial component is a large .NET assembly padded with junk data to hinder scanning. At runtime it unpacks an embedded payload and loads it via .NET reflection, then injects code into legitimate Windows processes using process hollowing and low-level NTAPI functions to reduce visibility and evade basic monitoring. An injected AutoIt-based agent manages command-and-control communications, monitors for newly connected USB devices to continue propagation, and can download and execute additional payloads.
A later-stage payload deploys XMRig for Monero mining by injecting it into a legitimate process. VictoryGate used a proxy-based mining architecture rather than connecting miners directly to a pool. It also included user-awareness evasion, suspending mining activity when Task Manager was opened and resuming afterward. Infected hosts commonly exhibited sustained CPU utilization in the 90% to 99% range, causing severe performance degradation and potential overheating.
Beyond cryptomining, VictoryGate functioned as a general-purpose botnet capable of receiving commands, reporting host information, maintaining keep-alives, re-establishing its installed location, and downloading further payloads. This made it a broader post-compromise risk even where mining was the main observed activity. Command-and-control infrastructure relied on dynamic DNS subdomains, and disruption of that infrastructure impaired operator control, although already infected systems could continue mining without receiving new commands.
Techniques & procedures
16 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
The only propagation vector we have been able to confirm is through removable devices. The victim receives a USB drive that at some point was connected to a compromised machine.
Execution
4 techniques
Execution
When executed, this file will first create a scheduled task and another shortcut in the startup folder to gain persistence for this new binary.
VictoryGate will use several undocumented NTAPI functions such as NtWriteVirtualMemory, rather than using the more common API function WriteProcessMemory, to avoid basic API-hooking detection.
The array also contains an XORed and gzip-compressed DLL that, at runtime, is deciphered and loaded with a late binding call using the .NET Reflection API.
When an unsuspecting user attempts to open one of these files, the script will open both the file that was intended and the malicious payload.
Persistence
1 technique
Persistence
When executed, this file will first create a scheduled task and another shortcut in the startup folder to gain persistence for this new binary.
Privilege Escalation
2 techniques
Privilege Escalation
When executed, this file will first create a scheduled task and another shortcut in the startup folder to gain persistence for this new binary.
The DLL itself contains a packed AutoIt-compiled script ... as well as the methods required to inject it into some legitimate Windows process. We’ve seen vbc.exe ... or csc.exe ... being targeted.
Stealth
3 techniques
Stealth
It seemingly has all the files with the same names and icons that it contained before being infected. Because of this, the content will look almost identical at first glance. However, all the original files were replaced by a copy of the malware.
The DLL itself contains a packed AutoIt-compiled script ... as well as the methods required to inject it into some legitimate Windows process. We’ve seen vbc.exe ... or csc.exe ... being targeted.
The array also contains an XORed and gzip-compressed DLL that, at runtime, is deciphered and loaded... Once executed, tpmvscugr.exe will first decipher a Rijndael-encrypted array.
Defense Impairment
1 technique
Defense Impairment
Sets +RHS attributes on files and directories.
Discovery
1 technique
Discovery
in order to hide the CPU usage from the user, the mining process will be terminated if the user opens Task Manager; mining will be resumed as soon as TM is closed.
Lateral Movement
1 technique
Lateral Movement
The only propagation vector we have been able to confirm is through removable devices. The victim receives a USB drive that at some point was connected to a compromised machine.
Collection
1 technique
Collection
This prefix is used by the node during the first message to the C&C, where it sends information about the system such as username, hostname, antimalware product installed, AutoIt version, etc.
Command and Control
4 techniques
Command and Control
Uses backup domain names.
Durante fevereiro e março de 2020, entre 2.000 e 3.000 sistemas infectados se conectaram aos servidores diariamente.
Uses Pastebin to recover the C&C IP even if DNS resolution fails.
the botmaster can update functionality of the payloads that are downloaded and executed on the infected devices from cryptomining to any other malicious activities at any given time
Impact
1 technique
Impact
The main activity of the botnet was Monero mining... the malicious code uses all available threads to perform cryptomining, which results in a sustained 90-99% CPU load.
Observables
34 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.