Experts recover data encrypted by Petya ransomware

Get your data back without paying criminals

Victims of ransomware that has infected machines and prevented access to data may now be able to regain access to those files, thanks to an unidentified developer that managed to crack the malware.

The programmer, who is only known by their Twitter handle Leo_and_Stone, released the tool via code-sharing site Github. They developed the code to help their father-in-law, who's machine was infected by the malware.

The malware, which has been in circulation since March, locks up data and demands a ransom of 0.9 bitcoins (264). It arrives hidden in emails purporting to come from people looking for employment.

The malware replaces the hard drive's legitimate Mast Boot Record code. It encrypts the master file table (MFT) and display a ransom note.

Advertisement - Article continues below

What is novel about this malware is that the files are not encrypted. It is the MFT that has been changed so the operating system cannot locate data. Data recovery tools can reconstruct files, but this is not always successful.

The code developed by Leo_and_Stone means that data recovery or paying a ransom is no longer necessary. Experts from confirmed that the method works, but it entails extracting some data from an affected hard drive.

Tim Stiller, senior systems engineer at Rapid7, told IT Pro that what is unique about Petya ransomware and this new decryption tool is the ability to recover files without paying bitcoins.

"Many ransomware variants go to great lengths to thwart the user from decrypting the files without paying the ransom. In Petya's case, the disk was encrypted with just a single key. While the description technique for decryption can be a bit complex for some, it works," he said.

"For victims infected with Petya, this tool is very helpful at recovering their data. From the malware author's perspective, this particular decryption tool will likely prompt them to either change how the encryption functions, or shift over to a file-by-file level encryption, thus patching the ability to recover data. 

"For organisations dealing with threats such as this, it is recommended that they maintain recent backups of their data and avoid opening any emails and attachments that they are unsure about. If they have any concerns, they should forward suspect emails to the security team for triage," he added.

Featured Resources

The IT Pro guide to Windows 10 migration

Everything you need to know for a successful transition

Download now

Managing security risk and compliance in a challenging landscape

How key technology partners grow with your organisation

Download now

Software-defined storage for dummies

Control storage costs, eliminate storage bottlenecks and solve storage management challenges

Download now

6 best practices for escaping ransomware

A complete guide to tackling ransomware attacks

Download now



How can you protect your business from crypto-ransomware?

4 Nov 2019

Hackers abuse LinkedIn DMs to plant malware

25 Feb 2019

Google confirms Android cameras can be hijacked to spy on you

20 Nov 2019

Best antivirus for Windows 10

3 Sep 2019

Most Popular

identity and access management (IAM)

44 million Microsoft customers found using compromised passwords

6 Dec 2019
Microsoft Azure

Microsoft, not Amazon, is going to win the cloud wars

30 Nov 2019

Five signs that it’s time to retire IT kit

29 Nov 2019

Why 5G could be a cyber security nightmare

6 Dec 2019