Analysis of VBScript Loader for Quima RAT
Score: 8/10

Analysis of VBScript Loader for Quima RAT

A sophisticated VBScript-based Java malware loader delivers Quima RAT by leveraging native Windows utilities for payload extraction and automated JRE installation.

Executive Summary

Analysis reveals a multi-stage delivery mechanism for Quima RAT that utilizes highly obfuscated VBScript to bypass traditional sandbox and automated analysis environments. The loader is notable for its ability to dynamically detect the presence of a Java Runtime Environment (JRE) on the host and, if missing, automatically download and install legitimate OpenJDK distributions (Adoptium, Azul, or Corretto) to ensure successful execution of the primary JAR payload.

The attack chain begins with an initial execution delay followed by the extraction of an embedded, Base64-encoded JAR from the VBScript's own file body. It abuses built-in Windows components such as certutil.exe for decoding and ADODB.Stream for binary manipulation, significantly reducing its footprint. The final stage involves the silent execution of the Quima RAT JAR via javaw.exe, which contains the core networking and data exfiltration capabilities.

This threat highlights the continued trend of 'living-off-the-land' techniques combined with cross-platform languages like Java to maintain stealth. Organizations should be aware that the presence of legitimate Java utilities in unusual directories (e.g., %LOCALAPPDATA%) may indicate an ongoing compromise.

Key Details

Threat Name

Quima RAT

Affects

—

Adversary

—

Malware/Tools

Quima RAT, Pay2Key, Drun, WEES Stealer

Report Score

8out of 10
Quality Score
Good
IOC Quality4
TTP Details9
Detection Guidance9
Enterprise Relevance7
Clarity & Structure8
Technical Depth8

Sources