NotPetya is destructive malware that looks like ransomware. MITRE says the attackers never intended the encrypted data to be recoverable, so it is better thought of as a wiper. It spread across networks from 27 June 2017 and has been attributed by the UK, the US and others to the Russian military.
What it does
NotPetya shows a ransom note and asks for bitcoin, but CISA found no evidence of a link between the encryption key and the victim ID, so paying may not restore files. The US indictment calls the ransomware purpose a ruse.
It also spread beyond its main targets in Ukraine. The UK government said its indiscriminate design caused it to affect other European and Russian businesses.
Names
Public sources use several names for this malware.
| Name | Where it appears |
|---|---|
| NotPetya | MITRE ATT&CK S0368; CISA alert TA17-181A; US indictment of October 2020[1, 2, 3] |
| ExPetr | MITRE ATT&CK Associated Software[1] |
| Diskcoder.C | MITRE ATT&CK Associated Software[1] |
| GoldenEye | MITRE ATT&CK Associated Software[1] |
| Petrwrap | MITRE ATT&CK Associated Software[1] |
| Nyetya | MITRE ATT&CK Associated Software[1] |
What it can do
The ATT&CK techniques the cited sources map to this tool, by tactic. Each id opens our technique page where one exists, otherwise MITRE.
Credential Access
Lateral Movement
Stealth
Execution
Discovery
Impact
How it spreads
CISA describes four ways NotPetya moved inside a network: stolen Windows credentials used with WMIC or PsExec, and the SMBv1 exploits EternalBlue and EternalRomance. The US indictment says the malware reached victims in June 2017 through update traffic for the Ukrainian accounting software M.E.Doc, which the attackers rerouted to a server they controlled. CISA names the same software as the delivery mechanism and says organizations should treat systems with M.E.Doc installed as suspicious.
How an infection runs
The order of steps in a typical infection, as the sources describe it.
Update server abused
The US indictment says the attackers had the M.E.Doc code and changed update files, the first on or about 14 April 2017 and another on or about 21 June 2017.[3]
Traffic rerouted
On 27 June 2017 the attackers rerouted update traffic from the M.E.Doc update server to a France-based server they controlled, which delivered the malware.[3]
Checks and credentials
The malware tried to raise its privileges, checked for antivirus processes and looked for other computers on the network. CISA says it used a modified Mimikatz to steal Windows credentials.[2, 3]
Spread inside the network
It used the stolen credentials with WMIC or PsExec, or the EternalBlue and EternalRomance exploits against unpatched SMBv1 systems.[2, 3]
Encryption and reboot
It encrypted files, left a ransom note, changed the MBR and restarted the computer.[2, 3]
Timeline
- March 14, 2017
Microsoft patch for MS17-010
Microsoft released a security update for the SMB vulnerability that covers the EternalBlue and EternalRomance techniques, per CISA.[2]
- April 14, 2017
First malicious M.E.Doc update
The US indictment says the first malicious update file was published to the M.E.Doc update server on or about this date.[3]
- June 21, 2017
Second malicious update
The indictment says an update file that would deliver NotPetya was published to the update server.[3]
- June 27, 2017
- July 1, 2017
CISA alert issued
CISA published the first version of alert TA17-181A.[2]
- February 15, 2018
UK and US attribution
The UK government attributed NotPetya to the Russian Government, specifically the Russian military. CISA updated its alert the same day to add the attribution of NotPetya to the Russian military. A later UK government profile says the UK attributed the attack to GRU Unit 74455 in 2018.[2, 4, 6]
- October 2020
US indictment
MITRE says the US indicted six GRU Unit 74455 officers associated with Sandworm Team, including for the 2017 NotPetya attack.[5]
Who uses it
Seen in
Detection and defense
What Brandefense can do
- Scan your domain in Brandefense Atlas, free
Atlas checks public sources for leaked credentials, phishing domains, dark web mentions and data sales, then gives your domain a risk grade. Free, no sign-up.
- Cyber Threat Intelligence
Brandefense Cyber Threat Intelligence tracks malware families and the infrastructure they use, and shares indicators your team can check against its own systems.
Frequently Asked Questions
Is NotPetya ransomware?
It looks like ransomware, but MITRE says its main purpose was to destroy data and the attackers never intended recovery. CISA says it behaves more like destructive malware than ransomware.
Who is behind NotPetya?
It has been attributed by the UK government (15 February 2018) and, per CISA, the US Government to the Russian military. In October 2020 the US charged six GRU Unit 74455 officers, a unit MITRE tracks as Sandworm Team.
How did NotPetya reach victims?
The US indictment and CISA both name the Ukrainian accounting software M.E.Doc as the delivery route on 27 June 2017.
Should victims pay the ransom?
CISA recommends against paying. In this incident the payment email address was shut down, and the indictment says the attackers could not decrypt files even if the ransom was paid.
How does NotPetya spread inside a network?
CISA lists PsExec, WMI, EternalBlue and EternalRomance. The first and in most cases most effective method used a modified Mimikatz to steal credentials.
Sources
- NotPetya, Software S0368MITRE ATT&CK · Supports: Names, platform, techniques and the description of NotPetya as a wiper used by Sandworm Team.
- Petya Ransomware, Alert TA17-181ACISA · Supports: Propagation methods, M.E.Doc delivery, mitigations, detection resources and the February 2018 update.
- Indictment, United States v. Andrienko and othersUS Department of Justice, Western District of Pennsylvania · Supports: Charges against GRU Unit 74455 officers, M.E.Doc update route and behaviour of the malware.
- Foreign Office Minister condemns Russia for NotPetya attacksUK Foreign and Commonwealth Office and NCSC · Supports: UK attribution of NotPetya to the Russian military on 15 February 2018.
- Sandworm Team, Group G0034MITRE ATT&CK · Supports: MITRE's account of the October 2020 US indictment of six GRU Unit 74455 officers.
- Profile: GRU cyber and hybrid threat operationsUK Foreign, Commonwealth and Development Office, Home Office, Cabinet Office and NCSC · Supports: UK attribution of NotPetya to Unit 74455 in 2018.
