Research Lab

Cyber attacks: the main types, with real examples

Most major attacks fall into a few patterns: ransomware, destructive malware, supply-chain compromise, mass exploitation of one flaw, data theft and denial of service. The cases below show each one, with what investigators and governments later established.

Updated November 13, 2026 5 min read 17 sources

The main types of cyber attack

Attack types
TypeHow it worksExample below
RansomwareAttackers encrypt or steal data and demand paymentWannaCry, Colonial Pipeline, Change Healthcare
Destructive malware (wiper)Malware built to destroy data, sometimes disguised as ransomwareNotPetya
Supply-chain attackAttackers compromise a trusted supplier to reach its customersSolarWinds, NotPetya
Mass exploitationOne flaw in widely used software is exploited against many organizations at onceMOVEit, Equifax
Data breachAttackers get into a system and copy personal dataEquifax, Marriott/Starwood
DDoSFloods of traffic from many machines knock a service offlineMirai and Dyn
Phishing and social engineeringPeople are tricked into giving accessMany of the above began this way; see the 2020 Twitter case

WannaCry (May 2017): ransomware that spread itself

WannaCry hit computers in many countries from May 12, 2017. It spread as a worm, using a Windows flaw for which Microsoft had released a patch in March. Britain's National Audit Office found that it disrupted at least a third of NHS trusts in England and led to thousands of cancelled appointments and operations. The spread largely stopped after a researcher registered a web domain the malware checked, which acted as a kill switch.

In December 2017 the UK and US governments publicly attributed WannaCry to North Korea. In 2018 the US Justice Department charged a North Korean programmer, Park Jin Hyok, in connection with WannaCry and other attacks, including the 2014 Sony Pictures hack.

NotPetya (June 2017): a wiper disguised as ransomware

NotPetya appeared on June 27, 2017, first in Ukraine. It spread through a hijacked update to M.E.Doc, accounting software widely used by Ukrainian businesses, and then across company networks worldwide. It looked like ransomware, but files could not be recovered. Shipping, pharmaceutical and logistics companies were among those badly hit.

The UK and US attributed NotPetya to the Russian military in February 2018; the White House called it the most destructive and costly cyber attack in history, and the UK said it had cost organizations across Europe hundreds of millions of pounds. In October 2020 the US Justice Department charged six officers of Russia's GRU military intelligence (Unit 74455, the group known as Sandworm). Prosecutors said NotPetya caused nearly $1 billion in losses to just three US victims.

SolarWinds (disclosed December 2020): a supply-chain compromise

Attackers inserted malicious code into updates of SolarWinds' Orion network-monitoring software. Organizations that installed the updates gave the attackers a hidden way in. US agencies including the FBI and CISA described a significant and ongoing campaign. In April 2021 the White House formally attributed the operation to Russia's foreign intelligence service, the SVR, and announced sanctions.

Colonial Pipeline (May 2021): ransomware with physical effects

In May 2021 a ransomware attack led Colonial Pipeline to shut down a major fuel pipeline on the US East Coast as a precaution, causing fuel shortages in parts of the Southeast. The FBI attributed the attack to the DarkSide ransomware group. The company paid a ransom in bitcoin. In June 2021 the Justice Department announced it had seized 63.7 bitcoins, then worth about $2.3 million, of that payment.

MOVEit (2023): one flaw, thousands of victims

From late May 2023, the Cl0p ransomware gang exploited a previously unknown SQL injection flaw (CVE-2023-34362) in MOVEit Transfer, file-transfer software from Progress Software. CISA and the FBI issued a joint advisory. Instead of encrypting files, the gang stole data from organizations running MOVEit and threatened to publish it. Victims included government agencies, universities, banks and payroll providers, and through them millions of individuals.

Change Healthcare (2024): the largest US health data breach

In February 2024 a ransomware attack on Change Healthcare, a UnitedHealth Group company that processes insurance claims, disrupted pharmacies and medical billing across the US for weeks. In January 2025 UnitedHealth said it estimated about 190 million people were affected, up from an earlier interim figure of 100 million it had given to the Department of Health and Human Services.

Equifax (2017): an unpatched server

Attackers exploited a known flaw in Apache Struts, web software Equifax had not patched, and stole personal data of about 147 million people, including Social Security numbers. Equifax agreed in 2019 to a settlement with the FTC, the Consumer Financial Protection Bureau and US states of up to $700 million. In 2020 the US charged four members of China's People's Liberation Army over the breach.

Marriott and Starwood (disclosed 2018): a breach inherited in an acquisition

In November 2018 Marriott disclosed that attackers had been inside the guest reservation system of Starwood, which it had acquired in 2016, since 2014. The UK Information Commissioner's Office fined Marriott £18.4 million in 2020. In 2024 the FTC announced an order requiring Marriott and Starwood to set up a stronger security program over this and other breaches.

Mirai and Dyn (October 2016): a botnet of cameras and routers

The Mirai malware took over hundreds of thousands of poorly secured internet-connected devices, such as cameras and home routers, and used them for huge DDoS attacks. In October 2016 an attack on Dyn, a company that provides DNS services, made many major websites hard to reach in parts of the US. In 2017 three young men pleaded guilty in the US to charges related to creating Mirai.

Do attackers get caught?

Sometimes. Besides the indictments above, police can disrupt whole operations. In February 2024 the UK National Crime Agency led an international operation that took control of the LockBit ransomware group's infrastructure and leak site. Many state-backed attackers, though, live in countries that won't extradite them, so charges are often symbolic.

What these cases teach individuals

  • Patch quickly. WannaCry and Equifax both used flaws that already had fixes. Turn on automatic updates.
  • Back up. Ransomware is far less damaging if you can restore your files.
  • Assume your data will leak somewhere. Use unique passwords and multi-factor authentication so one breach doesn't open all your accounts.
  • Watch for follow-up scams. After big breaches, criminals send phishing messages that mention the breach. Contact companies through their official sites.
  • Secure your own devices. Change default passwords on cameras and routers so they can't join a botnet like Mirai.

For the basics, see what is cybersecurity. For the people behind attacks, see our hackers overview.

Questions people ask

What is the most common type of cyber attack?

For individuals, phishing. The FBI's IC3 received more phishing and spoofing complaints in 2024 than any other type.

What was the most costly cyber attack?

NotPetya is often described as the most costly. The US government called it the most destructive and costly cyber attack in history when it attributed it to Russia in 2018, and prosecutors later said three US victims alone lost nearly $1 billion.

What is a supply-chain attack?

An attack on a trusted supplier, such as a software maker, so that its products carry the attack to customers. SolarWinds is the best-known example.

Do victims who pay a ransom get their files back?

Not always. CISA notes that some victims pay to recover their files but that there is no guarantee they will. Paying also funds the criminals behind the attack.

Can a VPN stop a cyber attack?

Only certain kinds, such as snooping on public Wi-Fi. It doesn't stop ransomware, phishing or breaches at companies that hold your data.

Sources

  1. National Audit Office: Investigation: WannaCry cyber attack and the NHS (2017) (nao.org.uk) · read November 13, 2026
  2. UK government: Foreign Office Minister condemns North Korean actor for WannaCry attacks (2017) (gov.uk) · read November 13, 2026
  3. US DOJ: North Korean Regime-Backed Programmer Charged (2018) (justice.gov) · read November 13, 2026
  4. UK government: Foreign Office Minister condemns Russia for NotPetya attacks (2018) (gov.uk) · read November 13, 2026
  5. US DOJ: Six Russian GRU Officers Charged (2020) (justice.gov) · read November 13, 2026
  6. White House: Fact Sheet: Imposing Costs for Harmful Foreign Activities by the Russian Government (2021) (bidenwhitehouse.archives.gov) · read November 13, 2026
  7. US DOJ: Department of Justice Seizes $2.3 Million in Cryptocurrency Paid to DarkSide (2021) (justice.gov) · read November 13, 2026
  8. CISA and FBI advisory AA23-158A: CL0P exploits MOVEit vulnerability (cisa.gov) · read November 13, 2026
  9. Fierce Healthcare: UnitedHealth estimates 190M people impacted by Change Healthcare cyberattack (2025) (fiercehealthcare.com) · read November 13, 2026
  10. FTC: Equifax Data Breach Settlement (ftc.gov) · read November 13, 2026
  11. US DOJ: Chinese Military Personnel Charged in Equifax hack (2020) (justice.gov) · read November 13, 2026
  12. FTC: action against Marriott and Starwood over data breaches (2024) (ftc.gov) · read November 13, 2026
  13. US DOJ: Charges and guilty pleas in three computer crime cases involving botnets (Mirai, 2017) (justice.gov) · read November 13, 2026
  14. UK National Crime Agency: international operation targeting LockBit (2024) (nationalcrimeagency.gov.uk) · read November 13, 2026
  15. FBI IC3: 2024 Internet Crime Report (ic3.gov) · read November 13, 2026
  16. CISA StopRansomware: Ransomware FAQs (cisa.gov) · read November 13, 2026
  17. White House: Statement from the Press Secretary on NotPetya (February 15, 2018) (trumpwhitehouse.archives.gov) · read November 13, 2026