Crypto-viruses are an increasing menace that aims to turn your day the other way around, making you pay to cyber-criminals for keys that were encrypted. And what is worse is that cyber-crooks constantly keep developing new and more sophisticated ways to increase the defense of their viruses, implementing combined encryption keys that travel safely to their servers. However, there still are those ransomware viruses that send unencrypted information, allowing you, the user to sniff out traffic from your computer and with luck to get the decryption key for your files. We have designed to make a tutorial which is as simple as possible to theoretically explain how could you detect your decryption key by sniffing out your web traffic using Wireshark.
Useful Advice: Before actually engaging in any network sniffing or other methods we have suggested below, it is urgently advisable to do it from a safe and secure computer system unaffected by any type of malware. If you want to make sure that your computer system is 100% safe while you are following these instructions, experts often advise to download an advanced anti-malware tool which is frequently updated and features next-gen active protection against viruses to see if your PC is safe:
Spy Hunter scanner will only detect the threat. If you want the threat to be automatically removed, you need to purchase the full version of the anti-malware tool.Find Out More About SpyHunter Anti-Malware Tool / How to Uninstall SpyHunter
How It Works – Brief Explanation
Bear in mind that this solution is only theoretical since different ransomware viruses perform different activities on user PCs. To best clarify that, most ransomware viruses use encryption algorithm – a cryptic language replacing the original language code of the files, making them inaccessible. The two most widely used encryption algorithms are RSA and AES encryption algorithms. Both of them are extremely strong and impenetrable. In the past, most malware writers used only one encryption cipher in a special manner. The standard action for the ransomware virus was in the following consequence:
- Drop it’s payload.
- Modify the Windows Registry Editor to run on startup or after the specific action is done.
- Delete backups and perform other activities.
- Encrypt the files.
- Send the decryption key in a file or as a communication directly to the command and control (C&C) center of the cyber-criminals.
- Drop it’s ransom note and other support files that notify the user of this “complication”.
However, since malware researchers have united their resources and put a lot of effort to detect codes in the flaw or capture decryption keys and develop free decrypters, malware writers have also made quite the improvements themselves. One of those improvements is implementing a two-way encryption, using a combination of RSA and AES encryption algorithms.
In brief, they did not just encrypt your files with one of the ciphers, but now they also use a second encryption algorithm to encrypt the decryption key in a special file which is then sent to their servers. These files are impossible to decrypt, and users are hopelessly looking for alternative methods to decrypt them.
For more information on this encryption method, please visit:
Another tactic the cyber-crook “devs” started to use is a so-called cipher block chaining. This is a mode that briefly explained, breaks the file if you try to tamper with it, making any form of recovery completely impossible.
So, here is where we are. At this point, there are even new developments in the world of ransomware, which are yet to be revealed.
It is very difficult to stay ahead of ransomware, but despite all, we have decided to show you how to use Wireshark to your benefit and hopefully intercept HTTP traffic in the correct moment. However, bear in mind that these instructions are THEORETICAL, and there are a lot of factors that may prevent them from working in an actual situation. Still, it is better than not trying before paying the ransom, right?
Using Wireshark to Find Decryption Key
Before downloading and using Wireshark – one of the most widely used network sniffers out there, you should have the malware’s executable on standby and infect your computer once again. However, bear in mind that some ransomware viruses perform new encryption every time a computer is restarted as well, so you should also configure Wireshark to run automatically on startup. Let’s begin!
Step 1: Download Wireshark on your computer by clicking on the following buttons( for your version of Windows)
Step 2: Run, configure and learn how to sniff packets with Wireshark. To learn how to start analyzing packets and check where your packets save the data, you should open Wireshark first and then choose your active network interface for analyzing packets. For most users, that would be the interface with traffic bouncing up and down on it’s right. You should choose it and click twice fast to start sniffing:
Step 3: Sniffing packets. Since ransomware viruses communicate via HTTP traffic, you should filter all the packets first. Here is how the packets look initially after you choose your interface and sniff traffic from it:
To intercept only HTTP traffic, you should type the following into the display filter bar:
→ http.request – to intercept the requested traffic
Once filtered it should look like this:
You can also filter the source and destination IP addresses by scrolling up and down and choosing one address, then right clicking on it and navigating to the following feature:
Step 4: Configure Wireshark to run automatically. To do this, first, you should go to the command prompt of your computer by typing cmd on your Windows search and running it. From there, type the following command with capital “-D” setting to get the unique key for your interface. The keys should look like the following:
Step 5: Copy the key for your active connection and create a New Text Document and in it write the following code:
→ wireshark -i 13MD2812-7212-3F21-4723-923F9G239F823(<= Your copied key) –k
You can additionally modify the command by adding the –w letter and creating a name for the file that will save it onto your computer, allowing you to analyze the packets. The result should look similarly to this one:
Step 6: Save the newly created text document as a .bat file, by going to File>Save As… and choosing All Files after which typing .BAT as a file extension, like the picture below shows. Make sure the name of the file and the location where you save it are easy to find:
Step 7: Paste the .bat file in the Windows startup folder. The original location of the folder is:
→ C:\Users\Username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup,/p>
To easily access it, press Windows Button + R key combination and in the Window box type – shell:startup, like the picture below shows and click OK:
After your computer is restarted, if the ransomware virus encrypts your files after which generates a key and sends it to the cyber-criminals’ servers, you should be able to intercept the communication packets and analyze them.
Step 8: How to analyze the traffic?
To analyze the traffic of a given packet, simply right-click it and then click on the following to intercept the traffic:
After doing this, a Window will appear with the information. Make sure to inspect the information carefully and look for keywords that give away the encryption keys, like encrypted, RSA, AES, etc. Take your time and check the packets’ size, make sure that they are similar to the size of a key file.
Sniffing Ransomware Decryption Keys – Things You Need To Know
Like mentioned before, this tutorial is fully theoretical and in case you cannot cope with it and sniff out the keys, we strongly advise you to remove the ransomware that has infected you and attempt restoring your files using the step-by-step instructions below. Also, if you are going to attempt this method, we strongly advise you to test it out first on your computer and see the traffic. An example of how researchers have identified traffic by ransomware is the research, performed by PaloAlto network experts on Locky ransomware, which we also advise you to check.
Attention! SensorsTechForum strongly recommends that all malware victims should look for assistance only by reputable sources. Many guides out there claim to offer free recovery and decryption for files encrypted by ransomware viruses. Be advised that some of them may only be after your money.
As a site that has been dedicated to providing free removal instructions for ransomware and malware since 2014, SensorsTechForum’s recommendation is to only pay attention to trustworthy sources.
How to recognize trustworthy sources:
- Always check "About Us" web page.
- Profile of the content creator.
- Make sure that real people are behind the site and not fake names and profiles.
- Verify Facebook, LinkedIn and Twitter personal profiles.
How to Remove Ransomware from Windows.
Step 1: Boot Your PC In Safe Mode to isolate and remove Ransomware
Step 2: Uninstall Ransomware 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.
Step 3: Clean any registries, created by Ransomware on your computer.
The usually targeted registries of Windows machines are the following:
You can access them by opening the Windows registry editor and deleting any values, created by Ransomware there. This can happen by following the steps underneath:
Step 4: Scan for Ransomware with SpyHunter Anti-Malware Tool
Step 5 (Optional): Try to Restore Files Encrypted by Ransomware.
Ransomware infections and Ransomware aim to encrypt your files using an encryption algorithm which may be very difficult to decrypt. This is why we have suggested a data recovery method that may help you go around direct decryption and try to restore your files. Bear in mind that this method may not be 100% effective but may also help you a little or a lot in different situations.
Simply click on the link and on the website menus on top, choose Data Recovery - Data Recovery Wizard for Windows or Mac (depending on your OS), and then download and run the tool.
Get rid of Ransomware from Mac OS X.
Step 1: Uninstall Ransomware 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 Ransomware 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:
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.
Step 3 (Optional): Try to Restore Files Encrypted by Ransomware on your Mac.
Ransomware for Mac Ransomware aims to encode all your files using an encryption algorithm which may be very difficult to decode, unless you pay money.
This is why we have suggested a data recovery method that may help you go around direct decryption and try to restore your files, but only in some cases. Bear in mind that this method may not be 100% effective but may also help you a little or a lot in different situations.
What is Ransomware ransomware and how does it work?
Ransomware is a ransomware infection - the malicious software that enters your computer silently and blocks either access to the computer itself or encrypt your files.
Many ransomware viruses use sophisticated encryption algorithm how to make your files inaccessible. The goal of ransomware infections is to demand that you pay a ransom payment to get access to your files back.
How does Ransomware ransomware infect my computer?
Via several ways.Ransomware Ransomware infects computers by being sent via phishing e-mails, containing virus attachment.
This attachment is usually masked as an important document, like an invoice, bank document or even a plane ticket and it looks very convincing to users.
After you download and execute this attachment, a drive-by download occurs and your computer is infected with the ransomware virus.
Another way, you may become a victim of Ransomware is if you download a fake installer, crack or patch from a low reputation website or if you click on a virus link. Many users report getting a ransomware infection by downloading torrents.
How to open .Ransomware files?
You can't. At this point the .Ransomware files are encrypted. You can only open them once they are decrypted.
Decryptor did not decrypt my data. What now?
Do not panic and backup the files. If a decryptor did not decrypt your .Ransomware files successfully, then do not despair, because this virus is still new.
One way to restore files, encrypted by Ransomware ransomware is to use a decryptor for it. But since it's a new virus, advised that the decryption keys for it may not be out yet and available to the public. We will update this article and keep you posted as soon as this decryptor is released.
How Do I restore ".Ransomware" files (Other Methods)?
Yes, sometimes files can be restored. We have suggested several file recovery methods that could work if you want to restore .Ransomware files.
These methods are in no way 100% guarantee that you will be able to get your files back. But if you have a backup, your chances of success are much greater.
How do I get rid of Ransomware ransomware virus?
The safest way and the most efficient one for the removal of this ransomware infection is the use a professional anti malware software. It will scan for and locate Ransomware ransomware and then remove it without causing any additional harm to your important .Ransomware files.
Also, keep in mind that viruses like Ransomware ransomware also install Trojans and keyloggers that can steal your passwords and accounts. Scanning your computer with an anti-malware software will make sure that all of these virus components are removed and your computer is protected in the future.
What to Do If nothing works?
There is still a lot you can do. If none of the above methods seem to work for you, then try these methods:
- Try to find a safe computer from where you can can login on your own line accounts like One Drive, iDrive, Google Drive and so on.
- Try to contact your friends, relatives and other people so that they can check if they have some of your important photos or documents just in case you sent them.
- Also, check if some of the files that were encrypted it can be re-downloaded from the web.
- Another clever way to get back some of your files is to find another old computer, a flash drive or even a CD or a DVD where you may have saved your older documents. You might be surprised what will turn up.
- You can also go to your email account to check if you can send any attachments to other people. Usually what is sent the email is saved on your account and you can re-download it. But most importantly, make sure that this is done from a safe computer and make sure to remove the virus first.
More tips you can find on our forums, where you can also asks any questions about your ransomware problem.