Vidar stealer added per-build virtual machine bytecode interpreter and custom stream cipher string obfuscation across versions 2.0–3.3, hindering static analysis. The VM uses a 256-entry dispatch table with 14 opcode handlers to deobfuscate strings or decrypt 8-byte keys and 4-byte nonces for a second-layer custom ARX stream cipher. Opcodes, constants, substitution tables, and ARX operations change per build. Samples exhibit anti-analysis behaviors including RDTSC-based VM detection, debugger thread hiding, and direct IP HTTPS connections without DNS.
VM string obfuscation
1 post
Vidar Virtual Machine-Based String Obfuscation | ThreatLabz