Since file-encryption ransomware Crilock (also called CryptoLocker) has reared its head, the security industry has been hard at work finding ways to mitigate and neutralize these threats. We've also been hard at work finding ways to recover from the encryption and restore affected files – such as our recommendations on using version control and recovery options in SkyDrive and Windows.
This week, researchers from FireEye and Fox-IT have released a tool that may be able to recover files encrypted by Crilock – without having to pay the malware authors.
It's important to note that the tool comes on the heels of a takedown of a Zeus/Gameover CnC server that was previously being used to authenticate and generate the encryption keys. This means the tool can only provide decryption keys for files that were encrypted by keys generated by that server. In other words, the tool comes with a caveat: it may not work in all instances.
Ultimately, however, it's still worth a try when you've tried everything else, and we want to share as many options and techniques to recover and protect your systems as possible
The user uploads an encrypted file (it probably makes sense to use something without sensitive information or data) to the recovery portal, which searches for a matching private key from the database. If there is a match, the user receives an email with the actual private key which they can use to in a stand-alone command-line tool to decrypt each encrypted file on their own.
Figure 1: Uploading a file to their online service
We tested it out with files that were encrypted in November 2013 and received positive results (via email) for each file that was encrypted:
Figure 2: Instructions from the DecryptCryptoLocker team
Once downloaded, the tool can be launched with a command prompt:
Decryptolocker.exe –key "<key>" <encrypted file>
The command line operation would look like this (you just need to copy and paste the key from the email and specify the file):
Figure 3: Decryption per file
After applying the decryption key, you'll receive an acknowledgement and consent request, and the file will be decrypted.
Figure 4: File successfully decrypted
It's important to note that this tool will not work in every case – it depends on when the file was encrypted (and, therefore, if the CnC server that Crilock used was part of the takedown).
You can read more about the tool at the FireEye blog Your locker of information for CryptoLocker decryption.
We would like to extend our thanks to colleagues at FireEye and Fox-IT for providing this kind of support for users whose files have been compromised by Crilock (CryptoLocker).
Follow us on Twitter (@MSFTMMPC) and like us on Facebook to get notifications of our blog posts and industry news.
Microsoft Malware Protection Center
Secure Hunter Anti -Malware