Skip to main content

Petya Ransomware Vaccine: This Single File Will Protect You From Latest Attack


petya ransomware vaccine fix
A security researcher has found a fix for the latest Petya Ransomware attack. For now, you can vaccinate your system in seconds by creating a particular file. If Petya finds that file on the disk, it stops the encryption business. Please note that users need to create this
file independently on each computer and it doesn’t fix things globally like WannaCry killswitch.
Yesterday we reported about the deadly Petya ransomware which exploits Eternal Blue vulnerability, the same exploit which was used by the creators of WannaCry exploit. For those who don’t know, Eternal Blue was designed by NSA and leaked by Shadow Brokers. The ransomware has already affected multiple countries like Ukraine, Russia, Poland, Germany, etc.
Earlier it was believed that the current malware is a variant of the older Petya ransomware, which made headlines last year. However, after further analysis, Kaspersky confirmed that it’s a new infection and they labeled it as “NotPetya.”
The working of Petya is a lot different from its other ransomware counterparts. This malware waits for about 10-60 minutes after the infection and then reboots the system using “at” or “schtasks” and “shutdown.exe” utilities. After the reboot, Petya starts encrypting MFT table in NTFS partitions and overwrites the MBR with the folder that contains ransom notes.
You can read more about Petya ransomware’s working here at Kaspersky’s Securelist blog.

How to enable Petya ransomware fix/vaccine?

Security researcher Amit Serper has found a way to prevent the Petya/NotPetya ransomware, according to a report from Bleeping Computer.
As this ransomware has made an appearance around WannaCry’s timeline, the researchers believed that there might be some killswitch domain to take care of Petya’s wrath. However, after analyzing its inner working, Serper found that Petya ransomware would cease its encryption routine if it finds a local file on disk. His finding has been confirmed by other security researchers too.
To make sure that your computer is vaccinated against Petya, you should create a file called perfc in C:\Windows folder and make it read only. Here’s how to do it —
  1. To do so, you need to first enable Windows extensions by opening Folder Options. There, uncheck the Hide extensions for known file types option.
  2. Now open C:\Windows folder and find the notepad.exe program. Select it using left-click, press Ctrl+C to copy it and use Ctrl+V to paste it.
  3. After this, a new notepad – copy.exe file will be created. Now rename this file as perfc and hit Enter. You’ll be shown a prompt that’ll ask you if you’re sure to rename it. Choose Yes and continue.
  4. Now, to make the file read-only, right-click on the file and select Properties.
  5. In the perfc Properties window, look for a Read-only checkbox at the bottom. Check it and click on Apply and then OK.
That’s all you need to do for making sure that you’re protected against Petya ransomware. Please note that it isn’t like a WannaCry killswitch that took care of the ransomware globally. This vaccine is applicable to a single computer on which it’s applied.
So, did you find this article on Petya ransomware vaccine helpful? Share your views in the comments.

Comments

Follow Us

WHAT'S HOT

Facebook Trying To Get Rid Of Fake, Low-Quality Live Videos

Facebook is updating its Live guidelines to limit the reach of fake and low-quality content. It's explicitly disallowing publishers from posting prerecorded videos as if they're livestreams and it also won't allow for static/looping images or livestreamed polls.

Poco F2 Pro 5G Officially Launched Globally With Snapdragon 865

After months of wait, Poco has officially launched Poco F2 Pro. The phone is a sequel to the Poco F1 which was a huge success for the company back in 2018. It is also the second Poco contender in 2020. In February, the Poco brand revealed a new phone lineup and launched Poco X2. The phone was priced at Rs 15,999 and featured similar specs of Redmi K30, a Xiaomi flagship that was launched back in 2018. The company has applied the same strategy for today’s launch. As we expected, Poco F2 Pro bundles all the specs of Redmi K30 Pro that Xiaomi launched last month. Poco F2 Pro Specifications, Availability and Price Unlike the Poco X2, the phone offers a circular camera at the back and a pop-up selfie camera at the front as opposed to the regular dual-hole punch cutout on the display of Poco X2. Poco F2 Pro comes with a 6.67-inch FHD+ AMOLED display with a 92.7% screen to body ratio. On top of that, the phone has an in-display fingerprint sensor to keep up with...

Windows Subsystem For Linux Is Beta No More, Gets “Full Support” In Windows 10 Fall Creators Update

As we told you earlier, WSL on Windows 10  moved out of beta  in August. It still carries the beta tag in Windows 10 Creators Update. Also, it won’t require people to enable developer

Steps To Enable Speech Recognition On Windows 10

The accuracy of speech recognition increases through use, and the feature adapts itself to a user’s grammar, word usage, speech patterns, and vocabulary.