Article
Ransomware examples: attacks, types and groups
Ransomware examples explained: five documented attacks, the main types of ransomware and the groups named in recent government advisories.
Quick links
Press Enter to search, Esc to close
Malware profile
NotPetya is destructive malware that looks like ransomware.
In short
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.
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.
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 MITRE ATT&CK lists this malware as doing, by tactic. Each id opens our technique page where one exists, otherwise MITRE.
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.
The order of steps in a typical infection, as the sources describe it.
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]
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]
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]
It used the stolen credentials with WMIC or PsExec, or the EternalBlue and EternalRomance exploits against unpatched SMBv1 systems.[2, 3]
It encrypted files, left a ransom note, changed the MBR and restarted the computer.[2, 3]
Microsoft released a security update for the SMB vulnerability that covers the EternalBlue and EternalRomance techniques, per CISA.[2]
The US indictment says the first malicious update file was published to the M.E.Doc update server on or about this date.[3]
The indictment says an update file that would deliver NotPetya was published to the update server.[3]
CISA published the first version of alert TA17-181A.[2]
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]
MITRE says the US indicted six GRU Unit 74455 officers associated with Sandworm Team, including for the 2017 NotPetya attack.[5]
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.
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.
The US indictment and CISA both name the Ukrainian accounting software M.E.Doc as the delivery route on 27 June 2017.
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.
CISA lists PsExec, WMI, EternalBlue and EternalRomance. The first and in most cases most effective method used a modified Mimikatz to steal credentials.
Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.