MaaS Malware Builder Automates Creation of Windows Infostealers With Anti-VM Evasion

A Python-based malware builder can generate customized Windows infostealers that avoid some analysis environments, persist after login, and send stolen data to an attacker-controlled webhook.

K7 Labs found the builder inside a nested archive and described its design as consistent with a malware-as-a-service (MaaS) model. The analysis does not establish how widely the tool has been distributed or used.

Researchers began with a RAR file named my new program called 2.rar. Inside it, they found TokenGrabberBuilder.zip, which contained the builder and an embedded stealer payload.

By separating the builder from the payload, the tool lets an operator create different samples without rewriting the malware.

MaaS Builder Automates Evasive Infostealers

The builder offers three output options: a Windows executable made with Nuitka, one packaged with PyInstaller, or an uncompiled Python script.

Its interface presents Nuitka as the slower option with “stronger AV evasion.” It also searches common folders and Windows Registry entries for a Python installation and automatically installs required dependencies, reducing setup work for the operator.

An operator enters a webhook URL, which the builder saves in webhook.txt for later sessions. Before placing the address in the payload, it XOR-encodes the URL with the key 0x5A and then Base64-encodes it.

The stealer decodes the address at runtime. This keeps the endpoint out of plaintext in the compiled file; changing the webhook can also change the resulting binary hash.

Suspicious Nested Archive’s VirusTotal Detection (Source: k7computing)
Suspicious Nested Archive’s VirusTotal Detection (Source: k7computing)

The payload similarly conceals sensitive strings, including commands and registry paths, and loads some libraries only when needed. These steps can complicate simple static checks, but they do not make the malware invisible.

Before stealing data, the payload checks whether a debugger is attached through the Windows IsDebuggerPresent() API.

It also looks for processes associated with VirtualBox, Xen, QEMU and Parallels, exits when the disk is smaller than 50 GB, and varies its sleep time.

These checks are intended to avoid virtual machines and short-lived sandboxes, though they could also stop execution on a legitimate small-disk system.

Dependency Installation (Source: k7computing)
Dependency Installation (Source: k7computing)

To run again after login, the stealer creates a WindowsUpdate value under the current user’s Windows Run key and an ONLOGON scheduled task. The task is configured to launch without a visible console window.

K7 says the payload targets data from 17 Chromium-based browsers, including saved logins, history, payment details and cookies.

It also searches Firefox data, saved Wi-Fi passwords, Discord tokens and Roblox session cookies. The stealer gathers host and IP-based location details, then places the results in an in-memory ZIP archive and sends it by HTTP POST to the configured webhook, k7computing said.

Indicators of Compromise

IOC typeIndicatorContext
SHA-2561ab7846f93678fb727c95df133c1b0a050760b11dd164ca5f6408e84398b676eOuter RAR archive, my new program called 2.rar
SHA-2567053dc55b4ba193ea162f01a329427fd244d8163a65cbf2a7f86c04c849c8114Nested TokenGrabberBuilder.zip archiv

Note: IP addresses and domains are intentionally defanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.

Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team 

Varshini
Varshini
Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies..

Trending News

Related Stories