‘Petya’ cyber attack: How to vaccinate your computer

The process takes a matter of minutes

Aatif Sulleyman
Wednesday 28 June 2017 11:17 BST
Comments
The ransomware is being called 'Petya', 'NotPetya', 'Petna' and even 'SortaPetya'
The ransomware is being called 'Petya', 'NotPetya', 'Petna' and even 'SortaPetya' (Reuters)

Your support helps us to tell the story

From reproductive rights to climate change to Big Tech, The Independent is on the ground when the story is developing. Whether it's investigating the financials of Elon Musk's pro-Trump PAC or producing our latest documentary, 'The A Word', which shines a light on the American women fighting for reproductive rights, we know how important it is to parse out the facts from the messaging.

At such a critical moment in US history, we need reporters on the ground. Your donation allows us to keep sending journalists to speak to both sides of the story.

The Independent is trusted by Americans across the entire political spectrum. And unlike many other quality news outlets, we choose not to lock Americans out of our reporting and analysis with paywalls. We believe quality journalism should be available to everyone, paid for by those who can afford it.

Your support makes all the difference.

Security experts have found a ‘vaccine’ for the ransomware that has been causing chaos around the world.

It was initially thought to be a variant of known malware Petya, but is now claimed to be a completely new infection, which Kaspersky has dubbed ‘NotPetya’.

However, it’s still widely being referred to as ‘Petya’, as well as ‘Petna’ and even ‘SortaPetya’.

It has affected a number of large organisations around the world, including WPP in the UK.

According to a report on Bleeping Computer, security researcher Amit Serper has found a vaccine that people can use to protect individual computers from ‘Petya’.

What you need to do is create a single file, which will stop the ransomware from encrypting your computer’s files and locking you out of it.

First, you need to enable Windows extensions by opening My Computer, hitting Tools, Folder Options, View and unchecking the Hide extensions for known file types option.

Once you’ve done that, open the C:\Windows folder, left-click the notepad.exe program (which you’ll have to scroll down to find), hit Ctrl+C on your keyboard to copy it and Ctrl+V to paste it..

Select Continue when the permissions box launches, and rename the ‘notepad - Copy.exe’ file that will be created ‘perfc’.

After that, right-click perfc, select Properties and check the Read-only option.

The process takes a matter of minutes, and has been confirmed as a valid protection method by several other researchers.

However, as it’s a vaccine and not a killswitch, you’ll need to do it for every computer you own.

Join our commenting forum

Join thought-provoking conversations, follow other Independent readers and see their replies

Comments

Thank you for registering

Please refresh the page or navigate to another page on the site to be automatically logged inPlease refresh your browser to be logged in