How to remove Dharma (.WHY) ransomware from the operating system?

Also Known As: Dharma (.WHY) virus
Distribution: Low
Damage level: Severe

Dharma (.WHY) ransomware removal instructions

What is Dharma (.WHY)?

Discovered by Raby, Dharma (.WHY) is the title of a malicious program that is part of the Crysis/Dharma ransomware family. Systems infected with it have their data encrypted and receive ransom demands for the decryption. As Dharma (.WHY) encrypts, compromised files are renamed following this pattern: original filename, victim's unique ID, cyber criminals' email address and the ".WHY" extension. For example, a file like "1.jpg" would appear as "[].WHY"- after encryption. Once this process is complete, a text file - "FILES ENCRYPTED.txt" is created on the desktop and a pop-up window is displayed.

The text file states that the victims' data has been locked and if they want to recover it, they are to write to the email addresses listed. The pop-up contains a more detailed ransom note. It informs users that their files have been encrypted and the emails they must send - have to include the ID assigned to them. Should the criminals behind the infection fail to respond within 12 hours, victims can use the secondary mail address. The message ends with warns. They alert users that renaming the encrypted files and/or attempt decryption with third party tools/software - may cause permanent data loss. Unfortunately, it is true that in many cases of ransomware infections, without the involvement of cyber criminals responsible - decryption is impossible. It might be, if the malware is still in developmental stages and/or has bugs (flaws). Regardless of the circumstances, it is expressly advised against communicating with and/or meeting the demands of cyber criminals. As often, despite paying the ransom - victims do not receive the promised decryption tools. Therefore, their data remains encrypted and they experience significant financial losses. To prevent further encryptions, Dharma (.WHY) ransomware must be eliminated from the operating system. However, removal will not restore already affected files. The only viable solution is recovering them from a backup. Provided, if one was made before the infection and was stored in a separate location.

Screenshot of a message encouraging users to pay a ransom to decrypt their compromised data:

Dharma (.WHY) decrypt instructions (pop-up)

Ransomware is designed to encrypt data and request a ransom to be paid for the decryption tools/software. BhacksDRVHellomynameisransomBboo are a few examples of malware within this classification. However, they are not identical - there are two main differences: the cryptographic algorithm they use (symmetric or asymmetric) and the demanded payment size. The ransoms tend to range from three-digits to four-digits (in USD). Digital currencies (usually, cryptocurrencies) are used for these payments, as transactions of them are difficult/impossible to trace. To ensure data safety - backups should be stored in remote servers and/or unplugged storage devices. Ideally, multiple backup copies should be kept in several different locations.

How did ransomware infect my computer?

The main ways that ransomware and other malware spread is via trojans, spam campaigns, software "cracking" (activation) tools and fake updaters, as well as through untrustworthy download channels. Trojans are malicious programs, designed to cause chain infections (i.e. download/install additional malware). The term "spam campaign" defined deceptive/scam emails sent on a mass scale. This mail is typically disguised as "official", "urgent", "important", "priority" and similar. They have infectious files attached (or contain links leading to them). These attachments can be in various formats (e.g. Microsoft Office and PDF documents, archive and executable files, JavaScript, etc.). When a virulent file is opened - it jumpstarts the infection process. Illegal activation tools ("cracks") can download/install malicious software, rather than activate the desired product. Illegitimate updaters infect systems by exploiting flaws of outdated programs and/or simply install malware instead of the promised updates. Untrustworthy download sources, like: unofficial and free file-hosting sites, Peer-to-Peer sharing networks (BitTorrent, eMule, Gnutella, etc.) and other third party downloaders - can offer malware, by presenting it as ordinary content and/or pre-packing it with such).

Threat Summary:
Name Dharma (.WHY) virus
Threat Type Ransomware, Crypto Virus, Files locker
Encrypted Files Extension .WHY (files are also appended with a unique ID and cyber criminals' email address)
Ransom Demanding Message FILES ENCRYPTED.txt and text presented in the pop-up window
Cyber Criminal Contact and
Detection Names Avast (Win32:RansomX-gen [Ransom]), BitDefender (Trojan.Ransom.Crysis.E), ESET-NOD32 (A Variant Of Win32/Filecoder.Crysis.P), Kaspersky (, Full List Of Detections (VirusTotal)
Symptoms Cannot open files stored on your computer, previously functional files now have a different extension (for example, my.docx.locked). A ransom demand message is displayed on your desktop. Cyber criminals demand payment of a ransom (usually in bitcoins) to unlock your files.
Distribution methods Infected email attachments (macros), torrent websites, malicious ads.
Damage All files are encrypted and cannot be opened without paying a ransom. Additional password-stealing trojans and malware infections can be installed together with a ransomware infection.

To eliminate malware infections our security researchers recommend scanning your computer with Spyhunter.
▼ Download Spyhunter
Free scanner checks if your computer is infected. To remove malware, you have to purchase the full version of Spyhunter.

How to protect yourself from ransomware infections?

Suspicious and/or irrelevant emails, especially ones received from unknown addresses - must not be opened. Any attachments (or links) present in dubious letters - must never be opened, as these files are a potential source of infection. Only official and verified downloads should be used. Programs should be activated and updated with tools/functions, provided by legitimate developers. Illegal activation ("cracking") tools and third party updaters are advised against use, as they can download/install malware. It is paramount to device/user safety, to have reputable anti-virus/anti-spyware installed. Furthermore, this software is to be kept up-to-date, used to perform regular system scans and remove detected threats/issues. If your computer is already infected with Dharma (.WHY), we recommend running a scan with Spyhunter for Windows to automatically eliminate this ransomware.

Text presented in Dharma (.WHY) ransomware's pop-up window:

Don't worry,you can return all your files!
If you want to restore them, follow this link:email YOUR ID 1E857D00
If you have not been answered via the link within 12 hours, write to us by
Do not rename encrypted files.
Do not try to decrypt your data using third party software, it may cause permanent data loss.
Decryption of your files with the help of third parties may cause increased price (they add their fee to our) or you can become a victim of a scam.

Screenshot of Dharma (.WHY)'s text file ("FILES ENCRYPTED.txt"):

Dharma (.WHY) ransomware text file (FILES ENCRYPTED.txt)

Text presented in this file:

all your data has been locked us
You want to return?
write email or 

Screenshot of files encrypted by Dharma (.WHY) (".WHY" extension):

Files encrypted by Dharma (.WHY) ransomware (.WHY extension)

Dharma (.WHY) ransomware removal:

Instant automatic malware removal: Manual threat removal might be a lengthy and complicated process that requires advanced computer skills. Spyhunter is a professional automatic malware removal tool that is recommended to get rid of malware. Download it by clicking the button below:
▼ DOWNLOAD Spyhunter By downloading any software listed on this website you agree to our Privacy Policy and Terms of Use. Free scanner checks if your computer is infected. To remove malware, you have to purchase the full version of Spyhunter.

Quick menu:

Step 1

Windows XP and Windows 7 users: Start your computer in Safe Mode. Click Start, click Shut Down, click Restart, click OK. During your computer start process, press the F8 key on your keyboard multiple times until you see the Windows Advanced Option menu, and then select Safe Mode with Networking from the list.

Safe Mode with Networking

Video showing how to start Windows 7 in "Safe Mode with Networking":

Windows 8 users: Start Windows 8 is Safe Mode with Networking - Go to Windows 8 Start Screen, type Advanced, in the search results select Settings. Click Advanced startup options, in the opened "General PC Settings" window, select Advanced startup. Click the "Restart now" button. Your computer will now restart into the "Advanced Startup options menu". Click the "Troubleshoot" button, and then click the "Advanced options" button. In the advanced option screen, click "Startup settings". Click the "Restart" button. Your PC will restart into the Startup Settings screen. Press F5 to boot in Safe Mode with Networking.

Windows 8 Safe Mode with networking

Video showing how to start Windows 8 in "Safe Mode with Networking":

Windows 10 users: Click the Windows logo and select the Power icon. In the opened menu click "Restart" while holding "Shift" button on your keyboard. In the "choose an option" window click on the "Troubleshoot", next select "Advanced options". In the advanced options menu select "Startup Settings" and click on the "Restart" button. In the following window you should click the "F5" button on your keyboard. This will restart your operating system in safe mode with networking.

windows 10 safe mode with networking

Video showing how to start Windows 10 in "Safe Mode with Networking":

Step 2

Log in to the account infected with the Dharma (.WHY) virus. Start your Internet browser and download a legitimate anti-spyware program. Update the anti-spyware software and start a full system scan. Remove all entries detected.

If you cannot start your computer in Safe Mode with Networking, try performing a System Restore.

Video showing how to remove ransomware virus using "Safe Mode with Command Prompt" and "System Restore":

1. During your computer start process, press the F8 key on your keyboard multiple times until the Windows Advanced Options menu appears, and then select Safe Mode with Command Prompt from the list and press ENTER.

Boot your computer in Safe Mode with Command Prompt

2. When Command Prompt mode loads, enter the following line: cd restore and press ENTER.

system restore using command prompt type cd restore

3. Next, type this line: rstrui.exe and press ENTER.

system restore using command prompt rstrui.exe

4. In the opened window, click "Next".

restore system files and settings

5. Select one of the available Restore Points and click "Next" (this will restore your computer system to an earlier time and date, prior to the Dharma (.WHY) ransomware virus infiltrating your PC).

select a restore point

6. In the opened window, click "Yes".

run system restore

7. After restoring your computer to a previous date, download and scan your PC with recommended malware removal software to eliminate any remaining Dharma (.WHY) ransomware files.

To restore individual files encrypted by this ransomware, try using Windows Previous Versions feature. This method is only effective if the System Restore function was enabled on an infected operating system. Note that some variants of Dharma (.WHY) are known to remove Shadow Volume Copies of the files, so this method may not work on all computers.

To restore a file, right-click over it, go into Properties, and select the Previous Versions tab. If the relevant file has a Restore Point, select it and click the "Restore" button.

Restoring files encrypted by CryptoDefense

If you cannot start your computer in Safe Mode with Networking (or with Command Prompt), boot your computer using a rescue disk. Some variants of ransomware disable Safe Mode making its removal complicated. For this step, you require access to another computer.

To regain control of the files encrypted by Dharma (.WHY), you can also try using a program called Shadow Explorer. More information on how to use this program is available here.

shadow explorer screenshot

To protect your computer from file encryption ransomware such as this, use reputable antivirus and anti-spyware programs. As an extra protection method, you can use programs called HitmanPro.Alert and EasySync CryptoMonitor, which artificially implant group policy objects into the registry to block rogue programs such as Dharma (.WHY) ransomware.

Note that Windows 10 Fall Creators Update includes a "Controlled Folder Access" feature that blocks ransomware attempts to encrypt your files. By default, this feature automatically protects files stored in the Documents, Pictures, Videos, Music, Favorites, and Desktop folders.

Controll Folder Access

Windows 10 users should install this update to protect their data from ransomware attacks. Here is more information on how to get this update and add an additional protection layer from ransomware infections.

HitmanPro.Alert CryptoGuard - detects encryption of files and neutralises any attempts without need for user-intervention:

hitmanproalert ransomware prevention application

Malwarebytes Anti-Ransomware Beta uses advanced proactive technology that monitors ransomware activity and terminates it immediately - before reaching users' files:

malwarebytes anti-ransomware

  • The best way to avoid damage from ransomware infections is to maintain regular up-to-date backups. More information on online backup solutions and data recovery software Here.

Other tools known to remove Dharma (.WHY) ransomware:

About the author:

Tomas Meskauskas

Tomas Meskauskas - expert security researcher, professional malware analyst.

I am passionate about computer security and technology. I have an experience of over 10 years working in various companies related to computer technical issue solving and Internet security. I have been working as an author and editor for since 2010. Follow me on Twitter and LinkedIn to stay informed about the latest online security threats. Contact Tomas Meskauskas.

PCrisk security portal is brought by a company RCS LT. Joined forces of security researchers help educate computer users about the latest online security threats. More information about the company RCS LT.

Our malware removal guides are free. However, if you want to support us you can send us a donation.

Malware activity

Global malware activity level today:

Medium threat activity

Increased attack rate of infections detected within the last 24 hours.

QR Code
Dharma (.WHY) virus QR code
A QR code (Quick Response Code) is a machine-readable code which stores URLs and other information. This code can be read using a camera on a smartphone or a tablet. Scan this QR code to have an easy access removal guide of Dharma (.WHY) virus on your mobile device.
We Recommend:

Get rid of Windows malware infections today:

Download Spyhunter

Platform: Windows

Editors' Rating for Spyhunter:
Editors ratingOutstanding!

[Back to Top]

Free scanner checks if your computer is infected. To remove malware, you have to purchase the full version of Spyhunter.