This article is created to help you remove Dharma ransomware’s .onion variant and restore .id-{random}.[felix_dies@aol.com].onion encrypted files.
A new version of Dharma ransomware has been reported to be spreading, this time using the .onion file extension added to the files it encrypts. The new version of Dharma ransomware is believed to be very similar to the old one and just like it, encrypt files on the compromised computer after which change the wallpaper on the compromised computer and then demand victims to pay a hefty ransom fee to restore their encrypted files. In case your computer has been infected by the .onion Dharma ransomware recommendations are to read this article thoroughly.
Threat Summary
Name |
.onion file virus |
Type | Ransomware |
Short Description | .Onion virus, also calling itself Dharma encrypts user files and leaves as contact e-mail addresses to contact the criminals behind it and pay a ransom fee to restore encrypted files. |
Symptoms | Changes file extension of encrypted files to .onion. Changes wallpaper to one with ransom instructions that have ransom e-mail. |
Distribution Method | Via an Exploit kit, Dll file attack, malicious JavaScript or a drive-by download of the malware itself in an obfuscated manner. |
Detection Tool |
See If Your System Has Been Affected by malware
Download
Malware Removal Tool
|
User Experience | Join our forum to Discuss .onion file virus. |
Data Recovery Tool | Windows Data Recovery by Stellar Phoenix Notice! This product scans your drive sectors to recover lost files and it may not recover 100% of the encrypted files, but only few of them, depending on the situation and whether or not you have reformatted your drive. |
Update May 2017 – New Data Recovery Method
It has been brought to our attention that victims of the latest Dharma .onion ransomware infection variants have managed to restore a very high percentage (over 90%) of their files using a very unique method – converting files into virtual drives and then using partition recovery option on data recovery programs. This method takes advantage of the converting the files into a .VHD file type which is a virtual drive. Since there are new data recovery programs specifically designed to recover partitions, one approach is to restore files encyrpted by Dharma ransomware is to convert the encrypted files into .VHD files and then try to recover them using partition recovery software. Since the algorithm that encrypts files actually alters only a small portion of the file, you have a much higher chance of recovering the files if you change them into .VHD type.
The methods have been reported to not be a full guarantee to recover all the files, but if you haven’t reinstalled your operating system yet, we advise you to follow them. But first, make sure to remove Dharma’s malicious files from the instructions at the bottom of these article. Here are the instructions:
.Onion Dharma – How Does It Spread
For the distribution process of this variant of Dharma ransomware to be successful, an advanced combination of tools may be used by the cyber-criminals. These tools and software may include;
- Obfuscators for executable files.
- An exploit kit.
- File joiner programs.
- Multiple online hosts.
- Malicious scripts (JavaScript).
- Distribution websites for the download of the infection.
- Spamming services as well as spam bots.
These tools, combined altogether may result in the successful distribution of the .onion Dharma variant In various online locations, such as:
- Social media sites.
- Spammed as a messages, portraying to be legitimate.
- Spammed on chat services, such as Skype, Messenger, etc.
- Uploaded on suspicious websites or via compromised torrent sites as fake setups, key generators or activators for software.
If by e-mail, deceptive techniques are used to trick users into either opening a malicious e-mail attachment or opening a malicious web link. This results in the dropping of the malicious files of Dharma .onion virus on the compromised system.
.Onion File Virus – Infection Activity
After the victim has opened the malicious file, one way or another, the files of Dharma ransomware are dropped on the infected computer. The files have different names and usually reside in the below-mentioned Windows location:
After the files of Dharma ransomware’s .onion file variant have been dropped, the virus may begin to modify the Run and RunOnce Windows Registry subkeys. In those sub-keys, custom values can be added with data in them that has the location of the malicious files that perform the encryption process. The sub-keys are the following:
→ HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
In addition to those sub-keys, Dharma .onion virus may also modify other sub-keys that change the wallpaper and perform other desktop activity.
→ HKEY_CURRENT_USER\Control Panel\Desktop
After performing the modifications on the sub-keys, Dharma .onion ransomware may unlike the previous .wallet and .dharma variants delete the shadow volume copies on the infected computer with the purpose to eliminate any chance of restoring encrypted files via Windows Backup features. This is achievable by executing a script that enters the following administrative Windows commands in the background, without the victim noticing:
→ process call create “cmd.exe /c
vssadmin.exe delete shadows /all /quiet
bcdedit.exe /set {default} recoveryenabled no
bcdedit.exe /set {default} bootstatuspolicy ignoreallfailures
In addition to this, the Dharma .onion ransomware may also create a folder, named “data” in %SystemDrive% in which other files of Dharma with unique and random names as well as a crypkey.bin file may also be dropped. This is done to aid the encryption process which is quite unique as well.
Dharma Ransomware’s .onion Encryption Process
The encryption process of Dharma ransomware is quite unique. Initially, the virus begins to encrypt a wide variety of file types, but it carefully avoids the following Windows System folders:
- %Windows%
- %AppData%
- %Local%
- %LocalLow%
- %System%
- %System32%
This is done so that Windows OS is leaved intact and the user can still use the OS to contact the cyber-criminals. Among the encrypted files are important documents, music, videos, pictures and other types of files, for example:
→ “PNG .PSD .PSPIMAGE .TGA .THM .TIF .TIFF .YUV .AI .EPS .PS .SVG .INDD .PCT .PDF .XLR .XLS .XLSX .ACCDB .DB .DBF .MDB .PDB .SQL .APK .APP .BAT .CGI .COM .EXE .GADGET .JAR .PIF .WSF .DEM .GAM .NES .ROM .SAV CAD Files .DWG .DXF GIS Files .GPX .KML .KMZ .ASP .ASPX .CER .CFM .CSR .CSS .HTM .HTML .JS .JSP .PHP .RSS .XHTML. DOC .DOCX .LOG .MSG .ODT .PAGES .RTF .TEX .TXT .WPD .WPS .CSV .DAT .GED .KEY .KEYCHAIN .PPS .PPT .PPTX ..INI .PRF Encoded Files .HQX .MIM .UUE .7Z .CBR .DEB .GZ .PKG .RAR .RPM .SITX .TAR.GZ .ZIP .ZIPX .BIN .CUE .DMG .ISO .MDF .TOAST .VCD SDF .TAR .TAX2014 .TAX2015 .VCF .XML Audio Files .AIF .IFF .M3U .M4A .MID .MP3 .MPA .WAV .WMA Video Files .3G2 .3GP .ASF .AVI .FLV .M4V .MOV .MP4 .MPG .RM .SRT .SWF .VOB .WMV 3D .3DM .3DS .MAX .OBJ R.BMP .DDS .GIF .JPG ..CRX .PLUGIN .FNT .FON .OTF .TTF .CAB .CPL .CUR .DESKTHEMEPACK .DLL .DMP .DRV .ICNS .ICO .LNK .SYS .CFG”Source:fileinfo.com
The files are changed on the spot and they may appear with the file extension id-{uniqueID}.[felix_dies@aol.com].onion
The encryption process of Dharma ransomware is similar to the CrySiS ransomware variants it is based on. However, it is more sophisticated than the RSA and AES ciphers used by CrySiS. In the past, many experienced users on forums have stated that they have attempted to use Kaspersky’s RakhniDecrypter to get their files back by renaming the extensions of Dharma to the same ones as CrySiS, but they failed to decode the data.
This is because the virus is created in a way that after the ransom is paid, the cyber-criminals send a scanner software for a key file, which may be located in the “data” folder of %SystemDrive%. From there, this software detects the public keys which the victim has to send back to the cyber-criminals and then based on this key, they generate a custom decryptor that only works for the victim’s computer and nobody else. It all points out to a cyber-criminal organization that has experience in ransomware viruses, like the people behind Locky and Cerber ransomware viruses that are still at large.
Whatever the case may be, Dharma’s .onion variant uses the e-mail felix_dies@aol.com and when contacted, the cyber-criminals come up with a custom offer that the victim has to accept. For the previous variants of dharma, the ransom “fee” varied from the minimum of 2 BTC, all the way up to 14 BTC, depending on how important is the computer being hacker. For servers, reports indicated that the ransom payoff amount was even higher. Here is a transcript of the instructions provided by the cyber-criminals via e-mail:
Hello,
We can decrypt your data, here is price:
– 7 Bitcoins in 20 hours without any stupid questions and test decryption.
– 12 Bitcoins if you need more than 20 hours to pay us, but less than 48 hours.
– 14 Bitcoins if you need more than 48 hours to pay us.
Pay us and send payment’s screenshot in attachment.
In this way after you pay we will send you decryptor tool with instructions.
TIME = MONEY.
If you don’t believe in our service and you want to see a proof, you can ask about test decryption.
Test decryption costs extra 1.5 Bitcoin to final price.
About test decryption:
You have to send us 1 crypted file.
Use sendspace.com and Win-Rar to send file for test decryptions.
File have to be less than 5 MB.
We will decrypt and send you your decrypted files back.
Also, if you don’t wanna pay you can try to bruteforce cryptokey, but it will take about 1500+ days if you have powerful enough machine.
Answer us with your decision.
Time limit starts from this email.
Here is our bitcoin wallet:
{WALLET ID}
We can recommend easy bitcoin exchange service – localbitcons.com
or you can google any service you want.
Source: Affected users.
Whatever the case may be, security experts always recommend that ransom should not be paid to these cyber-criminals and alternative ways to get the files back should be sought out after removing Dharma .onion virus.
Remove Dharma Ransomware and Restore .onion Encrypted Files
Before initiating the removal process of Dharma ransomware, we strongly recommend you to backup all the files, despite them being encoded.
Then, recommendations are to follow the removal instructions below as they are specifically designed to isolate Dharma .onion ransomware and then remove the virus files.
In case you experience issues in removing the virus manually or want to remove Dharma effectively and swiftly, security experts advise using an advanced anti-malware program. It will scan for and delete all the files associated with Dharma ransomware and protect your computer in the future as well.
After removing Dharma ransomware, it is time to try and restore the files. We have suggested multiple methods that are an alternative to a direct decryption. They are located in step “2. Restore files encrypted by .onion File Virus” below. They are in no way guarantee you will get all your files back, but some of the methods might work to restore a big part of the files. Some users on forums have reported that they have managed to restore their files via software such as Shadow Explorer and we have also reports of people able to restore some of their files by using data recovery software.
- Guide 1: How to Remove .onion file virus from Windows.
- Guide 2: Get rid of .onion file virus from Mac OS X.
- Guide 3: Remove .onion file virus from Google Chrome.
- Guide 4: Erase .onion file virus from Mozilla Firefox.
- Guide 5: Uninstall .onion file virus from Microsoft Edge.
- Guide 6: Remove .onion file virus from Safari.
- Guide 7: Eliminate .onion file virus from Internet Explorer.
Windows Mac OS X Google Chrome Mozilla Firefox Microsoft Edge Safari Internet Explorer
How to Remove .onion file virus from Windows.
Step 1: Boot Your PC In Safe Mode to isolate and remove .onion file virus





Step 2: Uninstall .onion file virus and related software from Windows
Here is a method in few easy steps that should be able to uninstall most programs. No matter if you are using Windows 10, 8, 7, Vista or XP, those steps will get the job done. Dragging the program or its folder to the recycle bin can be a very bad decision. If you do that, bits and pieces of the program are left behind, and that can lead to unstable work of your PC, errors with the file type associations and other unpleasant activities. The proper way to get a program off your computer is to Uninstall it. To do that:



Step 3: Clean any registries, created by .onion file virus on your computer.
The usually targeted registries of Windows machines are the following:
- HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
- HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
You can access them by opening the Windows registry editor and deleting any values, created by .onion file virus there. This can happen by following the steps underneath:



Before starting "Step 4", please boot back into Normal mode, in case you are currently in Safe Mode.
This will enable you to install and use SpyHunter 5 successfully.
Windows Mac OS X Google Chrome Mozilla Firefox Microsoft Edge Safari Internet Explorer
Get rid of .onion file virus from Mac OS X.
Step 1: Uninstall .onion file virus and remove related files and objects
1. Hit the ⇧+⌘+U keys to open Utilities. Another way is to click on “Go” and then click “Utilities”, like the image below shows:
- Go to Finder.
- In the search bar type the name of the app that you want to remove.
- Above the search bar change the two drop down menus to “System Files” and “Are Included” so that you can see all of the files associated with the application you want to remove. Bear in mind that some of the files may not be related to the app so be very careful which files you delete.
- If all of the files are related, hold the ⌘+A buttons to select them and then drive them to “Trash”.
In case you cannot remove .onion file virus via Step 1 above:
In case you cannot find the virus files and objects in your Applications or other places we have shown above, you can manually look for them in the Libraries of your Mac. But before doing this, please read the disclaimer below:
You can repeat the same procedure with the following other Library directories:
→ ~/Library/LaunchAgents
/Library/LaunchDaemons
Tip: ~ is there on purpose, because it leads to more LaunchAgents.
Step 2: Scan for and remove .onion file virus files from your Mac
When you are facing problems on your Mac as a result of unwanted scripts and programs such as .onion file virus, the recommended way of eliminating the threat is by using an anti-malware program. SpyHunter for Mac offers advanced security features along with other modules that will improve your Mac’s security and protect it in the future.
Windows Mac OS X Google Chrome Mozilla Firefox Microsoft Edge Safari Internet Explorer
Remove .onion file virus from Google Chrome.
Step 1: Start Google Chrome and open the drop menu
Step 2: Move the cursor over "Tools" and then from the extended menu choose "Extensions"
Step 3: From the opened "Extensions" menu locate the unwanted extension and click on its "Remove" button.
Step 4: After the extension is removed, restart Google Chrome by closing it from the red "X" button at the top right corner and start it again.
Windows Mac OS X Google Chrome Mozilla Firefox Microsoft Edge Safari Internet Explorer
Erase .onion file virus from Mozilla Firefox.
Step 1: Start Mozilla Firefox. Open the menu window
Step 2: Select the "Add-ons" icon from the menu.
Step 3: Select the unwanted extension and click "Remove"
Step 4: After the extension is removed, restart Mozilla Firefox by closing it from the red "X" button at the top right corner and start it again.
Windows Mac OS X Google Chrome Mozilla Firefox Microsoft Edge Safari Internet Explorer
Uninstall .onion file virus from Microsoft Edge.
Step 1: Start Edge browser.
Step 2: Open the drop menu by clicking on the icon at the top right corner.
Step 3: From the drop menu select "Extensions".
Step 4: Choose the suspected malicious extension you want to remove and then click on the gear icon.
Step 5: Remove the malicious extension by scrolling down and then clicking on Uninstall.
Windows Mac OS X Google Chrome Mozilla Firefox Microsoft Edge Safari Internet Explorer
Remove .onion file virus from Safari.
Step 1: Start the Safari app.
Step 2: After hovering your mouse cursor to the top of the screen, click on the Safari text to open its drop down menu.
Step 3: From the menu, click on "Preferences".
Step 4: After that, select the 'Extensions' Tab.
Step 5: Click once on the extension you want to remove.
Step 6: Click 'Uninstall'.
A pop-up window will appear asking for confirmation to uninstall the extension. Select 'Uninstall' again, and the .onion file virus will be removed.
Windows Mac OS X Google Chrome Mozilla Firefox Microsoft Edge Safari Internet Explorer
Eliminate .onion file virus from Internet Explorer.
Step 1: Start Internet Explorer.
Step 2: Click on the gear icon labeled 'Tools' to open the drop menu and select 'Manage Add-ons'
Step 3: In the 'Manage Add-ons' window.
Step 4: Select the extension you want to remove and then click 'Disable'. A pop-up window will appear to inform you that you are about to disable the selected extension, and some more add-ons might be disabled as well. Leave all the boxes checked, and click 'Disable'.
Step 5: After the unwanted extension has been removed, restart Internet Explorer by closing it from the red 'X' button located at the top right corner and start it again.
I Have this virus, I don’t know do, help me please!!
Backup the encrypted files and follow the methods in step 2 under “Automatically remove..” and then tell me what are the results : )
Hello, I didn’t have to format my computer
I can do this, but I need encrypted file as well as its unencrypted version, surely you should have both even if its an backup but must be unchanged file, by this I can decode the key and decrypt all files, and must be bigger than 128kb
Sure, can you share me your email please?
Rtsghost@outlook.com
Got all my files back