Skip to main content
Mallory
MalwareRansomwareUsed by 6 actorsExploits 2 CVEs

NotPetya

Also known asDiskcoder.CExPetrGoldenEyePetrwrap

NotPetya, also referred to in reporting as Nyetya, ExPetr, PetrWrap, DiskCoderC, and GoldenEye, is a 2017 destructive malware strain that masqueraded as ransomware but was later assessed by multiple sources as effectively a wiper. It emerged as a Petya variant, reusing Petya bootloader code while adding its own dropper, user-mode ransomware component, and worming functionality. The malware encrypted victims’ hard drives, including the NTFS master file table (MFT), overwrote the master boot record (MBR) with a customized loader and ransom note, and also encrypted the first 1 MB of targeted files. Kaspersky concluded victims’ disks could not be decrypted even if payment was made, and reporting noted implementation flaws that could make recovery impossible.

The primary initial infection vector directly mentioned in the content was a malicious update delivered through the compromised M.E.Doc accounting software update mechanism used in Ukraine. Some reporting also cited a possible secondary waterhole vector involving the City of Bahmut website. After initial compromise, NotPetya spread laterally inside networks using multiple mechanisms: credential theft from lsass.exe with tooling similar to Mimikatz, use of harvested credentials with PsExec and WMIC, and exploitation of the leaked NSA SMB exploits EternalBlue and EternalRomance over TCP port 445. It could use wmic to help propagate itself across a network, create a task to reboot the system about one hour after infection, and then perform its destructive boot-time actions. The malware enumerated network adapters, NetBIOS names, DHCP leases, and scanned local network IPs for ports 445 and 139.

The campaign was initially aimed at targets in Ukraine, particularly Ukrainian financial, energy, and government organizations, but spread globally within hours and caused major collateral damage to worldwide businesses and critical infrastructure. The content associates the malware with Russian state activity, specifically the GRU/Sandworm lineage, including references to GTsST and APT44 involvement, and notes public attribution by governments and allied statements linking NotPetya to Russian military or Russian operators. Reported impact includes millions of affected devices globally and estimated economic losses of around $10 billion. The content also cites major operational disruption such as the Maersk incident, which reportedly cost more than $300 million and required reinstalling over 4,000 servers and 45,000 PCs.

The ransom demand was $300 in Bitcoin, with victims instructed to contact wowsmith123456@posteo.net, but the mailbox was shut down, preventing recovery. Detection and operational artifacts directly mentioned include use of perfc.dat, scheduling reboot via at, schtasks, and shutdown.exe, and Kaspersky detection names such as Trojan-Ransom.Win32.ExPetr.a and HEUR:Trojan-Ransom.Win32.ExPetr.gen. High-confidence aliases in the content include NotPetya, Nyetya, ExPetr, PetrWrap, and DiskCoderC.

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 Execution in Microsoft WindowsExploited 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
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
Sandworm

Worldwide Businesses and Critical Infrastructure (NotPetya): June 27, 2017 destructive malware attacks that infected computers worldwide using malware known as NotPetya... The NotPetya malware, for example, spread worldwide, damaged computers used in critical infrastructure, and caused enormous financial losses.

via us department of justicejustice.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

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

T1584.001DomainsEvidence1

The malware spread so quickly, worming its way automatically through interconnected private networks, as to be nearly unstoppable.

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 CompromiseEvidence4

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

3 techniques
T1047Windows Management InstrumentationEvidence1
TacticExecution

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.

T1203Exploitation for Client ExecutionEvidence1
TacticExecution

WannaCry was based on exploits stolen from the National Security Agency — including a program called EternalBlue, which exploited a Microsoft vulnerability. Petya reportedly shares some of WannaCry's traits

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.

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.

Stealth

3 techniques
T1070.001Clear Windows Event LogsEvidence1
TacticStealth

Once the wiper has run for 60 minutes it cleans Windows event logs...

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.

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

1 technique
T1046Network Service DiscoveryEvidence1
TacticDiscovery

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.

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 TransferEvidence3

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.

Impact

5 techniques
T1485Data DestructionEvidence5
TacticImpact

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 ImpactEvidence9
TacticImpact

Similar to the original Petya, OpenPetya encrypts critical parts of the NTFS Master File Table (MFT) using Salsa20.

T1490Inhibit System RecoveryEvidence2
TacticImpact

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

T1561Disk WipeEvidence3
TacticImpact

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

T1561.001Disk Content WipeEvidence2
TacticImpact

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 app2 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 mapping23

Every documented technique, ranked by evidence weight.

Researcher chatter

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