VMProtect
- Capabilities
- Defense evasion
- Platforms
- Windows
VMProtect is a commercial software-protection and code-obfuscation tool, not a distinct malware family. Threat actors use it to pack or obfuscate malicious executables and libraries, hinder static and dynamic analysis, and evade antivirus detection. Its protection functionality is separate from the malicious capabilities of the software it protects.
Observed malicious uses include protection of Sagerunex backdoor code by the cyber-espionage actor Lotus Blossom, protection of components used to deploy BADIIS malicious IIS modules, and packing of AVKiller tooling encountered in ransomware intrusions involving RansomHub and MedusaLocker. These uses span Windows executables and DLLs. VMProtect is not specific to any single threat actor, infection vector, or victim sector; the delivery mechanisms and operational capabilities of protected payloads should not be attributed to the protector itself.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Most of these samples employ VMProtect, a commercial code-obfuscation framework, to hinder static and dynamic analysis.
Techniques & procedures
12 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
1 technique
Execution
If it finds that it runs on a known system version, it uses the sysenter instruction to directly call into kernel mode for its checks, bypassing any user mode hooks
Stealth
10 techniques
Stealth
Les builds et modules utilisent « configuration obfusquée, protection VMProtect », ainsi que l'API hashing et le chiffrement de chaînes.
Appendix D lists "T1027.001 Obfuscated Files or Information: Binary Padding"; the report discusses use of VMProtect, Themida, and script/binary obfuscation.
RomCom 3.0 binaries are protected with VMProtect.
the few valid functions initialize the VM and import the hidden API calls (via LoadLibraryA ) ... the complex functions perform VM-related initialization routine or decrypt API calls
If functions are large due to code obfuscation, they often contain dead code ... VMProtect ... uses dead code to bloat its code size.
非常に頑丈な商用プロテクターであるVMProtectによってパッキングされています。
VM Checks Overview of VM checks: cpuid hypervisor bit & hypervisor vendor Trap Flag tricks in combination with forced VM exit via rdtsc/cpuid NtQuerySystemInformation with SystemFirmwareTableInformation, TableIDs FIRM and RSMB
Trap Flag tricks in combination with forced VM exit via rdtsc/cpuid
the callback is triggered after a syscall has executed but before it returns, which means we cannot prevent changes such as setting the ThreadHideFromDebugger flag
VMProtect’s debugger checks don’t use any exotic techniques... PEB.BeingDebugged ProcessDebugPort ProcessDebugObjectHandle NtSetInformationThread ThreadHideFromDebugger CloseHandle with invalid handle value Non-zero debug registers in CONTEXT when catching exceptions
Discovery
5 techniques
Discovery
NtQuerySystemInformation with SystemFirmwareTableInformation, TableIDs FIRM and RSMB
非常に頑丈な商用プロテクターであるVMProtectによってパッキングされています。
VM Checks Overview of VM checks: cpuid hypervisor bit & hypervisor vendor Trap Flag tricks in combination with forced VM exit via rdtsc/cpuid NtQuerySystemInformation with SystemFirmwareTableInformation, TableIDs FIRM and RSMB
Trap Flag tricks in combination with forced VM exit via rdtsc/cpuid
VMProtect’s debugger checks don’t use any exotic techniques... PEB.BeingDebugged ProcessDebugPort ProcessDebugObjectHandle NtSetInformationThread ThreadHideFromDebugger CloseHandle with invalid handle value Non-zero debug registers in CONTEXT when catching exceptions
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.