Quick answer: On 27 June 2017, malware later named NotPetya spread from a hijacked update of M.E.Doc, a Ukrainian accounting program, and then across the world. It looked like ransomware but was designed to destroy data. Shipping giant Maersk, pharmaceutical company Merck and many others lost entire networks, and total damage was estimated at more than $10 billion. The US and UK governments attributed it to the Russian military.
| Key facts | |
|---|---|
| Date | 27 June 2017 |
| First infected via | A compromised update of M.E.Doc, Ukrainian tax and accounting software |
| Type of attack | Wiper disguised as ransomware, spread through a software supply chain |
| Attacker | Attributed by the US and UK to the Russian military |
| Victims | Maersk, Merck, FedEx’s TNT Express, Mondelez and many others |
| Impact | Estimated more than $10 billion in total damage worldwide |
Timeline
- 27 June 2017: A malicious M.E.Doc update infects companies in Ukraine; NotPetya spreads worldwide within hours.
- 1 July 2017: CISA issues an alert on the malware.
- February 2018: The US and UK publicly attribute NotPetya to the Russian military.
What happened
M.E.Doc was used by most businesses filing taxes in Ukraine. Attackers compromised its update server and pushed out malware to every company that installed the update. Once inside, NotPetya spread to every Windows computer it could reach, using the EternalBlue exploit and stolen administrator passwords.
It displayed a ransom note, but there was no working way to recover files. Its real purpose was destruction.
Maersk and Merck
Global firms with offices in Ukraine were hit hard. According to WIRED’s investigation, the Danish shipping company Maersk had to rebuild its entire network, reinstalling thousands of servers and tens of thousands of PCs, while its port terminals struggled to operate. US pharmaceutical company Merck and many others suffered losses in the hundreds of millions of dollars. WIRED reported that the total damage was estimated at more than $10 billion.
Lessons for your organization
- Keep offline backups and a tested plan to rebuild networks from scratch.
- Treat software updates, especially from smaller vendors, as a potential attack route.
- Patch systems quickly and limit the use of shared administrator passwords.
- Segment networks so local offices cannot infect the whole company.
- Plan for destructive attacks where paying is not an option.
This incident is part of our guide to major cyber attacks and data breaches, which compares the biggest incidents and the patterns behind them. See our guide to supply chain attack vectors. To see whether the same weaknesses exist in your organization, take the free Cybersecurity Readiness Assessment.
Related reading
WannaCry Ransomware Attack: How a Worm Hit the NHS and the World
SolarWinds Supply Chain Attack: The Hack Hidden in Software Updates
Frequently asked questions
What was NotPetya?
Destructive malware disguised as ransomware that spread worldwide on 27 June 2017 from a hijacked Ukrainian accounting software update.
Which companies were hit by NotPetya?
Maersk, Merck, FedEx’s TNT Express, Mondelez and many others.
Who was behind NotPetya?
The US and UK governments attributed it to the Russian military.





