THREAT REMOVAL

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

TypeRansomware
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.
SymptomsChanges file extension of encrypted files to .onion. Changes wallpaper to one with ransom instructions that have ransom e-mail.
Distribution MethodVia 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 ExperienceJoin our forum to Discuss .onion file virus.
Data Recovery ToolWindows 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 Recovery Instructions 2017

Step 1: Make sure to make copies of the .onion encrypted files on another drive or PC:

Step 2: After creating the copies, download a tool that converts files in .VHD format. One good tool is Microsoft’s VHD conversion software. You can download it, by clicking on the button below:


Download

VHDTOOL


Step 3: Now, make sure to rename a file that you want to recover in the .VHD file extension. For example, if the file is test.onion, it should be test.vhd

Step 4: Now you need to run the VHDTOOL you previously downloaded from Windows Command Prompt. To do this, run Windows Command Prompt as an administrator by typing “cmd” in Windows Search and right-clicking after which choosing “Run as administrator”.

Then type the following commands exactly as it they are:

→ cd {The location of the file, for example C:\Users\Lenovo\Desktop}
vhdtool.exe /convert “{the location of your file and the name goes here}

The final result should look like the following image:

Step 5: After you convert the drive into VHD, make sure to mount it on your computer. To do this:

Right-click on My Computer or This PC and then click on “Manage”

Then right-click on Disk Management after which click on Attach VHD

Then click on the Browse button in order to locate and open the .vhd file

After this, to initialize the disk, right-click on it and click New Simple Volume. After this click on Next and set it up:

At the end, the volume should appear like the following:

Step 6: Download and recover the .VHD image using data recovery software. The data recovery software you should download has to support the option “Partition Recovery”. Here is a comprehensive list of multiple data recovery programs that are able to recover partitions:

Another scenario with which we have reports of over 90% of recovered files includes the usage of a program for Virtual Drive Recovery, since .VHD is essentially a virtual drive. Such programs are created with the sole purpose of recovering .VHD files. One of those programs is called BitRecover Virtual Drive Recovery Wizard.

.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.

Avatar

Ventsislav Krastev

Ventsislav is a cybersecurity expert at SensorsTechForum since 2015. He has been researching, covering, helping victims with the latest malware infections plus testing and reviewing software and the newest tech developments. Having graduated Marketing as well, Ventsislav also has passion for learning new shifts and innovations in cybersecurity that become game changers. After studying Value Chain Management, Network Administration and Computer Administration of System Applications, he found his true calling within the cybersecrurity industry and is a strong believer in the education of every user towards online safety and security.

More Posts - Website

Follow Me:
Twitter


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

OFFER

Manual Removal Usually Takes Time and You Risk Damaging Your Files If Not Careful!
We Recommend To Scan Your PC with SpyHunter

Keep in mind, that SpyHunter’s scanner is only for malware detection. If SpyHunter detects malware on your PC, you will need to purchase SpyHunter's malware removal tool to remove the malware threats. Read our SpyHunter 5 review. Click on the corresponding links to check SpyHunter's EULA, Privacy Policy and Threat Assessment Criteria

1. Hold Windows key() + R


2. The "Run" Window will appear. In it, type "msconfig" and click OK.


3. Go to the "Boot" tab. There select "Safe Boot" and then click "Apply" and "OK".
Tip: Make sure to reverse those changes by unticking Safe Boot after that, because your system will always boot in Safe Boot from now on.


4. When prompted, click on "Restart" to go into Safe Mode.


5. You can recognise Safe Mode by the words written on the corners of your screen.


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:


1. Hold the Windows Logo Button and "R" on your keyboard. A Pop-up window will appear.


2. In the field type in "appwiz.cpl" and press ENTER.


3. This will open a window with all the programs installed on the PC. Select the program that you want to remove, and press "Uninstall"
Follow the instructions above and you will successfully uninstall most programs.


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:

1. Open the Run Window again, type "regedit" and click OK.


2. When you open it, you can freely navigate to the Run and RunOnce keys, whose locations are shown above.


3. You can remove the value of the virus by right-clicking on it and removing it.
Tip: To find a virus-created value, you can right-click on it and click "Modify" to see which file it is set to run. If this is the virus file location, remove the value.

IMPORTANT!
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.

Step 4: Scan for .onion file virus with SpyHunter Anti-Malware Tool

1. Click on the "Download" button to proceed to SpyHunter's download page.


It is recommended to run a scan before purchasing the full version of the software to make sure that the current version of the malware can be detected by SpyHunter. Click on the corresponding links to check SpyHunter's EULA, Privacy Policy and Threat Assessment Criteria.


2. After you have installed SpyHunter, wait for it to update automatically.

SpyHunter5-update-2018


3. After the update process has finished, click on the 'Malware/PC Scan' tab. A new window will appear. Click on 'Start Scan'.

SpyHunter5-Free-Scan-2018


4. After SpyHunter has finished scanning your PC for any files of the associated threat and found them, you can try to get them removed automatically and permanently by clicking on the 'Next' button.

SpyHunter-5-Free-Scan-Next-2018

If any threats have been removed, it is highly recommended to restart your PC.


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

OFFER
Manual Removal Usually Takes Time and You Risk Damaging Your Files If Not Careful!
We Recommend To Scan Your Mac with SpyHunter for Mac
Keep in mind, that SpyHunter for Mac needs to purchased to remove the malware threats. Click on the corresponding links to check SpyHunter’s EULA and Privacy Policy


1. Hit the ⇧+⌘+U keys to open Utilities. Another way is to click on “Go” and then click “Utilities”, like the image below shows:


2. Find Activity Monitor and double-click it:


3. In the Activity Monitor look for any suspicious processes, belonging or related to .onion file virus:

Tip: To quit a process completely, choose the “Force Quit” option.


4. Click on the "Go" button again, but this time select Applications. Another way is with the ⇧+⌘+A buttons.


5. In the Applications menu, look for any suspicious app or an app with a name, similar or identical to .onion file virus. If you find it, right-click on the app and select “Move to Trash”.


6: Select Accounts, after which click on the Login Items preference. Your Mac will then show you a list of items that start automatically when you log in. Look for any suspicious apps identical or similar to .onion file virus. Check the app you want to stop from running automatically and then select on the Minus (“-“) icon to hide it.


7: Remove any left-over files that might be related to this threat manually by following the sub-steps below:

  • 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:

Disclaimer! If you are about to tamper with Library files on Mac, be sure to know the name of the virus file, because if you delete the wrong file, it may cause irreversible damage to your MacOS. Continue on your own responsibility!

1: Click on "Go" and Then "Go to Folder" as shown underneath:

2: Type in "/Library/LauchAgents/" and click Ok:

3: Delete all of the virus files that have similar or the same name as .onion file virus. If you believe there is no such file, do not delete anything.

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 malware from your Mac

When you are facing problems on your Mac as a result of unwanted scripts, programs and malware, the recommended way of eliminating the threat is by using an anti-malware program. Combo Cleaner 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".

stf-safari preferences


Step 4: After that, select the 'Extensions' Tab.

stf-safari-extensions


Step 5: Click once on the extension you want to remove.


Step 6: Click 'Uninstall'.

stf-safari 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.


How to Reset Safari
IMPORTANT: Before resetting Safari make sure you back up all your saved passwords within the browser in case you forget them.

Start Safari and then click on the gear leaver icon.

Click the Reset Safari button and you will reset the browser.


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.


7 Comments

  1. AvatarVictor Ramirez

    I Have this virus, I don’t know do, help me please!!

    Reply
    1. AvatarVencislav Krustev

      Backup the encrypted files and follow the methods in step 2 under “Automatically remove..” and then tell me what are the results : )

      Reply
      1. AvatarVictor Ramirez

        Hello, I didn’t have to format my computer

        Reply
    2. AvatarRebeatus Ghoste

      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

      Reply
      1. AvatarVictor Ramirez

        Sure, can you share me your email please?

        Reply
        1. AvatarJohn Doe
          1. AvatarJohn Doe

            Got all my files back

Leave a Comment

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

Share on Facebook Share
Loading...
Share on Twitter Tweet
Loading...
Share on Google Plus Share
Loading...
Share on Linkedin Share
Loading...
Share on Digg Share
Share on Reddit Share
Loading...
Share on Stumbleupon Share
Loading...