Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
MalwareRansomwareUsed by 6 actorsExploits 2 CVEs

NotPetya

Also known asDiskcoder.CExPetrGoldenEyePetrwrap

NotPetya, also referred to as Nyetya, ExPetr, PetrWrap, Petna, and DiskCoder.C, was a 2017 destructive malware outbreak masquerading as ransomware. It reused elements of the earlier Petya bootloader code but differed in its dropper, worming, and user-mode components. The malware overwrote the MBR, encrypted the NTFS Master File Table during reboot, and also encrypted the first 1 MB of targeted files in user mode, rendering systems unusable. Multiple sources in the content state that victims could not recover disks even after payment, making it effectively a wiper disguised as ransomware.

The campaign primarily targeted businesses in Ukraine, Russia, and Western Europe, with Ukraine identified as the main initial target set. A major initial infection vector was compromise of the MeDoc accounting software update mechanism; one source also mentions a possible waterhole vector via the City of Bahmut website. After initial execution, NotPetya spread laterally inside networks using stolen credentials from lsass.exe via Mimikatz-like tooling, then propagated with PsExec and WMIC/WMI. It also used modified EternalBlue and EternalRomance over TCP 445, allowing spread to systems on the same network, including some patched against EternalBlue when credential-based propagation succeeded. The malware enumerated network adapters, NetBIOS names, DHCP leases, and scanned local networks for ports 445 and 139.

Operationally, the malware waited roughly 10 to 60 minutes before rebooting hosts using at, schtasks, and shutdown.exe. After reboot it displayed a fake CHKDSK-style screen while disk-impacting actions completed, then presented a ransom demand for $300 in Bitcoin and instructed victims to contact wowsmith123456@posteo.net; the Posteo mailbox was reportedly shut down, preventing recovery coordination. Kaspersky telemetry cited more than 2,000 attacks during the outbreak. The malware was observed using perfc.dat, and Kaspersky published detections including Trojan-Ransom.Win32.ExPetr.a and HEUR:Trojan-Ransom.Win32.ExPetr.gen.

The content consistently associates NotPetya with Russian state activity. It is described as attributed by Western governments and intelligence agencies to Russian state-sponsored actors, and specifically linked to APT44/Sandworm/FROZENBARENTS, tied to Russian military intelligence. The malware incorporated EternalBlue from the Shadow Brokers leak and spread far beyond its intended Ukrainian targets, causing major global disruption. High-profile impacts mentioned include Maersk, where legacy Windows systems were affected across more than 20,000 devices. The content states the outbreak caused approximately $10 billion in global economic losses.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

EXPLOITED CVES

Vulnerabilities exploited

2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each row links to the full Mallory page for that vulnerability.

2 CVES
CVE-2017-0144EternalBlue SMBv1 Remote Code ExecutionExploited in the wild

Among the exposed tools was EternalBlue, a collection of Windows zero-day vulnerabilities that enabled attackers to infiltrate systems, move laterally across networks, and spread malware automatically. The leaked EternalBlue exploit later became the foundation for some of the most destructive cyberattacks ever recorded. North Korean hackers used it in the WannaCry ransomware outbreak, while Russian operators incorporated it into the NotPetya malware campaign. | ...while Russian operators incorporated it into the NotPetya malware campaign. Although initially aimed at targets in Ukraine, NotPetya spread globally and is estimated to have caused around $10 billion in economic losses.

via cysecurity newscysecurity.news
CVE-2017-0143Windows SMBv1 Remote Code Execution VulnerabilityExploited in the wild

Dillon has crafted his modified exploits to take advantage of the following vulnerabilities: CVE-2017-0143 Type confusion between WriteAndX and Transaction requests EternalRomance EternalSynergy

via bleeping computerbleepingcomputer.com
THREAT ACTORS

Groups observed using it

6 distinct threat actors attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details
Sandworm

APT44 has been involved in many of the most high-profile disruptive cyberattacks in the world, including the global destructive attack NotPetya, attacks on the Pyeongchang Olympic games, and several blackouts in Ukraine.

via mandiant threat intelligencecloud.google.com
GRU

The GRU’s malign cyber activities include deployment of the NotPetya and Olympic Destroyer malware; intrusions targeting the Organization for the Prohibition of Chemical Weapons and the World Anti-Doping Agency; cyber attacks on government systems and critical infrastructure in Ukraine and the state of Georgia; and hack-and-leak operations targeting elections in the United States and France.

via us treasury newshome.treasury.gov
APT28

This group has been behind several cyber-attacks aimed at Ukraine in the past, such as the NotPetya ransomware outbreak, and the BlackEnergy attacks on Ukraine's power grid in 2015 and 2016.

via bleeping computerbleepingcomputer.com
Shadow Brokers

The Trump administration on Thursday publicly blamed Russia for the massive notPetya cyberattack that ravaged computer systems worldwide last June... “The attack, dubbed ‘NotPetya,’ quickly spread worldwide, causing billions of dollars in damage across Europe, Asia, and the Americas,” the White House said.

via web archiveweb.archive.org
Appin Security Group

The business made use of specific websites for customer project tracking and data sharing. This was variously referred to as GoldenEye, Commando, or MyCommando, and acted as a place where customers could log in to view and download campaign specific data and status updates, communicate securely, and manage other aspects of their projects.

via sentinelone labsweb.archive.org
ShadowBrokers

Talos is identifying this new malware variant as Nyetya. The sample leverages EternalBlue, EternalRomance, WMI, and PsExec for lateral movement inside an affected network.

via talos intelligence blogblog.talosintelligence.com
MITRE ATT&CK

Techniques & procedures

25 distinct techniques documented for this family, organized by ATT&CK tactic.

Resource Development

1 technique
T1584.001DomainsEvidence1

If you go back about a decade , there were some fairly high-profile incidents -- cases like NotPetya and WannaCry -- where various companies from different parts of the world were impacted by these propagating events.

Initial Access

5 techniques
T1133External Remote ServicesEvidence1

the defendants and their co-conspirators deployed destructive malware and took other disruptive actions, for the strategic benefit of Russia, through unauthorized access to victim computers (hacking).

T1190Exploit Public-Facing ApplicationEvidence2

The prototype worm does not exploit zero-day vulnerabilities. It only targets publicly disclosed but unpatched bugs, misconfigurations, and recurring weakness classes.

T1195Supply Chain CompromiseEvidence2

A supply chain attack, also called a value-chain or third-party attack, occurs when someone infiltrates your system through an outside partner or provider with access to your systems and data.

T1195.002Compromise Software Supply ChainEvidence3

Russian military hackers hijacked the company’s update servers to allow them a hidden back door into the thousands of PCs around the country and the world that have M.E.Doc installed.

T1566PhishingEvidence1

The malware was delivered in emails that had been created to resemble business correspondence, Gerashchenko said

Execution

2 techniques
T1047Windows Management InstrumentationEvidence1

The content repeatedly describes threat actors and malware using WMI/WMIC/wmiexec for remote execution, lateral movement, discovery, persistence, and administrative actions; e.g., 'APT41 used WMI in several ways, including for execution of commands via WMIEXEC as well as for persistence via PowerSploit' and 'Scattered Spider used Windows Management Instrumentation (WMI) to move laterally via Impacket.'

T1053.005Scheduled TaskEvidence2

During the 2022 Ukraine Electric Power Attack, Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.

Persistence

4 techniques
T1053.005Scheduled TaskEvidence2

During the 2022 Ukraine Electric Power Attack, Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.

T1133External Remote ServicesEvidence1

the defendants and their co-conspirators deployed destructive malware and took other disruptive actions, for the strategic benefit of Russia, through unauthorized access to victim computers (hacking).

T1542.001System FirmwareEvidence1

OpenPetya uses a custom Master Boot Record (MBR) to load the stage-2 payload.

T1542.003BootkitEvidence1

OpenPetya is an educational project designed to study how bootkits and low-level ransomware operate internally.

Privilege Escalation

2 techniques
T1053.005Scheduled TaskEvidence2

During the 2022 Ukraine Electric Power Attack, Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.

T1068Exploitation for Privilege EscalationEvidence1

Hackers exploited vulnerabilities in outdated systems to encrypt critical data.

Stealth

2 techniques
T1542.001System FirmwareEvidence1

OpenPetya uses a custom Master Boot Record (MBR) to load the stage-2 payload.

T1542.003BootkitEvidence1

OpenPetya is an educational project designed to study how bootkits and low-level ransomware operate internally.

Credential Access

1 technique
T1003OS Credential DumpingEvidence1

Once hackers gained initial access to a computer, Mimikatz could pull those passwords out of RAM and use them to hack into other machines accessible with the same credentials.

Discovery

2 techniques
T1046Network Service DiscoveryEvidence1

North Korean hackers used EternalBlue to unleash the WannaCry ransomware worm. Russian hackers later built it into NotPetya, which spiraled beyond its initial Ukrainian targets and caused an estimated $10 billion in damages globally.

T1083File and Directory DiscoveryEvidence1

The content repeatedly describes malware and threat actors listing files and directories, enumerating drives, searching for files by extension/name/path, retrieving file metadata, and browsing file systems (for example: "APT28 has used Forfiles to locate PDF, Excel, and Word documents during collection" and "cmd can be used to find files and directories with native functionality such as dir commands").

Lateral Movement

4 techniques
T1021Remote ServicesEvidence1

The code that the hackers pushed out was honed to spread automatically, rapidly, and indiscriminately.

T1021.003Distributed Component Object ModelEvidence1

Examples include 'Aquatic Panda used WMI for lateral movement in victim environments,' 'Deep Panda group is known to utilize WMI for lateral movement,' and 'Cinnamon Tempest has used Impacket for lateral movement via WMI.'

T1210Exploitation of Remote ServicesEvidence3

Among the exposed tools was EternalBlue, a collection of Windows zero-day vulnerabilities that enabled attackers to infiltrate systems, move laterally across networks, and spread malware automatically.

T1570Lateral Tool TransferEvidence2

Among the tools released, the Shadow Brokers published EternalBlue — a family of zero-day vulnerabilities targeting Windows that allowed hackers to break into computers on a hacked network, rapidly expand their access, and deploy self-propagating worms.

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence1

Unrecognized IP addresses, outbound data transfers, and sudden bandwidth spikes can be early signs of cyber infiltration.

Impact

6 techniques
T1485Data DestructionEvidence5

According to the indictment, beginning in or around November 2015 and continuing until at least in or around October 2019, the defendants and their co-conspirators deployed destructive malware and took other disruptive actions ... Their computer attacks used some of the world’s most destructive malware to date, including: KillDisk and Industroyer ... NotPetya ... and Olympic Destroyer

T1486Data Encrypted for ImpactEvidence10

Impact: Begins encrypting files before the operating system loads, making recovery extremely difficult.

T1490Inhibit System RecoveryEvidence2

No key even existed to reorder the scrambled noise of their computer’s contents.

T1499Endpoint Denial of ServiceEvidence1

you had a situation where these companies were on the hook for hundreds of millions of dollars, where they couldn't function for a certain amount of time.

T1561Disk WipeEvidence3

OpenPetya encrypts selected parts of the NTFS Master File Table (MFT).

T1561.001Disk Content WipeEvidence2

It irreversibly encrypted computers’ master boot records, the deep-seated part of a machine that tells it where to find its own operating system.

INDICATORS OF COMPROMISE

IOCs tracked for this family

2 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.

View more in app
Hashes
2 tracked

File hashes (MD5, SHA-1, SHA-256) from samples and reports.

TypeValueLatest sighting
hash.sha256●●●●●●●●●●●●View more in app3 months ago
hash.md5●●●●●●●●●●●●View more in app9 years ago
What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching2

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution6

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities2

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping25

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.