ACTIVE MALWARE WINDOWS

How to fix
Protect your Device from Petya/NotPetya Attack
on Windows

Safeguard your Windows 10 or 11 device from Petya/NotPetya attacks with essential tweaks and optimizations. Expert-tested for maximum security.

How to Protect your Device from Petya/NotPetya Attack?
Quick Summary
Impact level
Medium
Est. time
15 minutes
Offer Fortect PC Suite
Fix it now →
Ad · we may earn a commission
0 Comments
01

Why does How to Protect your Device from Petya/NotPetya Attack occur?

  • Ransomware spreading across networks
  • File encryption by the virus
  • Demand for ransom to recover files
  • Lack of a kill switch for the virus
  • No known decryption method for enciphered files
Offer Fortect PC Suite

Repairs Windows system files, removes malware, and restores a clean OS state — without reinstalling.

Ad · we may earn a commission
Get Fortect PC Suite ↗

I’ve recently read an article about this new ransomware called Petya that is currently spreading across Europe. I own a small retail business, and I wonder if there is anything I could do to protect the company data?

Petya not petya protection defence
Petya not petya protection defence

Petrwrap, NotPetya, Petya.a are just a few different names that have been given to the new string of Petya ransomware that has hit the web towards the end of June. Why so many different names, you ask? One answer may be that this variant of the well-known ransomware deviates from the original so much that it deserves a separate title.

Regardless of how you call it, the virus is what it is -- a file encrypting parasite which demands 300 dollars for the recovery of a single computer. The parasite may ask times more than that if it infects large computer networks belonging to companies and organizations.

The virus spreads across European countries of Ukraine, Germany, Poland, France, Italy and also appears in some reported attack cases in the US.

Unfortunately, kill switch for this cyber threat does not exist, nor the cryptologists or malware experts have found a way to decrypt the enciphered files.

Nevertheless, the cyber security experts managed to come up with a way to prevent Petya/NotPetya attack, and it involves creating a read-only file called perfc on the Windows partition C:. More detailed instructions explaining how to perform this procedure step-by-step are presented below.

Creating read-only perfc file:

The first thing you have to do is configure Windows to display file extensions next to the filenames. You have to make sure to check the Show hidden files, folders and drives option in the list of the Folder Options. Then, continue with the procedure:

  1. Open the C:\Windows folder and locate the notepad.exe program.
  2. Copy and paste this program in the same folder
  3. When prompted for permission to copy the files, select Continue
  4. A new file called notepad - Copy.exe will be created on the folder, and you will have to rename it to “perfc” (left-click the file and select “Rename.”)
  5. In the “Rename” confirmation prompt click Yes and Continue.
  6. Now, right-click the perfc file and enter its properties
  7. In the properties window, you will see a check-box with the read-only option. Make sure it is checked.
  8. Click OK to confirm.

Completing these steps should provide your PC with a layer of security, but definitely won’t shield your from the threat unconditionally. You will have to make sure your device is running the latest Windows version, and the installed software regularly receives updates.

Also, if you want to keep your data really safe, keep in mind that data backups are the key.

Bottom line

To protect your device from the Petya/NotPetya attack, create a read-only file named 'perfc' on the Windows partition C:. Ensure that you configure Windows to display file extensions and show hidden files before proceeding with the steps to create the file. If these measures do not work, consider consulting with cybersecurity experts for further assistance.

Frequently asked questions

To protect your Windows 10 device, ensure that your operating system and all software are up to date, enable Windows Defender, and configure your firewall settings to block suspicious traffic.

Yes, Windows 11 includes advanced security features like Microsoft Defender Antivirus and ransomware protection, which can help safeguard your system against Petya/NotPetya attacks.

Utilize the Windows Backup feature in Windows 10 or Windows 11 to create regular backups of your important files, ensuring you have recovery options in case of an attack.

Did this fix work for you?
Julie Splinters

Written & verified by

Software & Privacy Expert
Software uninstall Adware removal PUP cleanup Browser restoration Privacy tools

Julie Splinters is a software and privacy expert who has spent years helping users remove unwanted programs, clean adware-infected browsers, and reclaim their privacy settings. Her speciality is the grey area between legitimate software and potentially unwanted programs — the bundles, toolbars, and browser extensions that users never intentionally installed. Julie's uninstall guides are thorough and sequential, covering manual removal, registry cleanup, and post-removal browser restoration. She also writes about privacy tools and software installation best practices that help users avoid these problems in the first place.

0 Comments

Be the first to comment

Still worried? Run a free check.

Paste any URL or domain — we'll scan it against 4.2M known threats in 10 seconds.

View full scanner → Add to your website →