Malware

VVS Stealer Uses PyArmor Obfuscation to Evade Static Analysis and Signature Detection

The cybersecurity landscape is witnessing a rise in sophisticated malware that leverages legitimate tools to mask malicious intent. A prime example is VVS Stealer (also styled VVS $tealer).

This Python-based malware family has been actively marketed on Telegram since April 2025. This threat targets Discord users explicitly to exfiltrate sensitive credentials, tokens, and browser data.

A key characteristic of VVS Stealer is its use of PyArmor, a command-line tool for obfuscating Python scripts.

While developers use PyArmor to protect intellectual property, threat actors exploit it to hide malware code, effectively bypassing traditional security controls such as static analysis and signature-based detection.

Ad in Telegram

This article examines the technical mechanisms of VVS Stealer and the deobfuscation process required to analyze it.

The Role of PyArmor in Malware Evasion

Malware authors increasingly prefer Python for its ease of use, but raw Python code is easily readable by security analysts, as reported by PaloAlto Networks.

workflow for analyzing the VVS stealer malware sample

To counter this, VVS Stealer employs PyArmor (specifically version 9.1.4 Pro) to encrypt its payload.

PyArmor transforms the malware in several ways:

  1. Bytecode Encryption: It converts standard Python code into a specialized, encrypted format that standard decompilers cannot read.
  2. BCC Mode: It converts Python functions into C functions, which are then compiled into machine instructions. This effectively hides the logic in a separate ELF (Executable and Linkable Format) file, making reverse engineering significantly harder.
  3. AES Encryption: The malware utilizes Advanced Encryption Standard (AES) with a 128-bit key in Counter (CTR) mode to encrypt strings and bytecode. This prevents analysts from simply reading text strings (like command-and-control URLs) to understand the malware’s behavior.

Analyzing VVS Stealer requires a multi-step process to strip away these protective layers.

Security researchers must first extract the payload from its PyInstaller package to locate the encrypted Python bytecode and the PyArmor runtime library.

get_encryption_key method

By reverse-engineering the PyArmor encryption keys (often found within the runtime DLL) and restoring the Python bytecode headers, analysts can decompile the code back into a human-readable format.

This process reveals the malware’s core logic, exposing capabilities that were previously hidden behind cryptographic barriers.

Malware Capabilities

Once deobfuscated, VVS Stealer reveals a suite of aggressive information-stealing features:

  • Discord Token Theft: The malware scans local files (.ldb and .log) for encrypted Discord tokens, decrypts them using Windows DPAPI (Data Protection API), and queries Discord’s API to harvest user details such as payment methods, friend lists, and phone numbers.
  • Session Injection: It kills running Discord processes and injects malicious JavaScript (obfuscated via standard JS tools) into the application. This allows the attacker to intercept active sessions, monitor network traffic, and capture password changes or view backup code.
  • Browser Data Extraction: VVS Stealer targets nearly 20 different web browsers (including Chrome, Edge, and Opera) to steal cookies, history, and autofill passwords.
  • Persistence: The malware copies itself to the Windows Startup folder, ensuring it runs every time the victim boots their computer. It also displays a fake “Fatal Error” message box to distract the user while it installs.
Injected JS configuration and exfiltration

VVS Stealer demonstrates how threat actors weaponize legitimate protection tools like PyArmor to create stealthy, effective malware.

A fake message box instructing the victim to restart the computer

By complicating the reverse-engineering process, they increase the time it takes for security vendors to develop detections.

Organisations must rely on advanced behavioural analysis and endpoint protection, rather than relying solely on static signatures, to defend against these obfuscated threats.

Follow us on Google News, LinkedIn, and X for daily cybersecurity updates. Contact us to feature your stories.

Dhivya

Divya is a Senior Journalist at Cyber Security news covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Recent Posts

Hackers Target AI Infrastructure With RCE, Prompt Injection and API Key Theft

Hackers are actively probing AI systems, turning exposed gateways and agent tools into routes for…

3 hours ago

Hackers Make Phishing Pages Change Their Code Every Time Someone Opens Them

Hackers are making some phishing pages harder to track by changing the code delivered to…

3 hours ago

Iran-Linked Hackers Reportedly Knock UK Power Plant Offline for Four Days

A cyber incident reportedly forced a British power plant to halt operations for about four…

4 hours ago

Russian Hackers Use New HOOKEDGE Malware to Spy on European Defense and Diplomatic Targets

Russian hackers have used a new backdoor called HOOKEDGE to target defense manufacturers, government bodies,…

5 hours ago

Ransomware Gang Claims AI Can Analyze 700GB of Stolen Data Every Hour

TITAN ransomware is pairing file encryption with an ambitious claim: artificial intelligence that can sort…

5 hours ago

Hackers Compromise Hundreds of WordPress Sites to Deploy Amatera Stealer via ClickFix

A fake student resume is being used to place a remote-access tool on researchers’ Windows…

6 hours ago