Skip to main content
    Destructive Software Supply Chain Attack

    NotPetya and M.E.Doc Supply Chain Attack (2017)

    Breach Year

    2017

    Breach Type

    Destructive Software Supply Chain Attack

    TPRM Lesson

    A small software dependency can create global business disruption.

    What was the NotPetya and M.E.Doc Supply Chain Attack breach?

    The NotPetya attack was a June 2017 destructive cyber campaign in which a Russia-attributed actor (publicly tracked as Sandworm) trojanized the update mechanism of M.E.Doc, a widely used Ukrainian tax and accounting software product, and used it to push wiper malware disguised as ransomware. The attack caused over 10 billion US dollars in global damage, hitting Maersk, Merck, FedEx's TNT Express, Mondelez, Saint-Gobain, Reckitt Benckiser, and many others.

    It looked like ransomware at first. Screens locked. Files inaccessible. A demand for Bitcoin. Within hours, the world's largest shipping company watched 17 of its 76 terminals go silent. Pharmaceutical manufacturing stopped. A FedEx subsidiary lost so much capacity it took quarters to recover. Construction giants, snack manufacturers, and consumer goods companies absorbed nine-figure losses.

    It was not ransomware. It was a wiper, dressed as ransomware, with no recoverable decryption path even for victims who paid. And it had not arrived through phishing or a perimeter breach. It had arrived through the legitimate auto-update mechanism of a small Ukrainian accounting software product called M.E.Doc, used by the vast majority of Ukrainian businesses to file taxes.

    Anyone, anywhere in the world, who had a presence in Ukraine for the tax-filing requirements was inside the blast radius. Most multinationals did. None of their TPRM programs had M.E.Doc on the critical-vendor list.

    What Was It?

    M.E.Doc, developed by the Ukrainian company Linkos Group (also known as Intellect Service), is a tax and accounting software product used by the majority of Ukrainian businesses for electronic tax filings and document exchange with the government. Functionally, it occupied the role that products like Sage or QuickBooks fill in other markets, but in Ukraine its use was effectively mandatory for operating a registered business.

    For multinational corporations with operations in Ukraine, even small ones, M.E.Doc was a small, almost forgotten line item. It sat on a handful of Windows machines somewhere in the Ukrainian office. It updated itself. Nobody at headquarters had ever heard of it.

    On 27 June 2017, that auto-update mechanism delivered NotPetya to every M.E.Doc installation that called home. From those entry points, the malware used a combination of credential theft and SMB exploitation to spread laterally across global corporate networks at machine speed.

    What Happened?

    Based on public reporting from ESET, Cisco Talos, Kaspersky, Symantec, Microsoft, the UK National Cyber Security Centre, the US Department of Homeland Security, the US Department of Justice, and the published account of the Maersk recovery, the publicly reported timeline runs roughly as follows.

    Initial compromise of M.E.Doc, early 2017.Attackers gained access to Linkos Group's infrastructure and modified the M.E.Doc update mechanism. ESET and others later traced backdoored update payloads as early as April and May 2017.

    NotPetya distribution, 27 June 2017. A malicious M.E.Doc update delivered the NotPetya payload to customer endpoints. Within hours, organizations across Ukraine and globally began reporting mass system failures.

    Global propagation. NotPetya used credential theft (a Mimikatz-style component) combined with the EternalBlue and EternalRomance SMB exploits to spread laterally inside corporate networks. Once a single endpoint was infected, an entire enterprise network could be lost within an hour.

    Maersk impact. Maersk's later public account describes the company effectively rebuilding its global IT infrastructure from scratch in approximately 10 days, with the recovery enabled in part by a single surviving domain controller in Ghana that had been offline during the incident.

    Public attribution. In early 2018, the US, UK, Australia, Canada, New Zealand, and other governments publicly attributed NotPetya to the Russian military, specifically to the GRU's Main Centre for Special Technologies (GTsST), unit 74455, the actor publicly tracked as Sandworm.

    US Department of Justice indictment, October 2020.The DOJ indicted six GRU officers in connection with multiple campaigns including NotPetya.

    Insurance litigation, 2018 to 2022. Disputes over war-exclusion clauses in cyber insurance policies, most prominently Merck and Mondelez, redefined the legal treatment of state-attributed cyber incidents under cyber insurance.

    How Did It Happen Technically?

    In plain English: a small accounting software vendor in Ukraine was compromised. Its auto-update mechanism delivered a destructive payload disguised as ransomware. Once inside any organization, the payload stole credentials, abused SMB exploits, and moved laterally at machine speed, often destroying the network in under an hour.

    More technically, public research describes the campaign as follows.

    • Update server compromise. The M.E.Doc update mechanism was modified to deliver attacker-controlled payloads. The vendor's signing and distribution pipeline was, for practical purposes, in attacker hands.
    • Credential theft. NotPetya included a Mimikatz-style credential dumper to harvest passwords and hashes from infected machines.
    • EternalBlue and EternalRomance. The payload used the SMBv1 vulnerabilities (MS17-010) leaked by the Shadow Brokers earlier in 2017. Even environments that had partially patched were exposed where any SMBv1 path remained.
    • PsExec and WMI lateral movement. NotPetya used legitimate administration tools and protocols to spread laterally, particularly effective inside flat corporate networks.
    • MBR and disk wiper. Although NotPetya displayed a ransom note, the encryption was destructive: the Salsa20 key for some file encryption was generated and discarded, and the MBR rewrite made recovery effectively impossible. There was no real decryption path.
    • Domain controller targeting. Once domain admin credentials were captured, the malware could push itself across the entire Active Directory environment in minutes, frequently destroying domain controllers themselves.

    The technical control failures that mattered most:

    • Auto-update channels from any vendor product were implicitly trusted, regardless of the vendor's size or security maturity.
    • SMBv1 remained enabled in many corporate networks despite the patch and public exploitation of MS17-010.
    • Flat networks allowed unrestricted lateral movement from compromised endpoints to domain controllers.
    • Domain controller architecture lacked sufficient isolation, redundancy, and tested rebuild procedures.
    • Backup and recovery designs assumed conventional ransomware recovery, not destructive wiping of entire environments.

    No exploit code is included here. The defensive lesson is more useful than the offensive one.

    Why This Was a TPRM Failure

    NotPetya exposed exactly how narrow most TPRM programs were in 2017, and how badly software dependency was understood.

    • Small software dependencies were invisible.M.E.Doc never appeared on any standard critical-vendor list. It was a small, country-specific compliance tool. It was also one of the most privileged third-party update channels into every affected multinational's Ukrainian operations.
    • Geographic and operational dependencies were not mapped.Few TPRM programs identified which jurisdictions required specific local software, who installed it, and what blast radius it would have if compromised.
    • Auto-update channels were not treated as third-party access.The implicit trust placed in any vendor's update mechanism was the foundation NotPetya exploited.
    • Concentration risk was structural and invisible.M.E.Doc was used by the majority of Ukrainian businesses for tax filing. That concentration was effectively national infrastructure, but it appeared in zero supplier risk registers.
    • The blast radius was network-shaped, not vendor-shaped.The product was small, but flat corporate networks allowed the payload to travel from one infected machine in a small office to global domain controllers in hours. TPRM rarely accounted for the network topology around its smaller vendors.
    • Recovery assumed ransomware, not wiping.Disaster recovery plans had been designed for conventional outage and ransomware scenarios. NotPetya was destructive, and many organizations discovered that their plans did not survive the actual scenario.
    • Insurance treatment was untested. War exclusion clauses in cyber insurance had never been tested at this scale. Merck and Mondelez spent years litigating, and the outcomes reshaped cyber insurance contract language globally.

    Business Impact

    NotPetya remains the most expensive cyber incident in history by publicly reported damage estimates.

    Global damage estimates. The White House attributed total global damage at over 10 billion US dollars. Damage was concentrated at multinationals with Ukrainian operations and at logistics, pharmaceutical, and consumer goods companies.

    Named impacts include.

    • Maersk: estimated 250 to 300 million US dollar impact; effective rebuild of global IT in approximately 10 days.
    • FedEx (via TNT Express): estimated 400 million US dollar impact and sustained operational disruption.
    • Merck: reported financial impact exceeding 800 million US dollars, including manufacturing disruption.
    • Mondelez: reported impact in the hundreds of millions and high-profile insurance litigation.
    • Saint-Gobain, Reckitt Benckiser, and others: nine-figure losses and multi-quarter recovery efforts.
    • Ukrainian government, banking, transport, and energy entities: widespread operational disruption.

    Broader consequences. Cyber insurance premiums and exclusions changed materially. Boards across sectors began asking explicit questions about destructive cyber risk, geographic concentration, and recovery from scenarios in which entire environments need to be rebuilt from scratch.

    Consequences

    NotPetya reshaped policy, regulation, insurance, and architectural thinking.

    • Public attribution by the Five Eyes and other governments established a precedent for coordinated, named attribution of state cyber operations.
    • The US Department of Justice indicted six GRU officers in October 2020, naming individuals associated with the Sandworm cluster.
    • Cyber insurance litigation, most prominently Merck v. insurers and Mondelez v. Zurich, drove a multi-year rewriting of war exclusion clauses across the cyber market.
    • The Maersk recovery account became a widely cited case study in disaster recovery, domain controller architecture, and the value of geographic redundancy.
    • Boards across regulated sectors elevated destructive cyber scenarios in business continuity planning.
    • The category of state-attributed destructive malware evolved further over the following years, with subsequent wipers and pseudo-ransomware campaigns tied to the same actor and others.

    Some consequences are confirmed and measurable. Others, such as the long-term insurance and legal treatment of state cyber operations, continue to evolve.

    Practical Learnings for TPRM Teams

    1. Inventory every software product installed anywhere in your organization, including small country-specific compliance and accounting tools.
    2. Map software dependencies by country, business unit, and criticality. Compliance tools that look small are often mandatory and privileged.
    3. Treat every auto-update channel as a privileged third-party push into your environment.
    4. Segment networks aggressively, especially between regional offices and the global enterprise.
    5. Disable SMBv1 and equivalent legacy protocols wherever they survive.
    6. Architect Active Directory for survivability: hardened domain controllers, tested rebuild procedures, and offline backups.
    7. Maintain immutable, geographically segmented backups that destructive malware cannot reach.
    8. Test recovery from a scenario in which the entire environment must be rebuilt, not just restored.
    9. Reassess cyber insurance war exclusion language and understand exactly what is covered in a state-attributed event.
    10. Put destructive cyber scenarios on the board agenda. They are not the same as ransomware scenarios.

    Technical Protection Checklist

    A. Identity and Access

    • Apply tiered administration to Active Directory: separate workstation, server, and domain admin accounts.
    • Enforce phishing-resistant MFA on all administrative access.
    • Disable cached credentials on jump hosts and sensitive systems where possible.
    • Restrict the use of domain admin accounts to dedicated, hardened workstations.
    • Monitor for credential dumping and abnormal use of administrative accounts.

    B. Network and Lateral Movement

    • Disable SMBv1 everywhere.
    • Block SMB and equivalent protocols between workstations and across network zones.
    • Segment regional offices from the global enterprise network.
    • Restrict PsExec, WMI, and equivalent administrative tools to controlled paths.
    • Alert on lateral movement signals from endpoints into core infrastructure.

    C. Software Supply Chain

    • Inventory all software, including small country-specific tools.
    • Validate vendor update channels and prefer vendors with published secure development practices.
    • Restrict auto-updates on critical infrastructure to controlled change windows where possible.
    • Track vendor advisories for every installed product.

    D. Endpoint and Server Hardening

    • Patch known-exploited vulnerabilities (KEV) within hours, especially for protocol-level CVEs.
    • Apply tamper-resistant endpoint protection that survives credential-based abuse.
    • Limit local admin rights on workstations.
    • Apply application allow-listing where the use case permits.

    E. Backup and Recovery

    • Maintain immutable, segmented backups of critical systems and Active Directory.
    • Maintain at least one offline domain controller restore capability.
    • Test full rebuild scenarios, not only file-level restores.
    • Document recovery time objectives that include destructive cyber scenarios.

    F. Vendor Incident Response

    • Maintain up-to-date contacts at every software vendor, including small regional vendors.
    • Define notification timelines for update channel compromise.
    • Pre-map systems where each vendor's product is installed.
    • Prepare board and regulator communication templates for destructive cyber events.

    G. Geographic and Concentration Risk

    • Map software dependencies by country and business unit.
    • Identify compliance and accounting tools that are effectively mandatory in each market.
    • Plan for jurisdictions where geopolitical risk could intersect with vendor compromise.

    H. Board and Executive Reporting

    • Distinguish destructive cyber risk from ransomware in reporting.
    • Translate update-channel risk into business and continuity terms.
    • Track recovery readiness for full-rebuild scenarios.
    • Report on cyber insurance coverage and exclusion language.

    What Most People Miss About This Breach

    Most summaries call NotPetya the "worst cyberattack in history" and stop there. The framing is correct but it obscures the specific TPRM lesson.

    The first thing people miss is that NotPetya was not really a ransomware attack. It was a destructive wiper that wore ransomware's clothing for plausible deniability. The ransom screen was theatre. The objective was destruction. TPRM playbooks tuned to ransomware payment scenarios were structurally unprepared for a payload that was never going to give the data back.

    The second thing people miss is the vendor profile. M.E.Doc was tiny. It would never have ranked in the top thousand vendors of a multinational. It was, however, the auto-updating tax tool installed in every Ukrainian office of every multinational that had one. The breach travelled through relationships nobody had mapped because the vendor was beneath the threshold for serious assessment.

    The third thing people miss is the architectural lesson. Maersk's recovery, the most publicly studied of the event, depended on a single domain controller offline in Ghana during the outage. That detail is treated as a lucky save. It should be treated as architectural intent. Survivability of identity infrastructure is the prerequisite for recovery from any destructive vendor-side event.

    Final TPRM Takeaway

    A small software dependency can create global business disruption. NotPetya was the day every multinational had to accept that the most dangerous vendor in their environment was the one nobody at headquarters had ever heard of, and that third-party risk management means knowing every product that can push code into your environment, no matter how small the line item on the bill.

    Frequently Asked Questions

    What was the NotPetya attack?

    NotPetya was a June 2017 destructive cyber campaign in which a Russia-attributed actor (publicly tracked as Sandworm, linked to the Russian GRU) compromised the update mechanism of M.E.Doc, a widely used Ukrainian tax and accounting software product, and used it to push wiper malware disguised as ransomware. It caused over 10 billion US dollars in global damage.

    Why is NotPetya considered a third-party breach?

    The initial point of compromise was M.E.Doc, a third-party software vendor. The destructive payload reached every M.E.Doc installation through the legitimate vendor update mechanism, then spread laterally inside customer networks using credential theft and SMB exploits. Most affected multinationals had no awareness of M.E.Doc as a vendor before the incident.

    How did NotPetya happen technically?

    Attackers compromised the M.E.Doc update infrastructure and pushed a malicious update on 27 June 2017. The payload included a Mimikatz-style credential dumper and used the EternalBlue and EternalRomance SMBv1 exploits (MS17-010), along with PsExec and WMI, to spread laterally. The encryption was destructive by design, with no real decryption path even for victims who paid.

    What was the business impact of NotPetya?

    The White House attributed total global damage at over 10 billion US dollars. Reported impacts included Maersk (250 to 300 million US dollars), FedEx via TNT Express (about 400 million), Merck (over 800 million), Mondelez (hundreds of millions), Saint-Gobain, Reckitt Benckiser, and many others, along with widespread disruption across the Ukrainian government, banking, and energy sectors.

    What should TPRM teams learn from NotPetya?

    Inventory every software product including small country-specific tools, map software dependencies by country, treat every auto-update channel as a privileged third-party push, segment networks aggressively, disable legacy protocols like SMBv1, architect Active Directory for survivability, maintain immutable offline backups, and test full-rebuild recovery scenarios.

    How can organizations reduce this type of third-party risk?

    Maintain a complete software inventory globally, identify mandatory regional compliance and accounting tools, segment regional offices from the global network, harden Active Directory with tiered administration, plan for destructive cyber scenarios distinctly from ransomware, and review cyber insurance war exclusion language with legal counsel.

    What technical controls would have helped during NotPetya?

    Disabling SMBv1, applying MS17-010 patches promptly, segmenting workstation-to-workstation SMB traffic, tiered Active Directory administration, application allow-listing on critical hosts, immutable offline backups of domain controllers, and tested full-rebuild procedures would each have materially reduced exposure.

    What is the biggest lesson from NotPetya?

    A small software dependency can create global business disruption. The TPRM lesson is not about ransomware response. It is about knowing every product that can push code into your environment, no matter how small the contract, and architecting identity, network, and backup so that a destructive vendor-side event is recoverable.

    TPRM Blog

    Related TPRM analysis from the blog

    Continue learning with the latest breach alerts, regulatory updates, and analyst playbooks from blog.learntprm.com.

    Visit blog.learntprm.com
    Safe Security - founding sponsor of LearnTPRM.comFounding Sponsor
    For CISOs, TPRM leads and vendor risk program owners

    Autonomous TPRM. 90% less manual effort.

    Almost every case here was findable before it happened

    Read enough third-party breaches and the pattern is brutal: an undisclosed fourth party, an expired certification, an exposure that sat on the internet for weeks. Nobody was lazy - the signals simply arrive faster than a human review cycle. The SAFE TPRM AI Co-Worker watches for them continuously.

    This is for you if you own a third-party risk program - roughly 100+ vendors, quarterly reassessments, DORA / NIS2 / OCC pressure and no new headcount coming. The link opens Safe Security's platform page, not a gated form.

    Five correlated data dimensions per vendor, refreshed continuously across the whole portfolio.

    Zero-touch due diligenceContinuous monitoring across 5 dimensionsAI-powered risk scoring workflows
    • The Fourth-Party Discovery agent finds the undisclosed downstream provider before it becomes your incident.
    • The Outside-In agent detects new vulnerabilities, misconfigurations and breaches as they surface.
    • The Threat Intel agent tracks leaked credentials, filings and legal events per vendor.
    Evaluate SAFE for my organization

    For security and risk leaders assessing a TPRM platform. Opens safe.security in a new tab.

    25+

    AI agents

    90%

    Less manual effort

    None

    Additional headcount

    200+

    Organizations globally

    End to end

    Intake to offboarding

    Ready to Prove You're a TPRM Warrior?

    Most people talk about risk management. Few can prove their expertise under pressure.

    Start Your Free Certification