Yashma
- Type
- Ransomware
- Capabilities
- PersistenceDefense evasionReconnaissanceExtortion
- Delivery
- PhishingLure
- Platforms
- Windows
Yashma is a Windows ransomware family observed in the wild since May 2022. It is a rebranded derivative of Chaos ransomware version 5, produced using the Chaos ransomware builder. Analyzed samples are 32-bit .NET executables. Yashma is distinct from the unrelated Chaos ransomware-as-a-service operation that emerged in 2025.
Yashma encrypts selected files, generates ransom notes, and establishes persistence through registry modifications and startup shortcuts. It checks the system input language and can terminate on systems configured for Azerbaijani or Turkish. Its recovery-inhibition features include deleting shadow copies and backup catalogs, disabling Windows recovery settings and Task Manager, and stopping backup services. Unlike earlier Chaos versions that destroyed files above a size threshold, Yashma supports encryption of larger files. Observed variants also overwrite original unencrypted file contents before deletion, complicating forensic recovery. Its discovery behavior includes enumerating files, drives, and network resources.
An unidentified threat actor used a customized Yashma variant in a campaign beginning in June 2023 that targeted English-speaking countries, Bulgaria, China, and Vietnam. This variant mimicked WannaCry through its ransom-note wording and desktop wallpaper. It downloaded ransom notes from an actor-controlled GitHub repository rather than embedding their text in the executable, reducing the presence of static detection signatures. SolidBit is another ransomware variant linked to the Yashma/Chaos lineage.
Techniques & procedures
18 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
Conclusion: “Yashma” ransomware can be distributed by using tactics like social engineering, phishing, spam email, malicious attachment, etc.
Conclusion: “Yashma” ransomware can be distributed by using tactics like social engineering, phishing, spam email, malicious attachment, etc.
Execution
2 techniques
Execution
vssadmin delete shadows /all /quiet & wmic shadowcopy delete
T1106: Native API
Persistence
2 techniques
Persistence
The ransomware maintains persistence by modifying the registry change and creating shortcuts.
The variant we observed also established persistence in the Run registry key. Still, it was modified to create a “.url” bookmark file in the startup folder that points to the dropped executable located at “%AppData%\Roaming\svchost.exe”.
Privilege Escalation
2 techniques
Privilege Escalation
The ransomware maintains persistence by modifying the registry change and creating shortcuts.
The variant we observed also established persistence in the Run registry key. Still, it was modified to create a “.url” bookmark file in the startup folder that points to the dropped executable located at “%AppData%\Roaming\svchost.exe”.
Stealth
2 techniques
Stealth
T1027: Obfuscated Files or Information
After encrypting a file, the ransomware wipes the contents of the original unencrypted files, writes a single character “?” and then deletes the file.
Discovery
4 techniques
Discovery
T1016: System Network Configuration Discovery
T1049: System Network Connections Discovery
Below is the list of valid extensions it will check before encrypting the file. The ransomware excludes the following directories from the encryption.
The ransomware looks for drives to spread the ransomware over the network so that it moves laterally and infects other devices.
Collection
1 technique
Collection
Collection (TA0009) T1005: Data from Local System
Command and Control
1 technique
Command and Control
Instead of embedding the ransom note strings in the binary, they download the ransom note from the actor-controlled GitHub repository by executing an embedded batch file.
Impact
4 techniques
Impact
The ransomware then encrypts the file using AES-256 encryption algorithm with the key size of 128 bits.
It will stop a listing of backup services that are running in the background at a time when the ransomware instance is running.
The ransomware deletes the shadow copies and backup, while also disabling the recovery mode and task manager.
After encryption, the Yashma ransomware variant sets the wallpaper on the victim’s machine, as seen in the image below.
Observables
2 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.