Skip to main content
Mallory
Malware

PhantomVAI Loader

Tracked since Nov 25, 2025 · Updated 5 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors0Associated
ATT&CK14Techniques
IOCs44Tracked

PhantomVAI Loader is a C#/.NET malware loader tracked by Unit 42, previously referred to as Katz Stealer Loader and also known as VMDetectLoader. It has been distributed in phishing campaigns, including shipment-themed lures as well as sales, payment, and legal-action themes, using archived and obfuscated JavaScript or VBS attachments as the initial stage. These scripts execute Base64-encoded PowerShell that downloads image or GIF files containing a hidden Base64-encoded DLL payload via steganography, including samples where the payload was delimited by markers such as <<sudo_png>> and <<sudo_odt>>.

Once decoded and executed, PhantomVAI Loader performs anti-analysis checks focused on virtual machine detection using computer, BIOS, hard disk, PnP device, and Windows service information, and exits if it detects an analysis environment. The VM detection logic reportedly appears based on the GitHub VMDetector project. The loader establishes persistence through scheduled tasks that run PowerShell commands or wscript.exe, and can also use a Run registry key. It downloads a final payload from a command-line-supplied C2 URL and injects it into a target process using process hollowing, most commonly MSBuild.exe, including processes under Framework, Framework64, System32, or SysWOW64 paths.

Unit 42 initially observed PhantomVAI Loader delivering Katz Stealer, a malware-as-a-service infostealer advertised on BreachForums, exploit[.]in, and xss[.]is. Later campaigns used the loader to deploy additional malware families including AsyncRAT, XWorm, FormBook, and DCRat. Reported targeting was global and included organizations in manufacturing, education, utilities, technology, healthcare, information, and government sectors.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
MITRE ATT&CK

Techniques & procedures

14 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

2 techniques
T1566PhishingEvidence2

The infection chain starts with a phishing email that contains a malicious attachment.

T1566.001Spearphishing AttachmentEvidence1

The phishing email attachments are archived JavaScript or VBS files.

Execution

6 techniques
T1053.005Scheduled TaskEvidence1

PhantomVAI Loader uses one or all of the following methods to create persistence: A scheduled task executes PowerShell commands to download a file from an attacker-controlled URL.

T1059.001PowerShellEvidence2

The script embeds a Base64-encoded PowerShell script and executes it to download and deliver the next stage of the infection.

T1059.005Visual BasicEvidence2

The phishing email attachments are archived JavaScript or VBS files.

T1059.007JavaScriptEvidence2

The phishing email attachments are archived JavaScript or VBS files.

T1127.001MSBuildEvidence2

In most of the cases observed at the time of writing this article, PhantomVAI Loader injected the payload into the Microsoft Build Engine executable, MSBuild.exe.

T1204User ExecutionEvidence1

Внутри - исполняемый файл, замаскированный под документ... Двойной клик - и малварь запущена.

Persistence

2 techniques
T1053.005Scheduled TaskEvidence1

PhantomVAI Loader uses one or all of the following methods to create persistence: A scheduled task executes PowerShell commands to download a file from an attacker-controlled URL.

T1547.001Registry Run Keys / Startup FolderEvidence1

A Run registry key to execute a specific file. The file’s path is also provided as a command-line argument.

Privilege Escalation

4 techniques
T1053.005Scheduled TaskEvidence1

PhantomVAI Loader uses one or all of the following methods to create persistence: A scheduled task executes PowerShell commands to download a file from an attacker-controlled URL.

T1055Process InjectionEvidence1

"...Uses Steganography in Images to Inject Katz Stealer..."

T1055.012Process HollowingEvidence2

It then injects this payload into a target process that is also defined by a command-line parameter, using the process hollowing technique.

T1547.001Registry Run Keys / Startup FolderEvidence1

A Run registry key to execute a specific file. The file’s path is also provided as a command-line argument.

Stealth

6 techniques
T1027Obfuscated Files or InformationEvidence1

Threat actors obfuscate these scripts in an attempt to bypass detections.

T1027.003SteganographyEvidence3

The PowerShell script downloads a GIF or other image file that conceals the loader payload. This technique is known as steganography.

T1055Process InjectionEvidence1

"...Uses Steganography in Images to Inject Katz Stealer..."

T1055.012Process HollowingEvidence2

It then injects this payload into a target process that is also defined by a command-line parameter, using the process hollowing technique.

T1127.001MSBuildEvidence2

In most of the cases observed at the time of writing this article, PhantomVAI Loader injected the payload into the Microsoft Build Engine executable, MSBuild.exe.

T1497Virtualization/Sandbox EvasionEvidence3

When PhantomVAI Loader is executed, it performs checks to determine whether it is running on a virtual machine... If any of the checks return a true response, PhantomVAI Loader exits and stops executing.

Discovery

1 technique
T1497Virtualization/Sandbox EvasionEvidence3

When PhantomVAI Loader is executed, it performs checks to determine whether it is running on a virtual machine... If any of the checks return a true response, PhantomVAI Loader exits and stops executing.

Indicators of compromise

Observables

44 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+1 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching44Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping14Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.