Latest
SMS Appointment RemindersDarrell Stern: Stop Being Invisible, Become UnmissableFree BooksJoe Rockey: Ghostwriting His BookHow to Turn Your Expertise Into a Book People Want to Read | The Expert MethodWhat’s New at The Writing King: Week of October 25, 2026Challenger Remembrance Day: The Engineer Who Wouldn’t SignJoel Salomon: The Truth About MoneyReddit Is Putting Up a Login Wall. Wikipedia Won’t Be Far Behind.Victoria Chemko: The Body Is the First TechnologySir Patrick Stewart: A TributeA Year in the Bank: ADHD, Face Blindness and the Freedom to Walk Out | The Impossible Puzzles Show, Episode 326A Yale Economist Says We Won’t Be Missed. He Forgot the Bread Line.Walter Koenig: A TributeAI Has Paid Off Outside Tech. Apollo Is Reading the Wrong Scoreboard.I Don’t Post Bad ARC Reviews. I Send the Author a Note.The Little Red Book of Stuff That Works!Your Kids Are Your Own FaultGrow a PairYou’re Broke Because You Want to BeIt’s Called Work for a Reason!No Time for TactShut Up, Stop Whining, and Get a LifeWilliam Bessette: AI Enablement and Child Welfare TechnologyFree Book Planning ToolsWhat’s New at The Writing King: Week of October 18, 2026Ghostwriting by the Numbers: Timelines, Word Counts and the First CallPromising Young Woman (2020) ReviewBillions for AI, Pennies for the Plumbing: AI Companies Should Pay to Keep PHP AlivePHP2Shell: AI Found a 22-Year-Old Crack Under Your Website in Two DaysPetrov Day: The Officer Who Didn’t Believe the ComputerKindle Unlimited Is Now Kindle+. AI Audiobooks Just Joined the BuffetMo Gawdat Says the AI Dystopia Starts in 2027. Read the List, Skip the DatesChina Is Using Bots to Fan the Data Center Backlash. The Backlash Is Still Real.The Society of Authors Signed an Ethical AI Charter, Then Ran From It in Eight DaysWhen to Quit Writing a Book: I’ve Abandoned Dozens, and I’d Do It AgainGetty Images Filed for Bankruptcy. Can You Prove You Licensed Your Book’s Images?Fluff Words: Cut Them From Your Prose, Keep Them in Your DialogueWhere Can Writers Learn Storytelling From Movies? Richard Lowe Publishes 1,226 Film and TV Reviews With Writing Craft NotesWhere Are the Independent Bookstores and Public Libraries Worth Visiting in Tampa Bay? Author Richard Lowe Profiles 44 of ThemWhat Should You Know Before Hiring a Ghostwriter? The Writing King Publishes 57 New Answers, Including What to Do When It Goes WrongWhere Can You Hear Founders and Executives Tell Their Own Stories? Richard Lowe’s Leaders and Their Stories Publishes Every Unscripted Interview With a Full TranscriptAuthor Richard Lowe Publishes Eight Volumes of Enemies of You, a Researched Series on the Forces Working Against Ordinary AmericansThe Jackal (1997) ReviewThe Day of the Jackal (2024) ReviewYour First Novel Is an Apprentice Piece: What Beta Readers and Editors Can’t FixWhen the Cloud Gets Bombed: What the AWS Data Center Strikes Teach About BackupsHuman-Written Book Labels Are Gatekeeping With a FeeThe Enshittification of Microsoft Office: Why I Switched to a Free CloneGlobal Encryption Day: The Padlock Every Writer Depends On
The Writing King Your Ethical Ghostwriter. Your Story, Done Right.

NotPetya: A Software Update That Cost the World Ten Billion Dollars

TL;DR: On June 27, 2017, a routine update to a piece of Ukrainian accounting software carried a weapon. Russian military hackers had taken over the update servers and used them to push out NotPetya, malware disguised as ransomware that was really built to destroy. It wiped machines beyond recovery, tore through global companies like Maersk and Merck that happened to do business in Ukraine, and did an estimated ten billion dollars of damage worldwide. Nobody clicked a bad link. They installed an update they were supposed to install. This is the ninth article in a series on attacks that beat isolation, and it’s the one where the trusted update itself was the attack.
☰Series Navigation  (13 parts)

Every organization on earth runs on a promise it never thinks about: that the software updates it installs are safe. Your computer nags you to update. Your security team insists on it. Every piece of advice anyone has ever given you about staying safe online includes the words “keep your software up to date.” Updating is the responsible thing, the hygienic thing, the thing the good and careful do.

On June 27, 2017, attackers turned that promise into a weapon, and the people who got hurt worst were the ones who did exactly what they were told. This is the story of NotPetya, the most destructive cyberattack in history to that point, and it arrived through the front door of the update everyone trusted.

This one stings in a particular way. The companies that got hurt worst were the ones doing what every security professional, me included, tells people to do. When the advice you give turns into the delivery route for a weapon, you owe the people who followed it an explanation, and the vendor that let its update servers get taken over owed them a great deal more than that.

What was NotPetya?

NotPetya was malware that looked like ransomware and was in truth something worse.

Ransomware locks up your files and offers to sell you the key. It’s a business, ugly but transactional: pay the criminals, get your data back. NotPetya wore that costume. It popped up a ransom note, encrypted files, and demanded payment in Bitcoin, so the first responders assumed they were dealing with a criminal shakedown.

The companies that got hurt worst were the ones doing what every security professional, me included, tells people to do.

There was no key. The encryption was designed to be permanent, and the data was gone for good whether or not anyone paid. (See also how encryption became a weapon) The ransom screen was a disguise on a weapon built purely for destruction. Security people call it a wiper: its job is to ruin the machine and everything on it, and the ransom note only muddied the water and bought time while it spread. I think dressing a wiper up as ransomware is a cynical move, because it sent victims chasing a payment that could never save them.

The United States, the United Kingdom, and their allies later attributed NotPetya to Sandworm, a unit of Russia’s military intelligence agency, the GRU. The same group has been tied to the attacks on Ukraine’s power grid. The White House called NotPetya the most destructive and costly cyberattack in history.

How did NotPetya spread if nobody clicked anything?

Through a trusted update, and this is the whole reason it belongs in this series.

The target was Ukraine, and the way in was a piece of software called M.E.Doc, Ukrainian tax and accounting software so widely used that it was effectively mandatory for doing business in the country. If you operated in Ukraine, you almost certainly ran it, and like all software, it updated itself from the vendor’s servers.

Sandworm compromised those servers. Having gotten into M.E.Doc’s update infrastructure, they pushed out a poisoned update through the vendor’s own official channel.

On June 27, businesses across Ukraine did the ordinary thing and installed the routine update, and in doing so they installed NotPetya themselves, delivered and signed off by a vendor they had trusted for years. No phishing email, no bad link, no careless click. The attack came wearing the vendor’s face.

Once inside a single machine on a network, NotPetya didn’t wait to be carried further.

It stole credentials from memory and used two methods to spread on its own, one of them a Windows exploit called EternalBlue, a tool originally developed by the NSA that had leaked out and been dumped online. With stolen credentials, it could jump even to machines that were fully patched. One infected computer running M.E.Doc could mean an entire corporate network gone in minutes.

How did a Ukrainian attack take down companies worldwide?

A targeted weapon became a global disaster, and I’d want every executive with an office overseas to understand exactly how it happened. The attackers aimed NotPetya at Ukraine, but it didn’t stay there, because the modern economy doesn’t respect borders. Multinational companies with any operation in Ukraine, a subsidiary, an office, a single machine running M.E.Doc, got infected there, and then the malware spread through their global networks to everywhere else those companies did business.

Maersk, the Danish shipping giant that moves a large share of the world’s cargo, was crippled. Its IT systems collapsed, disrupting operations at dozens of ports around the world, and it had to rebuild thousands of servers and tens of thousands of PCs from scratch. Merck, the pharmaceutical company, had vaccine production halted and lost hundreds of millions. FedEx’s European subsidiary was hammered. Mondelez, the food company behind Oreo and Cadbury, watched production lines stop and factories fall back to paper forms.

None of these companies was the target. They were collateral, hit because they had a foot in Ukraine and the weapon spread faster and wider than even its makers likely intended.

How NotPetya spread from one update to the worldThe path NotPetya took on and after June 27, 2017. Sandworm compromised the update servers of M.E.Doc, Ukrainian accounting software, and pushed a poisoned update through the official channel. Businesses installed it, the malware stole credentials and spread on its own, and multinationals with a foothold in Ukraine carried it through their global networks.How NotPetya spread from one update to the world1Update serverstakenSandwormcompromisesM.E.Doc's updateinfrastructure2Poisonedupdate shipsPushed throughthe vendor's ownofficial channel3Routine installOn June 27,businesses acrossUkraine install theupdate4Spreads on itsownSteals credentialsand usesEternalBlue toreach evenpatched machines5Goes globalMultinationals witha foot in Ukrainecarry it worldwide
How NotPetya spread from one update to the worldThe path NotPetya took on and after June 27, 2017. Sandworm compromised the update servers of M.E.Doc, Ukrainian accounting software, and pushed a poisoned update through the official channel. Businesses installed it, the malware stole credentials and spread on its own, and multinationals with a foothold in Ukraine carried it through their global networks.How NotPetya spread from one updateto the world1Update servers takenSandworm compromises M.E.Doc's updateinfrastructure2Poisoned update shipsPushed through the vendor's own officialchannel3Routine installOn June 27, businesses across Ukraine installthe update4Spreads on its ownSteals credentials and uses EternalBlue toreach even patched machines5Goes globalMultinationals with a foot in Ukraine carry itworldwide

No phishing and no careless click: a trusted update did the delivery, and shared networks did the rest.

Collateral is a clean word for what happened to those companies. Their people lost weeks of work, factories fell back to paper, and none of them had any part in the fight. I have no sympathy for anyone who builds a weapon like this and then shrugs when it spreads past the target, because spreading is what a worm is built to do.

The total bill came to an estimated ten billion dollars, the most expensive cyberattack ever recorded. A weapon aimed at one country’s businesses wiped out a chunk of the global economy because everything is connected to everything, and a fire started in one building spread through every wall it shared with the neighbors.

What did recovery look like on the ground?

It’s worth slowing down on one company, because the abstract number, ten billion dollars, hides what the day was like for the people living it.

At Maersk, the infection moved faster than anyone could react. Within minutes, screens across the company went dark. The systems that scheduled cargo, tracked containers, and ran the terminals stopped. Phones tied to the network died.

At ports around the world, trucks backed up at gates that could no longer tell them where to go, and ships arrived with no working system to unload them. A company that moves a meaningful slice of everything the world buys had, in the space of an afternoon, lost the ability to know what it was carrying or where anything went.

The rebuild is what stays with me. Maersk’s entire directory of user accounts and network structure lived on servers that NotPetya had wiped, and the backups had been wiped along with them.

Luck reportedly saved the company. A single server in Ghana had gone offline before the attack, because of a power cut, and it held the one surviving clean copy of the core directory.

That machine had to be physically retrieved and flown to the recovery team, because the network needed to rebuild it was the very thing that was down. One power outage in West Africa is the thin line that stood between a very bad quarter and a company-ending catastrophe.

Then came the grind. Maersk mobilized a large team and rebuilt thousands of servers and tens of thousands of PCs, buying new hardware so fast that suppliers ran short of stock. For weeks, one of the world’s largest logistics companies ran on phone calls, personal email, spreadsheets, and paper. It recovered, and it deserves real credit for how it handled the crisis in the open. But the survival came down partly to a server that happened to be switched off, and no security plan should ever rest on that kind of luck.

Why does NotPetya matter beyond Ukraine?

Because it proved three things that every organization should have tattooed somewhere visible.

First, the update channel is an attack surface.

The mechanism you trust most, the automatic update, is exactly the mechanism an attacker most wants to own, because you’ve trained everyone to accept whatever comes through it without question. Every argument that made updating good hygiene also made the update channel the perfect delivery route. When the vendor is compromised, your diligence becomes the attacker’s distribution system.

Second, you inherit your vendors’ security whether you like it or not. Not one of the global companies wrecked by NotPetya had any control over a small Ukrainian software firm’s update servers.

They inherited that firm’s security posture the moment they installed its software, and it failed them catastrophically. Your security is only as strong as the weakest vendor whose code runs on your machines, and you usually don’t even have a full list of who those vendors are.

Third, blast radius is a choice you make in advance. NotPetya was so devastating because once it got one foothold, nothing stopped it from reaching everything. Flat networks, shared credentials, and machines that trusted each other by default let a single infection become a total loss.

The companies that recovered fastest were the ones whose systems were divided up so a fire in one section couldn’t consume the whole building. That design decision, made on a calm day long before any attack, is what determined who survived.

I spent twenty years being told that patching was the answer to everything, and it mostly is. But NotPetya is the asterisk on that advice, and it’s an honest one: keep updating, because the alternative is worse, and understand that the update itself is a channel of trust that can be turned against you. The answer is to stop treating any single trusted thing as beyond question, and to build so that when one of them betrays you, the damage stops somewhere short of everything.

NotPetya’s lessons and what to do about each.
Lesson What NotPetya showed What to do
The update channel is an attack surface A poisoned M.E.Doc update installed the malware through the vendor’s own channel Keep patching, and treat the update as a channel of trust that can turn
You inherit your vendors’ security Global firms inherited a small Ukrainian vendor’s security posture Know which vendors run code on your machines
Blast radius is a choice made in advance Flat networks and shared credentials turned one foothold into a total loss Segment the network on a calm day
Insurance is not the recovery plan Insurers invoked the war exclusion against claims like Merck’s Read your cyber policy’s exclusions first

My take

Keep installing patches, and set up your network on the assumption that one of them will be poisoned someday. NotPetya came through software people were supposed to install, and flat networks turned one foothold into a total loss. Segment the network on a calm day, so a fire in one section can’t take the building. Know which vendors run code on your machines. Maersk survived partly on a server that happened to be off, and no plan should rest on that.

How did NotPetya change the rules after it?

The damage didn’t end when the machines were rebuilt. NotPetya set off a fight over who pays for a cyberweapon’s collateral damage, and it reshaped the insurance the whole business world relies on.

Companies like Merck had cyber and property insurance, and they filed claims. Insurers pushed back with a clause written for a different age, the war exclusion, a provision that lets an insurer refuse to cover damage from acts of war.

NotPetya, they argued, was a Russian military operation, an act of war, and therefore excluded. Merck fought it in court and, after a long battle, prevailed, with the courts finding the old war-exclusion language didn’t clearly cover a cyberattack of this kind.

The insurers had every right to rewrite their contracts going forward. I don’t think they had any right to spring a war clause on a company that had paid its premiums in good faith and then make it fight a long court battle to collect coverage it believed it already had.

The insurance industry learned its lesson and rewrote the contracts. Cyber policies now carry far more specific language about state-sponsored attacks, and the coverage that once seemed automatic is anything but. For anyone running an organization today, that’s the quiet, lasting consequence of NotPetya: the assumption that insurance will simply absorb a catastrophic cyberattack is no longer safe, and the fine print is where that safety went.

If I were running an organization today, I’d read my cyber policy’s exclusions before anything else in it, and I’d stop letting anyone on the board treat insurance as the recovery plan. NotPetya punished the companies that did the responsible thing, and the ones that recovered fastest had built for failure long before it came. Any leadership team still betting on a clean update feed and a friendly insurer is gambling with its employees’ jobs.

The next article stays with the poisoned update and follows it into the highest levels of the U.S. government, through a company called SolarWinds. For the wider view, the cybersecurity hub collects the rest of my work on this.

From the author
Family Cybersecurity by Richard Lowe

Family Cybersecurity
Malware that wipes a shipping giant can wipe a family laptop. I wrote Family Cybersecurity after watching a friend lose thirty years of photos to one attachment, and it shows how to protect your own house.

Frequently Asked Questions

What was the NotPetya attack in 2017?
NotPetya was a destructive cyberattack that struck on June 27, 2017, disguised as ransomware but built to wipe data permanently. It spread from a poisoned update to Ukrainian accounting software and tore through global companies, causing an estimated ten billion dollars in damage. The US, UK, and allies attributed it to Sandworm, a unit of Russia’s GRU military intelligence.
How did NotPetya infect computers?
Through a trusted software update. Russian hackers compromised the update servers of M.E.Doc, a Ukrainian tax and accounting program used by most businesses operating in Ukraine, and pushed a poisoned update through the vendor’s official channel. Companies installed the routine update and installed NotPetya with it. No phishing or careless click was required.
Was NotPetya really ransomware?
No. It displayed a ransom note and demanded Bitcoin, but there was no working way to recover the data, and the encryption was designed to be permanent. It was a wiper, malware built to destroy, wearing a ransomware disguise to create confusion and buy time while it spread. Paying the ransom recovered nothing.
How did NotPetya spread across entire networks so fast?
Once on a single machine, it stole credentials from memory and spread on its own using several methods, including EternalBlue, a Windows exploit originally developed by the NSA that had leaked online. Because it used stolen credentials, it could reach even fully patched machines. One infected computer could take down a whole corporate network in minutes.
Why did NotPetya damage companies outside Ukraine?
It was aimed at Ukraine, but multinational companies with any operation there, even a single machine running M.E.Doc, got infected and then spread the malware through their global networks. Maersk, Merck, FedEx’s TNT subsidiary, and Mondelez were all badly hit despite not being targets. The interconnected economy carried a Ukraine-focused weapon around the world.
How much damage did NotPetya cause?
An estimated ten billion dollars in global damage, making it the most costly cyberattack recorded at the time. Maersk had to rebuild thousands of servers and tens of thousands of PCs, Merck lost hundreds of millions with vaccine production halted, and companies across shipping, pharmaceuticals, food, and logistics were forced to rebuild their IT from scratch.
What is the main lesson of NotPetya for organizations?
That the trusted update channel is an attack surface, that you inherit the security of every vendor whose code runs on your machines, and, third, your network design decides how far a single infection can travel. The fix isn’t to stop updating, since that stays essential, but to stop treating any single trusted thing as beyond question and to design systems so one compromise can’t reach everything.
☰Continue the Series  (13 parts)

About the Author
Richard Lowe, professional ghostwriter

Richard Lowe is a professional ghostwriter and author with 113+ books authored and 54+ ghostwritten. Before writing full time he spent 33 years in enterprise technology, including 20 years as Director of Computer Operations and Technical Services at Trader Joe's. He writes nonfiction, fiction and memoir, and works with executives and experts on books that build authority.

More about Richard Lowe →

Disclaimer

The views and opinions expressed in this blog post are solely those of Richard Lowe and are based on personal experience and research. This content is for informational purposes only and should not be construed as professional legal, financial, accounting, or business advice. Always consult with qualified professionals before making important business or legal decisions. Richard Lowe is not a lawyer, accountant, or licensed professional advisor, and this content does not establish any professional relationship.

0 comments

No comments yet. Yours can be the first.

Was this useful?

Leave a comment