Severity scale:  

.onion file extension virus. How to remove? (Uninstall guide)

removal by Linas Kiguolis - - | Type: Ransomware

.onion file extension virus wreaks havoc on compromised computers

Onion file virus

.onion file virus is a malicious computer program that can be associated with a couple of ransomware families – Dharma, Amnesia, and Cry128 (CryptON). The ransomware was dubbed as Onion file virus due to the extension it adds to encrypted data. The extension might also contain criminals' email address or victim's ID. The aim of the virus is to encrypt files on the target system to make them inaccessible and then demand a ransom.

This ransomware[1] family has been spotted in November 2016 and has been updated several times since then. Malware researchers have recently spotted this cyber infection and found connections to several ransomware families. Below, you can see the list of viruses that use the .onion extension as a file marker.

  • Cry128 ransomware virus. It is a version of CryptON virus that marks files with id-_[].[random characters] file extensions. The virus may use .onion or .onion.to_ extension to add at the end of the encrypted file name. Usually, this virus calls its ransom notes as _DECRYPT_MY_FILES.txt or -DECRYPT-MY-FILES.txt.
  • Amnesia ransomware virus. The malware completely distorts the file names and marks them with onion extension as well. To provide a ransom-demanding statement, the ransomware creates HOW TO RECOVER ENCRYPTED FILES.TXT document.
  • CrySiS/Dharma ransomware virus. The virus appends id-[victim's ID], .id-[id].[].onion file extension to encrypted files. The ransom note is usually hidden in Info.hta file.

This Dharma ransomware family seems to be the most prevalent one, so we are going to discuss it in this article. The virus is known for corrupting various types of files; however, not all attempts to take data to hostage were successful. Some versions of the Dharma is decryptable,[2] and users can free their files without paying the ransom.

This new parasite is known for adding .onion file extension to the corrupted files. It’s still unknown whether victims can restore encoded data or not. New versions of the ransomware often are improved. Thus, authors may have fixed some flaws and developed a stronger virus.

However, if you ever encounter this pest, you should not focus on data recovery first.[3] The most important task is to remove .onion from the computer in order to protect your device and personal data. For this task we recommend Reimage.

The purpose of all file-encrypting viruses is the same – to swindle the money from computer users. Thus, .onion malware is also used as a blackmailing tool to continue the illegal work of the predecessors. Crooks are willing to get your money for the possibility to use a decryption software and recover your files. team[4] states that no matter how much Bitcoins you are ready to pay, this deal may not end up as you planned. They may take your money and leave you without promised decryptor because they may not have it or they may not have any intentions to keep their word[5].

Questions about .onion file extension virus

Thus, after the attack, we recommend .onion removal and looking for alternative data recovery ways. Bear in mind that previous versions of Dharma are decryptable, so, chances to get back your files for free are high.

Ways to avoid ransomware attack

The new variant of Dharma is suspected of spreading similarly as its predecessors – via malicious email attachments. Crooks might pretend to be representatives from various institutions, organizations or companies and find numerous reasons to convince people to open the attached document. It might be hard to recognize a hoax at first glance because criminals might falsify credentials or signature.

However, if you suddenly receive an email that asks to check details in the statement or other provided document and send it back immediately, you should suspect that something is not right here. Look for grammar mistakes, check sender’s email address, [6] and be critical – do you expect to get this kind of email? If not, delete it from your inbox immediately.

Clicking on the attached document might cause .onion file virus or other malware attacks. This ransomware distribution technique is popular and widely used among hackers. Thus, if you want to protect your data, you should not take harsh actions in your inbox and backup your files regularly.

Remove .onion file virus and try available data recovery options

Getting infected with ransomware requires acting fast. Do not consider taking a shady deal to obtain a decryption software from cyber criminals for few Bitcoins. It may not end up good, and you might become just another sponsor for the cyber crimes.

Thus, without thinking too much, you need to remove .onion file virus using a reputable software. File-encrypting viruses are dangerous and complicated; thus, you need to rely on professional security tools. We suggest using Reimage, Malwarebytes or Plumbytes Anti-MalwareNorton Internet Security. These programs are capable of detecting malicious entries and deleting them from the system.

However, .onion removal may not be easy and smooth. These cyber infections are often designed to block antivirus or anti-malware programs. However, you can disable the virus by rebooting PC to the Safe Mode with Networking and then access necessary software.

We might be affiliated with any product we recommend on the site. Full disclosure in our Agreement of Use. By Downloading any provided Anti-spyware software you agree to our privacy policy and agreement of use.
do it now!
Reimage (remover) Happiness
Reimage (remover) Happiness
Compatible with Microsoft Windows Supported versions Compatible with OS X Supported versions
What to do if failed?
If you failed to remove virus damage using Reimage, submit a question to our support team and provide as much details as possible.
Reimage is recommended to remove virus damage. Free scanner allows you to check whether your PC is infected or not. If you need to remove malware, you have to purchase the licensed version of Reimage malware removal tool.
More information about this program can be found in Reimage review.

If you decided to select another anti-spyware, uninstall Reimage from your computer.
Press mentions on Reimage
Alternate Software
Alternate Software

To remove .onion virus, follow these steps:

Remove .onion using Safe Mode with Networking

If you cannot install or access antivirus program, you need to disable the virus. Follow the steps below and then run your preferred to tool to remove the virus automatically.

  • Step 1: Reboot your computer to Safe Mode with Networking

    Windows 7 / Vista / XP
    1. Click Start Shutdown Restart OK.
    2. When your computer becomes active, start pressing F8 multiple times until you see the Advanced Boot Options window.
    3. Select Safe Mode with Networking from the list Select 'Safe Mode with Networking'

    Windows 10 / Windows 8
    1. Press the Power button at the Windows login screen. Now press and hold Shift, which is on your keyboard, and click Restart..
    2. Now select Troubleshoot Advanced options Startup Settings and finally press Restart.
    3. Once your computer becomes active, select Enable Safe Mode with Networking in Startup Settings window. Select 'Enable Safe Mode with Networking'
  • Step 2: Remove .onion

    Log in to your infected account and start the browser. Download Reimage or other legitimate anti-spyware program. Update it before a full system scan and remove malicious files that belong to your ransomware and complete .onion removal.

If your ransomware is blocking Safe Mode with Networking, try further method.

Remove .onion using System Restore

If the previous method did not help to access security software, try this one:

  • Step 1: Reboot your computer to Safe Mode with Command Prompt

    Windows 7 / Vista / XP
    1. Click Start Shutdown Restart OK.
    2. When your computer becomes active, start pressing F8 multiple times until you see the Advanced Boot Options window.
    3. Select Command Prompt from the list Select 'Safe Mode with Command Prompt'

    Windows 10 / Windows 8
    1. Press the Power button at the Windows login screen. Now press and hold Shift, which is on your keyboard, and click Restart..
    2. Now select Troubleshoot Advanced options Startup Settings and finally press Restart.
    3. Once your computer becomes active, select Enable Safe Mode with Command Prompt in Startup Settings window. Select 'Enable Safe Mode with Command Prompt'
  • Step 2: Restore your system files and settings
    1. Once the Command Prompt window shows up, enter cd restore and click Enter. Enter 'cd restore' without quotes and press 'Enter'
    2. Now type rstrui.exe and press Enter again.. Enter 'rstrui.exe' without quotes and press 'Enter'
    3. When a new window shows up, click Next and select your restore point that is prior the infiltration of .onion. After doing that, click Next. When 'System Restore' window shows up, select 'Next' Select your restore point and click 'Next'
    4. Now click Yes to start system restore. Click 'Yes' and start system restore
    Once you restore your system to a previous date, download and scan your computer with Reimage and make sure that .onion removal is performed successfully.

Bonus: Recover your data

Guide which is presented above is supposed to help you remove .onion from your computer. To recover your encrypted files, we recommend using a detailed guide prepared by security experts.

Onion file recovery can be tough. We suggest trying the methods described below.

If your files are encrypted by .onion, you can use several methods to restore them:

Data Recovery Pro might restore files encrypted by .onion file virus

This professional tool helps to recover corrupted, deleted and encrypted files. It has already helped numerous victims of ransomware, so you should give it a try as well.

  • Download Data Recovery Pro;
  • Follow the steps of Data Recovery Setup and install the program on your computer;
  • Launch it and scan your computer for files encrypted by .onion ransomware;
  • Restore them.

Use Windows Previous Versions feature to copy individual files

If System Restore function has been activated before ransomware attack, follow the steps below and copy previously saved versions of the encrypted files.

  • Find an encrypted file you need to restore and right-click on it;
  • Select “Properties” and go to “Previous versions” tab;
  • Here, check each of available copies of the file in “Folder versions”. You should select the version you want to recover and click “Restore”.

Try ShadowExplorer to restore files encrypted by .onion file extension virus

If malware hasn't deleted Shadow Volume Copies of the targeted files, this recovery method may help you. Follow the steps below to restore onion files.

  • Download Shadow Explorer (;
  • Follow a Shadow Explorer Setup Wizard and install this application on your computer;
  • Launch the program and go through the drop down menu on the top left corner to select the disk of your encrypted data. Check what folders are there;
  • Right-click on the folder you want to restore and select “Export”. You can also select where you want it to be stored.

.onion decryptor

We are sorry, but there is no way to decrypt Onion virus at the moment. You can check for updates on site.

About the author

Linas Kiguolis
Linas Kiguolis - Expert in social media

If this free removal guide helped you and you are satisfied with our service, please consider making a donation to keep this service alive. Even a smallest amount will be appreciated.

Contact Linas Kiguolis
About the company Esolutions


Removal guides in other languages