July 21, 2016 By Larry Loeb 2 min read

Petya ransomware has always been known for the peculiar manner in which it encrypts an affected disk. While other threats target files on a one-to-one basis, Petya attempts to encrypt the computer’s master boot blocks.

One for the Good Guys

The first version of Petya needed a reboot before the bad stuff would happen, so security researchers found a vaccine that would stop the machine from rebooting. Point to the good guys.

Petya’s authors took a bit of time to regroup and then responded by adding a module called Mischa as a backup. If Petya couldn’t get running, Mischa would encrypt the victim’s files on a one-to-one basis.

Petya Ransomware Reboots

There’s more bubbling beneath the surface here: Each of those Petya versions was using the Salsa20 algorithm to encrypt the master file table, which would then render the disk inaccessible.

But a few implementation bugs left in the ransomware weakened the intended algorithm. It all stemmed from the fact that the malware’s author implemented Salsa20 incorrectly by generating only 16 bits of a key parameter instead of 32.

This opened a window to potentially recover encrypted data, according to one security researcher who addressed Petya previously on the Malwarebytes blog.

Third Time’s the Charm

The creator realized the mistake and addressed the problem in a new release of Petya, the researcher noted in another Malwarebytes post. This new version seems to feature the proper Salsa20.

According to SecurityWeek, the new version also features a more complex preprocessing algorithm. Petya is reaching maturity. However, Petya’s ransomware-as-a-service page lists the new release as a beta version. What will this self-proclaimed beta end up as?

In the past, Petya used spam emails disguised as job applications as a spear phishing technique. These spam emails included a link that ended up pointing to cloud storage locations. It seems prudent to steer clear of such emails unless you are certain that they come from trusted sources. Trust but verify.

More from

DOD establishes Office of the Assistant Secretary of Defense for Cyber Policy

2 min read - The federal government recently took a new step toward prioritizing cybersecurity and demonstrating its commitment to reducing risk. On March 20, 2024, the Pentagon formally established the new Office of the Assistant Secretary of Defense for Cyber Policy to supervise cyber policy for the Department of Defense. The next day, President Joe Biden announced Michael Sulmeyer as his nominee for the role.“In standing up this office, the Department is giving cyber the focus and attention that Congress intended,” said Acting…

Unpacking the NIST cybersecurity framework 2.0

4 min read - The NIST cybersecurity framework (CSF) helps organizations improve risk management using common language that focuses on business drivers to enhance cybersecurity.NIST CSF 1.0 was released in February 2014, and version 1.1 in April 2018. In February 2024, NIST released its newest CSF iteration: 2.0. The journey to CSF 2.0 began with a request for information (RFI) in February 2022. Over the next two years, NIST engaged the cybersecurity community through analysis, workshops, comments and draft revision to refine existing standards…

What should Security Operations teams take away from the IBM X-Force 2024 Threat Intelligence Index?

3 min read - The IBM X-Force 2024 Threat Intelligence Index has been released. The headlines are in and among them are the fact that a global identity crisis is emerging. X-Force noted a 71% increase year-to-year in attacks using valid credentials.In this blog post, I’ll explore three cybersecurity recommendations from the Threat Intelligence Index, and define a checklist your Security Operations Center (SOC) should consider as you help your organization manage identity risk.The report identified six action items:Remove identity silosReduce the risk of…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today