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
Significant cyber incident
NotPetya was a destructive outbreak that began in Ukraine on 27 June 2017.
In short
NotPetya was a destructive outbreak that began in Ukraine on 27 June 2017. It looked like ransomware, but the data could not be recovered. CISA's alert described it spreading through PsExec, WMI and the EternalBlue and EternalRomance exploits, and advised against paying.
The outbreak began in Ukraine through a compromised update of the M.E.Doc accounting software. It then spread inside networks using the EternalBlue exploit and stolen credentials.
The malware looked like ransomware, but the data could not be recovered.
Microsoft releases patch MS17-010 for the SMBv1 flaws, according to CISA.
Threat actors compromise the M.E.Doc development environment, as far back as this date, according to CISA.
The outbreak began in Ukraine through a compromised update of the M.E.Doc accounting software.
It spread inside networks using the EternalBlue exploit and stolen credentials.
The UK government attributed the attack to the Russian military, in a statement dated 15 February 2018.
CISA says the delivery mechanism on 27 June 2017 was the Ukrainian tax accounting software M.E.Doc. It says the threat actors used a backdoor to compromise the M.E.Doc development environment as far back as 14 April 2017.
CISA lists four methods: PsExec, WMI, and the EternalBlue and EternalRomance exploits for SMBv1. It says the first method, and in most cases the most effective, used a modified version of the Mimikatz tool to steal the user’s Windows credentials. MITRE adds that the malware drops PsExec as dllhost.dat and can clear Windows event logs with wevtutil.
CISA says NotPetya modifies the master boot record (MBR) to enable encryption of the master file table (MFT). MITRE says it encrypts user files and disk structures with 2048-bit RSA and reboots the system one hour after infection.
CISA says the victim’s files were encrypted with a dynamically generated 128-bit key and that there was no evidence of a relationship between that key and the victim’s ID. The email address for payment validation was shut down by the email provider.
T1486 Data Encrypted for Impact, T1210 Exploitation of Remote Services, T1003.001 LSASS Memory, T1021.002 SMB/Windows Admin Shares, T1569.002 Service Execution, T1047 Windows Management Instrumentation, T1036 Masquerading, T1083 File and Directory Discovery, T1529 System Shutdown/Reboot, T1053.005 Scheduled Task.
Who attributed it, and how firm it is
In February 2018 the United Kingdom and the United States publicly attributed the attack to the Russian military. In 2020 the US Department of Justice charged six GRU officers.
CISA says, according to multiple reports, the campaign infected organizations in several sectors, including finance, transportation, energy, commercial facilities, and healthcare. The alert gives no victim count and no loss figure.
The UK Foreign Office statement of 15 February 2018 says the primary targets were Ukrainian financial, energy and government sectors, and that the design of the malware caused it to spread further, affecting other European and Russian business.
CISA advised applying the Microsoft patch MS17-010, keeping tested backups, using least privilege, disabling SMBv1 and blocking TCP port 445, and disabling or limiting remote WMI and file sharing. Because the payment email was shut down, paying was unlikely to recover files.
On 15 February 2018 the UK government judged that the Russian Government, specifically the Russian military, was responsible.
CISA pointed to Microsoft patch MS17-010, released on 14 March 2017, for the SMBv1 flaws NotPetya used.
Paying may not bring files back, so CISA advised regular backups and tested recovery.
CISA advised segregating networks, limiting lateral communication and disabling SMBv1 and remote WMI where they are not needed.
The first infections came through update delivery of accounting software, not a phishing mail. CISA says its development environment had been compromised for over two months.
CISA says Microsoft released this patch on 14 March 2017, more than three months before the outbreak.
These were the paths for the EternalBlue and EternalRomance exploits, per CISA.
CISA lists least privilege and limiting remote WMI and file sharing, because the malware reused stolen credentials.
CISA advises regular backups and testing them, since the files could not be recovered by paying.
It looked like ransomware, but CISA said there is no evidence of a relationship between the encryption key and the victim's ID. It may not be possible to decrypt files even if the ransom is paid.
CISA lists PsExec, WMI and the EternalBlue and EternalRomance SMBv1 exploits. It also used a modified Mimikatz tool to steal credentials and reach other systems.
Apply the Microsoft patch MS17-010, keep tested backups, use least privilege, disable or block SMBv1 and TCP port 445, segregate networks and use host-based firewalls.
CISA says the delivery mechanism on 27 June 2017 was the Ukrainian tax accounting software M.E.Doc, whose development environment had been compromised as far back as 14 April 2017.
The UK government said on 15 February 2018 that the Russian Government, specifically the Russian military, was responsible. That is an attribution by the UK government.
CISA cites reports of infections in finance, transportation, energy, commercial facilities and healthcare. The UK says the primary targets were Ukrainian financial, energy and government sectors.
Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.