Dharma
- Type
- Ransomware
- Capabilities
- ExtortionPersistenceDefense evasion
- Delivery
- Phishing
- Platforms
- Windows
Dharma, also known as CrySiS or Crysis, is a Windows-targeting ransomware family active since 2016 and distributed through a ransomware-as-a-service affiliate model. It encrypts business and personal files, including documents, databases, archives, media, and source code, and demands payment for decryption. Victims have included healthcare organizations, breweries, maritime ports, and other businesses across multiple countries.
Affiliates commonly obtain access through exposed Remote Desktop Protocol services using brute force, password spraying, or stolen credentials, then deploy the ransomware manually. Some intrusions have involved exploitation of SQL server applications. Operators use credential-recovery and network-discovery utilities, move laterally through RDP, and authenticate to network shares before encryption. Dharma has also been delivered through phishing, including a campaign in which Agent Tesla, also called Negasteal, retrieved and decoded the ransomware payload through a paste-sharing service.
Dharma variants establish persistence through Windows autorun entries and Startup folders, delete Volume Shadow Copies, and repeatedly terminate selected database and email processes or services to release files for encryption. They use multithreaded encryption, can encrypt accessible network shares, and can detect newly available drives. Analyzed variants combine AES file encryption with RSA protection of encryption keys, obfuscate embedded API names, and resolve imports at runtime. Encrypted filenames incorporate variant-specific extensions and victim or attacker identifiers, while ransom messages direct victims to contact the attackers. Encrypting accessible shares does not imply autonomous lateral movement. Publicly released keys enabled recovery for some early CrySiS variants, but do not provide universal decryption for later Dharma variants.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Techniques & procedures
26 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
4 techniques
Initial Access
Dharma is typically deployed manually through RDP using weak or leaked credentials.
“Dharma, Phobos, and GlobeImposter commonly target small and mid-sized organizations, often through exposed remote desktop services.”
Some of these criminals were dealing with the penetration effort, using multiple mechanisms to compromise IT networks, including brute force attacks, SQL injections, stolen credentials and phishing emails with malicious attachments.
According to the sample that we encountered, the variant arrives through a phishing email, as seen in Figure 1.
Execution
1 technique
Execution
During these sessions, the actors both pass instructions to the CLI and use the graphical user interfaces (GUIs) built into the aforementioned utilities.
Persistence
5 techniques
Persistence
Dharma is typically deployed manually through RDP using weak or leaked credentials.
It then copies itself to the %System% directory using the original filename and creates autorun registry entries under HKLM and HKCU.
“Dharma, Phobos, and GlobeImposter commonly target small and mid-sized organizations, often through exposed remote desktop services.”
Finally, the ransomware will configure itself to automatically start when you login to Windows. This allows it to encrypt new files that are created since it was last executed.
The malware also copies itself into both Start Menu Startup folders.
Privilege Escalation
3 techniques
Privilege Escalation
Dharma is typically deployed manually through RDP using weak or leaked credentials.
Finally, the ransomware will configure itself to automatically start when you login to Windows. This allows it to encrypt new files that are created since it was last executed.
The malware also copies itself into both Start Menu Startup folders.
Stealth
6 techniques
Stealth
Dharma uses the RC4 stream cipher to decrypt embedded strings that contain Windows API function names.
When executed, Dharma uses the RC4 stream cipher to decrypt embedded strings that contain Windows API function names. It resolves these function addresses at runtime.
Fileless delivery also adds a further challenge in removing this threat, as it leaves no trace after execution.
First was the execution of a bat file called shadow.bat, which deletes shadow files vssadmin delete shadows /all
Dharma is typically deployed manually through RDP using weak or leaked credentials.
If the Windows version is older than Windows Vista, or if the mutexes already exist, Dharma exits.
Defense Impairment
2 techniques
Defense Impairment
It then copies itself to the %System% directory using the original filename and creates autorun registry entries under HKLM and HKCU.
The tool was used to identify and disable antimalware solutions.
Credential Access
1 technique
Credential Access
Systems found during this scanning process are subject to brute force or dictionary attacks. If a user has inappropriate account credentials, then threat actors can easily take those very credentials.
Discovery
4 techniques
Discovery
It stops database services such as Firebird and MSSQL, terminates processes including postgres.exe, mysqld.exe, sqlservr.exe, and Outlook.
As Process Hacker can be used to gain an overview of processes currently being used...
Атакующие используют консольную утилиту NS ... для сканирования общих ресурсов сети и подключения их как сетевых дисков.
If the Windows version is older than Windows Vista, or if the mutexes already exist, Dharma exits.
Lateral Movement
2 techniques
Lateral Movement
Many Dharma intrusions begin when threat actors gain access to a Windows system through Remote Desktop Protocol (RDP).
Using the collected account information, lateral movement can occur to other systems within the network. In an actual attack case involving Crysis, the threat actor used RDP for lateral movement into other systems within the network. | Crysis and Venus are both major ransomware types known to target externally exposed remote desktop services. Actual logs from the AhnLab Smart Defense (ASD) infrastructure also show attacks being launched through RDP.
Collection
1 technique
Collection
Many of the hospital's records were encrypted due to the attack, and these included files containing patient information such as names, home addresses, dates of birth, social security numbers, driver license numbers, credit card information, phone numbers, and medical data.
Command and Control
1 technique
Command and Control
Eventually, the loader will connect to “hastebin[.]com” and decode the binary (Crysis) from the command-and-control (C&C) server
Exfiltration
1 technique
Exfiltration
It would be unusual for ransomware to encrypt and then exfiltrate information should the malware's purpose be simply to secure a blackmail payment. However, as the threat actor was present on ABH servers and details are thin on the ground, it is possible this data has made its way into the wrong hands.
Impact
3 techniques
Impact
Dharma affiliates seek to map and authenticate to network shares in order to encrypt them.
May attempt to stop services running on servers in order to be able to encrypt files accessed by those services.
Prior to attempting to execute Dharma, threat actors will typically attempt to delete shadow copies or disable host file backups
Observables
44 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
66 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.