On the heels of the recent WannaCry attack, Europe has been hit with a new ransomware variant known as Petya. Ukraine reported ransom demands targeting the government and key infrastructure, and the Danish Maersk conglomerate said many of its systems were down.
This ransomware used a software update and social engineering to download the malicious file, either as a ZIP or PDF. It looks to exploit a vulnerability in Microsoft Office when handling RTF documents (CVE-2017-0199). It also looks to utilize the same vulnerability as WannaCry in the SMBv1 file sharing protocol (Microsoft security bulletin MS17-010) to spread laterally within an organization. Note there is NO KILL SWITCH implemented in this new ransomware, so it has clearly evolved since the WannaCry attack. However, researchers have discovered a way to vaccinate machines by creating readonly files on your machine as described below.
This ransomware is an evolution of the original Petya malware from 2015 which modifies the Master Boot Record (MBR). Unlike the original version this edition has been modified to exploit the new vulnerabilities in SMBv1 and encrypts all files rather than just the MBR in the original.
Seed vector
The attack looks like it was seeded through an accounting software (MeDoc) update mechanism required by companies working with the Ukrainian government. This also explains why it spread so widely in the Ukraine first. A second wave of infections were spread through email attachments as described earlier using classic phishing techniques.
Origin
According to many reports it is now looking like this ransomware was more like a cyberattack rather than a money making venture. The payment methodologies were so badly designed that each infected machine was directed to the same location. In addition, there was a single email account you can use to communicate with the attackers, which has already been shut down. It now seems more likely that this was designed for significant damage and specifically towards the Ukraine.
Some researchers are now claiming that this was a state sponsored attack against the Ukraine. There is still no hard evidence to suspect which country is involved. The NSA previously determined that WannaCry originated in North Korea.
How to protect yourself
If you have not done so, you should install the MS17-010 patch from Microsoft.
Researchers have also found a way to vaccinate your computer from the ransomware by creating a readonly directory and files on your machine. Use the following commands when running the command prompt as administrator:
attrib +R C:\Windows\perfc
attrib +R C:\Windows\perfc.dll
attrib +R C:\Windows\perfc.dat
Once these files have been created the encryption will no longer run.
More details of this attack will be updated as they are discovered.
Related Posts
Healthcare Ransomware Attacks: How to Prevent and Respond Effectively
Learn how to protect yourself from healthcare ransomware attacks. We discuss the main security weaknesses, suggest security steps, and offer possible means of protecting patient information.
Everything That You Need to Know About the Dark Web and Cybercrime
Learn about the dark web, including who uses it, how it operates, and what tools cybercriminals obtain on it. Find out how BlackFog monitors networks, forums, and ransomware leak sites in order to stay ahead of new threats.
Ongoing: New Ransomware Gangs in 2024
Ransomware gangs continue to break records and BlackFog will track all new ransomware gangs in 2024.
BlackFog unveils AI based anti data exfiltration (ADX) platform for ransomware and data loss prevention
BlackFog unveils the latest version of its AI based anti data exfiltration (ADX) platform for even more powerful ransomware and data loss prevention. Version 5 introduces new features including air gap protection, real-time geofencing, and baseline activity monitoring to ensure the highest level of cybersecurity protection.
EDR Kill Shifter: Why a Layered Cybersecurity Approach is Required
Learn how ransomware-as-a-service is simplifying ransomware tool creation and increasing ransomware attack accessibility in cybercrime. Find out how modern ransomware syndications use RaaS.
The Rise of Ransomware-as-a-Service and Decline of Custom Tool Development
Learn how ransomware-as-a-service is simplifying ransomware tool creation and increasing ransomware attack accessibility in cybercrime. Find out how modern ransomware syndications use RaaS.