Home > Ransomware > Remove GANDCRAB 5.2 Ransomware + Decrypt Files

Remove GANDCRAB 5.2 Ransomware + Decrypt Files

Update 2019! See instructions how to remove GANDCRAB 5.2 ransomware infection from your computer and how to restore files, encrypted by GANDCRAB 5.2 from this article.

Following the successful decryption of [wplinkpreview url=”https://sensorstechforum.com/remove-gandcrab-5-1-ransomware/”]GandCrab 5.1, ransomware, an updated and undetectable version of the notorious ransomware, called GANDCRAB 5.2 has been released. The virus was active for over a year and it has now been released constantly in newer and newer variants, most of which aim to encrypt the files of infected computers and ask their owners to visit a TOR web page, where victims are extorted to pay ransom in the BitCoin or DASH cryptocurrencies. In the unfortunate events that your computer was infected by GANDCRAB 5.2 ransomware, we would suggest that you read this removal article.

Threat Summary

Name GANCRAB v5.2
Type Ransomware Infection
Short Description An updated virus, belonging to the [wplinkpreview url=”https://sensorstechforum.com/remove-gandcrab/”]GANDCRAB ransomware family. The threat aims to extort victims to pay BitCoin or Dash by encrypting their files.
Symptoms Files are encrypted with changed names to random letters. A ransom note is dropped with the file extension for it’s name and it ends in “-DECRYPT.txt”.
Distribution Method Malcious URLs, Email Attachments, Executables
Detection Tool See If Your System Has Been Affected by malware


Malware Removal Tool

User Experience Join Our Forum to Discuss GANCRAB v5.2.
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 July 2019 – Decrypt Files Encrypted by GandCrab v5.2

After being online for a long time, GandCrab v5.2 has been officially discontinued. The hackers who are behind this ransomware infection have reportedly posted the following “farewell message”:

Source: BitDefender Labs

Researchers at BitDefender did not take long to update their decryption tool to be able to bring back files, encrypted by the latest version 5.2 of GandCrab ransomware. Since June 2019, you can download it read instructions for it, available on the link below:

Related: [wplinkpreview url=”https://sensorstechforum.com/decrypt-gandcrab-5-2-ransomware/”]GANDCRAB V5.2 – How to Decrypt Encrypted Files (Free)

Update April 2019

According to CrowdStrike researchers, the criminal group behind the infamous GandCrab ransomware is nicknamed Pinchy Spider. The group has been selling access to the ransomware in a partnership program with a limited number of accounts. In their most recent endeavors, Pinchy Spider criminals have been advertising GandCrab to individuals with remote desktop protocol (RDP) and VNC (Virtual Network Computing) skills, and spam operators who have experience in corporate networking. In short, the change in deployment tactics along with Pinchy Spider’s advertising for individuals with skills in RDP/VNC and experience in corporate networking, point to the fact that the criminal gang and their affiliates are expanding to adopt big game hunting tactics.

Related: [wplinkpreview url=”https://sensorstechforum.com/gandcrab-criminals-affiliates-rdp-vnc-skills/”] Beware: GandCrab Criminals Recruiting Affiliates with RDP/VNC Skills.

GANDCRAB 5.2 – Infection Methods

GANDCRAB 5.2 has not deviated much from the rest of the GandCrab ransomware family in terms of infection ways. The most recent infection files of GANDCRAB 5.2 ransomware were reported by security researchers to spread via two main methods:

  • Via files, uploaded on compromised websites.
  • Via files sent to victims via e-mail.

If GANDCRAB 5.2 ransomware is spread via e-mail, then the virus may infect computers as a result of a file, embedded within an archive, containing a malicious .JS (JavaScript) type of files. The e-mail that may be sending the archive may pretend to be an e-mail sending a picture, like the recent malspam e-mail we caught to spread GandCrab:

2019/01.28 10:40
Giovanni Price Giovanni33@4311.com
Attachment: PIC0101302924102-jpg.zip (69 KB)
E-mail Body: ;)

Once the victim sees that someone sent a picture with the text “;)” written in the e-mail body, it might raise interest. If the victim downloads the .ZIP archive and extracts the picture, infection with GANDCRAB 5.2 may be inevitable.

Another scenario via which victims can get infected by e-mail with GANDCRAB 5.2 ransomware is to open Microsoft Word or .PDF files also sent as attachment, but this time pretending to be invoices, receipts and other seemingly important documents, also contained in a .ZIP archive. Once the victim downloads and extracts the Microsoft Word file and opens it, the file may ask to enable Macros, like the image below shows.

This is done with the pretext that you cannot see what is in the document, unless you click on “Enable Editing” or “Enable Content” button. Once you click this button, infection with GANDCRAB 5.2 may occur. If the file is a .PDF file, the same may occur, only that the PDF Adobe Reader file may automatically open the Microsoft Word file once you open it.

Another method that is also known to cause infections with GANDCRAB 5.2 ransomware virus was recently reported to be used very often. The infection method includes uploading files on compromised or malicious WordPress sites, and make them seem that they are legitimate software cracks. Some of the programs which are supposed to be cracked, but infect with GANDCRAB 5.2 are reported by victims to be the following:

  • KMSPico(activator for Windows).
  • Securitask(security tool).
  • SysTools PST Merge(file merger).
  • Merging Image to PDF(file merger).

More info on how GANDCRAB ransomware infects victims via files uploaded on sites can be found in the related web link we have added underneath:

Related: [wplinkpreview url=”https://sensorstechforum.com/gandcrab-4-ransomware-now-infects-via-cracks/”]GandCrab Ransomware Now Infects Via Software Cracks

GANDCRAB 5.2 Ransomware – Background and Activity Report

GANDCRAB 5.2 ransomware belongs to the GANDCRAB ransomware family of viruses, which has spread in the following versions up until this variant:

  • [wplinkpreview url=”https://sensorstechforum.com/gandcrab-ransomware-removal-restore-gdcb-files/”]GandCrab v1 (.GDCB)
  • [wplinkpreview url=”https://sensorstechforum.com/crab-files-virus-how-to-remove-gandcrab-v2-and-restore-data/”]GandCrab v2 (.CRAB)
  • [wplinkpreview url=”https://sensorstechforum.com/remove-gandcrab-3-virus-restore-crab-files/”]GandCrab v3
  • [wplinkpreview url=”https://sensorstechforum.com/krab-virus-gandcrab-v4-remove-restore/”]GandCrab v4
  • [wplinkpreview url=”https://sensorstechforum.com/gandcrab-v-5-0-ransomware-remove-restore/”]GandCrab v5

When we come to the current GANDCRAB 5.2 version, there have been a lot of infection files reported so far by malware researchers to have the following names and identifiers:

→ MD5:ba2960ce267dc0f11e2683679ce038f7
Size: 99KB
Size: 99KB
Samples provided by malware researcher @tamas_boczan

Once the GANDCRAB 5.2 ransomware virus causes an infection on the computers, compromised by it, the virus immediately spaws the randomly named executable file. In it’s turn, the randomly named .exe file creates a child process in wmic.exe(Windows Management Instrumentation) as the VMRay graphic below shows:

Image Source: VMRay

From there, GandCrab v5.2 ransomware may begin it’s malicious activity to encrypt the files on the compromised machine. The activity begins with dropping the ransom note of GANDCRAB 5.2 ransomware, which is a .txt file that has a randomly generated name and ends with “-DECRYYPT.txt”. The ransom note file has the following message to victims, asking them to visit a TOR-based web page:

—= GANDCRAB V5.2 =—



All your files, documents, photos, databases and other important files are encrypted and have the extension:

The only method of recovering files is to purchase an unique private key. Only we can give you this key and only and only we can recover your files.

The server with your key is in a closed network TOR. You can get there by the following ways:


| 0. Download Tor browser – https://www.torproject.org/

| 1. Install Tor Browser
| 2. Open Tor Browser
| 3. Open link in TOR browser https://gandcrabmfe6mnef.onion/ b6314679c4ba3647/
| 4. Follow the instructions on this page


On our page you will see instructions on payment and get the opportunity to decrypt 1 file for free.


The web link in the GANDCRAB 5.2 “DECRYPT.txt” file leads to a ransom payment website that wants you to pay hundreds of dollars in DASH or BTC. The site is opened with TOR browser and looks like the following:

The final activity of GANDCRAB 5.2 ransomware is to change your wallpaper. The wallpaper that is changed appears like the following on computers that were infected with the virus:

GANDCRAB 5.2 ransomware may also execute the following command as an administrator in order to delete the backed up files on the infected computer:

→“C:\Windows\system32\wbem\wmic.exe” shadowcopy delete

GANDCRAB 5.2 Ransomware – Encryption Report

Probably the biggest change in GANDCRAB so far is that the ransomware virus does not add a random file extension, but renames the whole encrypted file to A-Z, a-z, 0-9 randomly generated name. And what is even worse is that each file is renamed differently with different file name length. The files, encrypted by GANDCRAB ransomware are transformed to the following after encryption:

The encryption of GANDCRAB 5.2 ransomware is done via Salsa20 encryption algorithm. This cipher aims to replace data from the files on the infected computer with blocks of encrypted data. The virus does not encrypt the whole file, but rather only portions of it, enough to make it seem corrupt and unstable. And what is worse, GANDCRAB 5.2 ransomware uses CBC mode for its file encryption procedures. This mode looks like the image we posted below and it basically breaks your files if you try to change their extension or tamper with them:

Remove GANDCRAB 5.2 and Try to Restore Files

If you want to remove GANDCRAB 5.2 ransomware virus, we would strongly suggest that you follow the removal instructions which are posted underneath this article. They have been created with the primary idea to help you remove this virus by using the information in this article or automatically.

But before starting removal, we would strongly recommend that you make an image of your computer so that you can be able to restore the infection once a decryptor of the virus has been released and your files are restored. You can also try backing up your files on a flash drive or somewhere else. Whatever you do, DO NOT tamper with the files, since this will break them.

For manual removal of GANDCRAB 5.2 ransomware, you can follow the first two instructional steps and remove the infection by using the information in this article. For automatic removal, you can download an anti-malware program, which can take care of the GANDCRAB 5.2 ransomware’s malicious files automatically. Installing the recommended anti-malware software also makes sure that your computer remains protected against any infections on your computer that might occur in the future too.

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:

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.


with Anti-Malware
We recommend you to download SpyHunter and run free scan to remove all virus files on your PC. This saves you hours of time and effort compared to doing the removal yourself.
SpyHunter 5 free remover allows you, subject to a 48-hour waiting period, one remediation and removal for results found. Read EULA and Privacy Policy

About the GANCRAB v5.2 Research

The content we publish on SensorsTechForum.com, this GANCRAB v5.2 how-to removal guide included, is the outcome of extensive research, hard work and our team’s devotion to help you remove the specific malware and restore your encrypted files.

How did we conduct the research on this ransomware?

Our research is based on an independent investigation. We are in contact with independent security researchers, and as such, we receive daily updates on the latest malware and ransomware definitions.

Furthermore, the research behind the GANCRAB v5.2 ransomware threat is backed with VirusTotal and the NoMoreRansom project.

To better understand the ransomware threat, please refer to the following articles which provide knowledgeable details.


1. How to Recognize Spam Emails with Ransomware
2. How Does Ransomware Encryption Work?
3. How to Decrypt Ransomware Files
4. Ransomware Getting Greedier and Bigger, Attacks Increase by 40%
5. 1 in 5 Americans Victim of Ransomware

Windows Mac OS X

How to Remove GANCRAB v5.2 from Windows.

Step 1: Boot Your PC In Safe Mode to isolate and remove GANCRAB v5.2


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 GANCRAB v5.2 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 GANCRAB v5.2 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 GANCRAB v5.2 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.

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 GANCRAB v5.2 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.


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


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.


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

Video Guide for Automatic and Fast Removal

Step 5 (Optional): Try to Restore Files Encrypted by GANCRAB v5.2.

Ransomware infections and GANCRAB v5.2 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.

1. Download the recommended Data Recovery software by clicking on the link underneath:

Simply click on the link and on the website menus on the top, choose Data Recovery - Data Recovery Wizard for Windows or Mac (depending on your OS), and then download and run the tool.

Step 6: How to Restore Files Encrypted by Ransomware (Video Guide)

Windows Mac OS X

Get rid of GANCRAB v5.2 from Mac OS X.

Step 1: Uninstall GANCRAB v5.2 and remove related files and objects

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 GANCRAB v5.2:

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 GANCRAB v5.2. 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 GANCRAB v5.2. 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 GANCRAB v5.2 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 GANCRAB v5.2. 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

Tip: ~ is there on purpose, because it leads to more LaunchAgents.

Click the button below below to download SpyHunter for Mac and scan for GANCRAB v5.2:


SpyHunter for Mac

Step 3 (Optional): Try to Restore Files Encrypted by GANCRAB v5.2.

Ransomware infections and GANCRAB v5.2 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.

1. Download the recommended Data Recovery software by clicking on the link underneath:

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.


What is GANCRAB v5.2 ransomware and how does it work?

GANCRAB v5.2 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 GANCRAB v5.2 ransomware infect my computer?

Via several ways.GANCRAB v5.2 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 GANCRAB v5.2 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 .GANCRAB v5.2 files?

You can't. At this point the .GANCRAB v5.2 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 .GANCRAB v5.2 files successfully, then do not despair, because this virus is still new.

One way to restore files, encrypted by GANCRAB v5.2 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 ".GANCRAB v5.2" files (Other Methods)?

Yes, sometimes files can be restored. We have suggested several file recovery methods that could work if you want to restore .GANCRAB v5.2 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 GANCRAB v5.2 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 GANCRAB v5.2 ransomware and then remove it without causing any additional harm to your important .GANCRAB v5.2 files.

Also, keep in mind that viruses like GANCRAB v5.2 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.

How to Report Ransomware to Authorities?

In case your computer got infected with a ransomware infection, you can report it to the local Police departments. It can help authorities worldwide track and determine the perpetrators behind the virus that has infected your computer. Below, we have prepared a list with government websites, where you can file a report in case you are a victim of a cybercrime:

Cyber-security authorities, responsible for handling ransomware attack reports in different regions all over the world:

Reports may be responded to in different timeframes, depending on your local authorities.

Leave a Comment

Your email address will not be published.

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