4 Types of Cyber Attacks: Real Examples and How to Stop Them
Quick answer: The 4 types of cyber attacks that cause the most damage to businesses are malware (including ransomware), phishing and social engineering, password and credential attacks, and denial of service (DoS or DDoS) attacks. Malware breaks or hijacks systems, phishing tricks people into opening the door, credential attacks walk in with stolen logins, and DDoS floods a service until it goes offline. Most serious incidents chain two or more of these together, such as a phishing email that steals a password that is later used to deploy ransomware. Knowing how each one works tells you which defense to put first.
Key points
- There is no official number of attack types; MITRE ATT&CK, the most widely used catalog, maps 15 attacker tactics and roughly 260 techniques.
- Verizon’s 2027 Data Breach Investigations Report found exploited software vulnerabilities (31%) overtook stolen credentials (13%) as the top way attackers get in.
- Ransomware showed up in 48% of breaches in that report, yet 69% of victim organizations refused to pay.
- IBM’s 2027 Cost of a Data Breach Report puts the average US breach at $11.5 million, more than double the global average.
- Textbooks also teach “four types of active attacks,” a separate classification covered below.
What is a cyber attack?
A cyber attack is a deliberate attempt to steal, alter, destroy, or block access to data and systems through a computer network. A cyber threat is the possibility of harm; the attack is the actual attempt.
The scale in the United States is hard to overstate. The FBI’s Internet Crime Complaint Center (IC3) received 1,008,597 complaints in 2025, and reported losses reached $20.877 billion, a 26% jump from 2024. Phishing and spoofing were among the most frequently reported crimes.
What are the 4 main types of cyber attacks?
The four main types are malware, phishing, credential attacks, and DDoS. Each targets a different weak point: software, people, logins, and availability.
1. Malware and ransomware
Malware is any software built to harm a system, including viruses, worms, trojans, spyware, and ransomware. It arrives through infected attachments, malicious downloads, or an attacker who already has access.
Ransomware is the most damaging form. It encrypts your files and demands payment for the key, and modern gangs also steal data first so they can threaten to leak it, a tactic called double extortion. As a result, good backups alone no longer remove the pressure to pay. Verizon found ransomware involved in 48% of breaches, up from 44% the year before. Our guide on how to protect against ransomware walks through the defenses in order.
2. Phishing and social engineering
Phishing uses fake emails, texts, calls, or websites to trick someone into handing over credentials, approving a payment, or running malware. Spear phishing targets a specific person, and business email compromise (BEC) impersonates an executive or vendor to redirect money.
The mechanism is psychological, not technical. Attackers create urgency or authority (“the CEO needs this wire today”) so the victim acts before thinking. IBM’s 2027 report found phishing was the most common initial attack vector, behind 17% of breaches. In practice, the channel is shifting: Verizon reports mobile users click scam texts and calls at noticeably higher rates than email lures, so training that only covers inbox phishing is already out of date.
3. Password and credential attacks
Credential attacks aim to log in as a legitimate user. Brute force guesses passwords systematically, password spraying tries a few common passwords across many accounts, and credential stuffing replays usernames and passwords leaked in other breaches.
These attacks work because people reuse passwords. Once a password leaks anywhere, it gets tested everywhere. Multifactor authentication (MFA) breaks the chain, because a stolen password alone is no longer enough to sign in.
4. Denial of service (DoS and DDoS) attacks
A denial of service attack floods a website, server, or network with traffic until real users cannot reach it. A distributed denial of service (DDoS) attack sends that traffic from thousands of hijacked devices, called a botnet, which makes it far harder to block.
What most articles miss is that the record attacks are not the typical ones. Cloudflare mitigated a record 31.4 Tbps attack from the Aisuru botnet in December 2025, yet in the first half of 2027, 96.62% of network layer attacks it saw stayed under 500 Mbps and 90.60% ended within 10 minutes. Those short, small floods are often enough to knock an unprotected small business offline.
| Attack type | What it targets | How it works | Strongest first defense |
|---|---|---|---|
| Malware and ransomware | Devices and data | Malicious code encrypts, steals, or destroys files | Endpoint protection plus offline backups |
| Phishing and social engineering | People | Fake messages trick users into acting | Training, email filtering, payment verification |
| Credential attacks | Logins | Guessed, sprayed, or leaked passwords | MFA and unique passwords |
| DoS and DDoS | Availability | Traffic floods overwhelm a service | DDoS protection from your host or CDN |
What are the 5 types of cyber attacks?
Lists of five types usually add vulnerability exploitation to the four above. This means attacking a flaw in software, such as an unpatched server, a vulnerable VPN appliance, or a web app open to SQL injection. Verizon’s 2027 data shows it is now the single most common way into a network, at 31% of breaches.
Longer lists of 10, 15, or 20 types split these families into subtypes: man in the middle attacks that intercept traffic, SQL injection and cross site scripting against web apps, drive by downloads, zero day exploits, insider threats, and supply chain attacks that compromise a trusted vendor. Shorter lists of three types often group attacks by what they damage: confidentiality (data theft), integrity (data tampering), or availability (outages).
How many types of cyber attacks are there?
There is no fixed number of cyber attack types, because the count depends on how finely you slice them. Business guides usually list 4 to 20 types, while MITRE ATT&CK, the framework security teams use to map real intrusions, organizes 15 tactics and about 260 techniques.
What are the four types of active attacks?
The four types of active attacks are masquerade, replay, modification of messages, and denial of service. This classification comes from the ITU X.800 security architecture and the IETF’s Internet Security Glossary (RFC 4949), and it appears in most university network security courses.
A masquerade is one party pretending to be another. Replay captures valid data, like a login exchange, and resends it later. Modification alters, delays, or reorders legitimate messages. Denial of service blocks normal use of a system. Passive attacks, by contrast, only watch: release of message contents (eavesdropping) and traffic analysis. Passive attacks are hard to detect because nothing changes, which is why encryption, a preventive control, is the standard answer to them.
What are the biggest cyber attacks in history?
The biggest cyber attacks in history show the same four types repeating at enormous scale.
| Attack | Year | Type | What happened |
|---|---|---|---|
| NotPetya | 2017 | Malware (destructive wiper) | The White House called it the most destructive and costly cyber attack in history; damage is widely estimated at over $10 billion |
| Equifax | 2017 | Vulnerability exploitation | An unpatched Apache Struts flaw exposed data on about 147 million people; settlement of up to $425 million |
| Colonial Pipeline | 2021 | Credential attack plus ransomware | A leaked password on an old VPN account without MFA led to a pipeline shutdown and a $4.4 million ransom |
| Change Healthcare | 2024 | Ransomware | The attack affected an estimated 192.7 million people, the largest US healthcare breach on record |
| Aisuru botnet | 2025 | DDoS | A record 31.4 Tbps flood, mitigated automatically by Cloudflare |
Notice the pattern: Colonial Pipeline started as a credential attack, and Equifax had a patch available for months. Most people discover that the “sophisticated” attacks in headlines usually began with a basic gap.
How can businesses protect against these attacks?
Businesses can block most attacks by covering five basics: MFA everywhere, fast patching, endpoint protection, tested backups, and staff training.
Start with MFA on email, VPN, and admin accounts, since it neutralizes most credential attacks. Patch internet facing systems first, because exploitation is now the leading entry point. Deploy endpoint detection on every laptop and server; our explainer on what endpoint security covers breaks down the options. Keep backups that ransomware cannot reach by following the 3 2 1 backup rule. Finally, segment your network and filter traffic with network security services so one compromised device cannot reach everything.
Be honest about the limits. No single tool stops all four types, and a common misconception is that small companies are too minor to target. Verizon notes that many ransomware campaigns are opportunistic, hitting whoever has stolen credentials or unpatched systems, regardless of size.
Frequently asked questions
What is the most common type of cyber attack?
Phishing is the most common starting point for breaches. IBM’s 2027 report ranks it the top initial attack vector, and the FBI lists phishing and spoofing among the most reported complaints.
What is the difference between a virus and malware?
Malware is the umbrella term for all malicious software. A virus is one specific kind that attaches to legitimate files and spreads when those files run. Worms, trojans, and ransomware are other kinds of malware.
What is the difference between DoS and DDoS?
A DoS attack comes from a single source, so blocking that source usually stops it. A DDoS attack comes from thousands of compromised devices at once, which makes simple blocking ineffective and requires dedicated mitigation.
Can antivirus stop ransomware?
Traditional antivirus catches known ransomware but often misses new variants. Endpoint detection and response (EDR) tools watch for suspicious behavior, such as mass file encryption, and can stop attacks that signature scanning misses.
What is a man in the middle attack?
A man in the middle attack secretly intercepts communication between two parties to read or alter it. Unencrypted public networks are the classic setting. HTTPS and VPNs make it much harder.
What is a supply chain attack?
A supply chain attack compromises a trusted vendor, software update, or service provider to reach that vendor’s customers. Verizon’s 2027 report found third party involvement in 48% of breaches.
What is social engineering?
Social engineering manipulates people rather than technology. Phishing, pretexting phone calls, fake tech support, and impersonating executives are all forms of it.
Should a business pay a ransomware demand?
The FBI advises against paying, since payment funds criminals and does not guarantee data recovery or deletion. Verizon found 69% of victims did not pay in its latest data. Consult legal counsel and law enforcement first.
How do I report a cyber attack in the United States?
Report it to the FBI through ic3.gov and contact your local FBI field office for urgent incidents. Critical infrastructure organizations can also report to CISA.
Is there a PDF of the types of cyber attacks?
You can save this guide as a PDF from your browser’s print menu. For deeper reference, the FBI’s annual IC3 report and Verizon’s DBIR are both free PDFs.
Are AI powered cyber attacks a new type?
AI is mostly a force multiplier for existing types rather than a new category. Verizon reports generative AI now assists 15% of attack techniques, mainly for writing convincing phishing and speeding up malware development.
How long does it take to detect a breach?
IBM’s 2027 report found organizations took an average of 247 days to identify and contain a breach, the first increase in five years.
Conclusion
Malware, phishing, credential attacks, and DDoS account for most of the damage businesses suffer, and nearly every major breach combines at least two of them. Close the basic gaps (MFA, patching, backups, and training) and you shut the doors attackers use most.
For the latest data, review the FBI’s Internet Crime Complaint Center annual report, Verizon’s Data Breach Investigations Report, and the MITRE ATT&CK framework for a detailed map of attacker techniques.
