NotPetya was a 2017 cyber attack that looked like ransomware but mainly destroyed data on the computers it hit.
This guide is for anyone who wants to understand what happened and what it teaches. You do not need to work in IT. If your organisation relies on computers to take orders, ship goods or pay staff, the lessons apply to you.
In short
- NotPetya struck in June 2017. It showed a ransom note, but US officials said it behaved more like destructive malware than ransomware.
- It reached many victims through a poisoned update to tax software used in Ukraine, then spread fast inside networks.
- The shipping firm Maersk said the attack would cut its results by 200 to 300 million US dollars [3].
- Patching, limiting admin rights, separating networks and keeping tested backups are the main defences.
What you will learn
- Explain why NotPetya is called fake ransomware.
- Describe how it spread from one update to firms around the world.
- Spot the weak points it used in a typical office network.
- Check whether your own backups would help you recover.
- Data destroyer (wiper)
- harmful software built to wreck data, not to hold it for ransom.
- Ransom demand (ransomware)
- harmful software that locks files and asks for payment to unlock them.
- Spare copy (backup)
- a separate copy of your data that you can restore from.
What is the NotPetya attack?
Think of a burglar who leaves a note saying "pay us and we will return your things". Then you learn he burned everything on the way out. Paying would not bring anything back.
NotPetya worked in a similar way. It showed a ransom message on each screen. But the US cyber agency found no link between the key and the victim, so paying was unlikely to unlock anything [1]. That is why people call it a wiper (software built to destroy data) dressed up as ransomware (software that locks data for payment).
The UK government said the attack "masqueraded as a criminal enterprise". It said its main targets were Ukrainian banks, energy firms and government, but it spread to businesses across Europe and Russia [2].
Where the comparison stops working: a burglar picks one house. NotPetya copied itself from computer to computer, so one infected office could take down a whole company.
For other well-known outbreaks, see Famous Malware Outbreaks for Beginners. This page looks closely at NotPetya alone.
Why does it matter?
NotPetya showed that a firm does not need to be the target to be badly hurt. The UK government said it cost organisations hundreds of millions of pounds [2].
If you run a business
What could happen: you cannot take orders or pay staff for days while every computer is rebuilt.
Check this: ask how long it would take to restore your key systems from backup.
Next: Business Continuity and Disaster Recovery for Beginners
If you look after IT
What could happen: one missed update and one shared admin password let malware reach every machine.
Check this: confirm security updates are applied and admin rights are kept to a few accounts.
If you buy software from suppliers
What could happen: a trusted update carries harmful code into your network.
Check this: ask suppliers how they protect their update process.
What does it look like?
Here is a made-up version of the kind of screen staff saw. It is not the real wording.
Example only. All values are made up.
Ooops, your important files are encrypted. (1) Send 0000 FAKE-COIN to: EXAMPLE-WALLET-0000 (2) Then email your key to: [email protected] (3) Enter your key: ______________ (4)
- A ransom headline. It makes the attack look like a money-making crime.
- A payment request. In a real message, this line would contain a digital currency address.
- A contact address. US officials said the email account used for payments was shut down by its provider [1].
- A box for a key that, for NotPetya, was unlikely ever to arrive.
Why this is risky: staff may think paying will fix things, and lose time and money.
The safer way: switch off the network link, report it at once, and plan to restore from clean backups. The US agency advised against paying ransoms [1].
How does it work?
- A poisoned update. US officials traced the outbreak to a tampered update of a Ukrainian tax program called M.E.Doc [1]. This is a supply chain attack (harm that arrives through a trusted supplier).
- Collecting passwords. The malware gathered Windows passwords from the first computers it reached [1].
- Spreading inside. It used those passwords, plus normal admin tools, to reach other machines. It also used a Windows flaw on computers that had not been updated [1]. Moving from machine to machine like this is called lateral movement.
- Scrambling the disk. With admin rights, it locked the start area of the disk, called the master boot record (the part a computer reads first when it starts). That left the computer unusable [1].
- Showing the note. The ransom screen then appeared, even though paying was unlikely to help.

The fix for that Windows flaw had been released by Microsoft in March 2017, months before the attack [1][4]. Computers that had it were harder to reach that way, but the stolen passwords could still work.
Passwords used by software matter too. Many networks have service accounts (accounts made for software to use, not a person). If one has admin rights everywhere, malware that captures it can travel far. Keep those rights small.
At Maersk, the company said the attack mainly hit its container shipping, port terminal and logistics businesses. It said volumes were hurt for a couple of weeks in July 2017 [3]. The Register reported a later talk by the company's chair. He said Maersk reinstalled 4,000 servers, 45,000 PCs and 2,500 applications in about ten days [5].
A worked example
This story is made up to show the idea.
Noor Oakley runs the office at Pine Accountants, a firm of twelve people. One Monday, three computers show a ransom screen. Within an hour, more go dark.
Noor's IT supplier, Eamon Mbeki, tells everyone to unplug network cables. He asks Noor not to pay. He explains that some attacks, like NotPetya in 2017, only pretend to be ransomware.
Eamon finds that the malware spread using one admin password. That password worked on every computer, including the file server. One older laptop had also missed months of Windows updates.
The good news is the backups. Noor had asked for a weekly copy kept offline, plus a test restore each quarter. Eamon rebuilds the machines and restores Friday's files. The firm loses one working day of data.
Afterwards, Noor makes three changes, and writes them into the office handbook. Each computer gets its own admin password. Updates are checked monthly. The accounts and the payroll systems move onto a separate part of the network, so trouble in one area is less likely to spread.
Noor learned that the ransom screen was not the real problem. Recovery depended on backups that the malware could not reach. She now asks Eamon for a short report on updates and backups every month.
Myths and mistakes
| What people think | What is true |
|---|---|
| NotPetya was ordinary ransomware. | US officials said it behaved more like destructive malware, and decryption after payment was unlikely.[1] |
| Only Ukrainian firms were hit. | The UK government said it spread to businesses across Europe and Russia.[2] |
| Installing updates would have stopped it. | Updates closed one route. It could also spread with stolen passwords and normal admin tools.[1] |
| A backup on the same network is enough. | Malware that reaches every machine may reach that copy too. Keep one copy offline and test it. |
| Software from a trusted supplier is always safe. | A tampered update was the starting point here. Ask suppliers how they protect their updates. |
What can I do this week?
- Ask when your computers last got security updates. Turn on automatic updates where you can.
- Find out if one admin password works on many computers. Ask for a different one on each.
- Check that one backup copy is kept offline. Then do a test restore.
- Write down who to call if a ransom note appears.
- In the UK, report cyber crime to Report Fraud. This covers England, Wales and Northern Ireland. In Scotland, call Police Scotland on 101.
Checklist
- I can explain why NotPetya is called fake ransomware.
- Our computers receive security updates on a set schedule.
- Admin rights are limited to the people and accounts that need them.
- Each computer has its own local admin password.
- Important systems sit on a separate part of the network.
- We keep at least one backup copy offline and test restoring it.
- Staff know to unplug and report, not pay, if a ransom screen appears.
Common questions
Why is NotPetya called fake ransomware?
Because it showed a ransom note but was not built to give data back. The US cyber agency found no link between the key and the victim. It said NotPetya acted more like a data destroyer. So paying was unlikely to bring files back.
Who was behind NotPetya?
The UK government blamed the Russian government in February 2018. The UK's cyber centre said the Russian military was almost certainly to blame. US officials later updated their own alert. It also named the Russian military.
How did NotPetya get into companies outside Ukraine?
It spread on its own. The UK government said it was built to spread widely, so it reached firms across Europe and Russia. Inside one office, it moved with stolen passwords, admin tools and an old Windows flaw. Open, linked networks let it go further.
How much did NotPetya cost Maersk?
About 200 to 300 million US dollars. That was Maersk's own estimate in August 2017 [3]. It said the attack mainly hit its shipping, port and logistics arms. Trade was hit for a couple of weeks in July.
What is the single most useful lesson?
Plan to recover, not only to keep attacks out. Keep tested backups that malware is unlikely to reach. Know how long a rebuild would take. Then patch, cut admin rights and split up the network to limit the spread.
Where next?
Ready for the detail? Read the practitioner guide: Data Integrity Protection Against Destructive Attacks Guide. It goes further into wiper behaviour, protected backups and recovery planning for destructive attacks.
Also useful:
- Famous Malware Outbreaks for Beginners
- Ransomware for Beginners
- Network Segmentation for Beginners
- Nation-State Hacking for Beginners
Related NHI Mgmt Group resources: Patch Management for Beginners, Local Admin Passwords for Beginners and Non-Human Identities for Beginners.
Key terms
- NotPetya
- A 2017 cyber attack that posed as ransomware but mainly destroyed data.
- Wiper malware
- Harmful software built to destroy data or make computers unusable.
- Ransomware
- Harmful software that locks files or systems and demands payment.
- Master boot record
- The first part of a disk that a computer reads when it starts.
- Lateral movement
- An attacker or malware spreading from one computer to others inside a network.
- Software supply chain attack
- An attack that arrives through trusted software or updates from a supplier.
- Offline backup
- A copy of data kept disconnected, so malware on the network is less likely to reach it.
Sources and further reading
- CISA, "Petya Ransomware" (Alert TA17-181A), first issued 1 July 2017, updated 15 February 2018. https://www.cisa.gov/ncas/alerts/TA17-181A (accessed 3 Dec 2026).
- UK Government, Foreign and Commonwealth Office and National Cyber Security Centre, "Foreign Office Minister condemns Russia for NotPetya attacks", 15 February 2018. https://www.gov.uk/government/news/foreign-office-minister-condemns-russia-for-notpetya-attacks (accessed 3 Dec 2026).
- A.P. Moller - Maersk, "Interim Report Q2 2017", company announcement, 16 August 2017. https://investor.maersk.com/news-releases/news-release-details/interim-report-q2-2017 (accessed 3 Dec 2026).
- Microsoft, "Microsoft Security Bulletin MS17-010: Security Update for Microsoft Windows SMB Server", 14 March 2017. https://learn.microsoft.com/en-us/security-updates/securitybulletins/2017/ms17-010 (accessed 3 Dec 2026).
- The Register (news report), "After NotPetya, Maersk replaced everything", 25 January 2018. https://www.theregister.com/2018/01/25/after_notpetya_maersk_replaced_everything (accessed 3 Dec 2026).