Skip to main content
Mallory
Malware1 associated actor

Yokai

Tracked since Nov 25, 2025 · Updated 27 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors1Associated
ATT&CK12Techniques
IOCs5Tracked
Type
Backdoor
Capabilities
PersistenceDLL sideloadingDefense evasionReconnaissanceExfiltration
Delivery
LureUSB
Platforms
Windows

Yokai is a Windows backdoor associated with China-aligned Mustang Panda activity, also tracked as Hive0154 and Earth Preta. Publicly documented in December 2024, it has been used in espionage campaigns targeting Thai officials and government organizations, including the Royal Thai Police.

Yokai provides operators with remote command execution through a reverse shell. It launches the Windows command interpreter with input and output connected to anonymous pipes, enabling operators to submit arbitrary commands and retrieve their output. It collects the hostname and current username during initial registration and supports data exfiltration. Analyzed variants communicate over HTTP using XOR-encrypted messages; the initial server response supplies a session identifier and a new encryption key for subsequent exchanges. Yokai uses a mutex to prevent duplicate instances and establishes persistence through scheduled tasks or a user-level registry autorun entry, depending on the variant.

Delivery chains have used Thai-language archives containing malicious Windows shortcuts and decoy documents themed around United States law enforcement or international cooperation. Some chains abuse alternate data streams and legitimate Windows utilities to extract and execute payloads. Yokai has been executed through DLL sideloading using legitimate applications, while another campaign used a trojanized installer with dynamically resolved API calls. It is also distributed by USB-propagating malware, including SnakeDisk and TONEDISK, also known as WispRider. SnakeDisk restricts its own execution to systems geolocated in Thailand before deploying Yokai; this restriction is not an established intrinsic capability of the backdoor.

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
Threat actors

Associated threat actors

1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
Mustang Panda

SnakeDisk, a USB-propagating worm used to deliver Yokai and updated ToneShell backdoors.

via trendai security blogtrendaisecurity.com
MITRE ATT&CK

Techniques & procedures

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

Initial Access

1 technique
T1091Replication Through Removable MediaEvidence1

"Mustang Panda Deploys SnakeDisk USB Worm"

Execution

5 techniques
T1053Scheduled Task/JobEvidence1

If IdrInit.exe is executed as a non-admin user, Yokai creates a scheduled task, even if it already exists, named “MicrosoftTSUpdate” which executes IdrInit.exe every five minutes.

T1053.005Scheduled TaskEvidence1

Upon execution, the malware first checks for the "-project-mod" argument and then establishes persistence via a scheduled task if the user is not a member of the Administrator's group: cmd.exe /c schtasks /create /f /sc MINUTE /MO 5 /tn "MicrosoftEdgeAcModuleUpdateTask" /tr "<path> -project-mod"

T1059Command and Scripting InterpreterEvidence1

facilitate two active reverse shells in parallel... Yokai, a backdoor that sets up a reverse shell to execute arbitrary commands.

T1059.003Windows Command ShellEvidence1

Similar to previous variants, a reverse shell is set up using anonymous pipes connected to stdin and stdout handles of a new cmd.exe process... Toneshell operators can write string data to the pipe using the correct shell_id and execute arbitrary commands on the machine.

T1559Inter-Process CommunicationEvidence1

Spawns cmd[.]exe and attaches its STDIN and STDOUT to anonymous pipes.

Persistence

2 techniques
T1053Scheduled Task/JobEvidence1

If IdrInit.exe is executed as a non-admin user, Yokai creates a scheduled task, even if it already exists, named “MicrosoftTSUpdate” which executes IdrInit.exe every five minutes.

T1053.005Scheduled TaskEvidence1

Upon execution, the malware first checks for the "-project-mod" argument and then establishes persistence via a scheduled task if the user is not a member of the Administrator's group: cmd.exe /c schtasks /create /f /sc MINUTE /MO 5 /tn "MicrosoftEdgeAcModuleUpdateTask" /tr "<path> -project-mod"

Privilege Escalation

2 techniques
T1053Scheduled Task/JobEvidence1

If IdrInit.exe is executed as a non-admin user, Yokai creates a scheduled task, even if it already exists, named “MicrosoftTSUpdate” which executes IdrInit.exe every five minutes.

T1053.005Scheduled TaskEvidence1

Upon execution, the malware first checks for the "-project-mod" argument and then establishes persistence via a scheduled task if the user is not a member of the Administrator's group: cmd.exe /c schtasks /create /f /sc MINUTE /MO 5 /tn "MicrosoftEdgeAcModuleUpdateTask" /tr "<path> -project-mod"

Stealth

3 techniques
T1036MasqueradingEvidence2

The shortcut files named in Thai... Translated, both documents are called “United States Department of Justice.pdf” and “Urgently, United States authorities ask for international cooperation in criminal matters.docx” respectively.

T1480.002Mutual ExclusionEvidence2

Yokai looks for the presence of a mutex named “Mutex_Local_Windows_1547”. If it exists, control returns to IdrInit.exe and it terminates itself; otherwise, the mutex is created.

T1564.004NTFS File AttributesEvidence1

Clicking the shortcut files triggers the copying of content from an alternate data stream (ADS) named “file.exf” into decoy PDF and Word documents using esentutl.

Lateral Movement

1 technique
T1091Replication Through Removable MediaEvidence1

"Mustang Panda Deploys SnakeDisk USB Worm"

Command and Control

3 techniques
T1071Application Layer ProtocolEvidence1

The most recent Pubload variant has undergone minor changes and now supports decoy C2 servers and downloading shellcode payloads via HTTP POST in addition to raw TCP imitating TLS traffic.

T1071.001Web ProtocolsEvidence1

The encrypted data is transmitted to the first available C2... The following table shows the fixed values for specific HTTP headers.

T1573.001Symmetric CryptographyEvidence1

The data is then encrypted using a series of XOR operations with a hardcoded key, “ExtensionsWindow”.

Indicators of compromise

Observables

5 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
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 matching5Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups 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 mapping12Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.