logo svg
logo

November 5, 2026

Updated: November 11, 2026

Types of Cyber Attacks: 20 Common Attacks Explained

Phishing to prompt injection: 20 attack types, how often they appear in Verizon's DBIR, how they chain together and the controls and tests that stop them.

Mohammed Khalil

Mohammed Khalil

Featured Image

The main types of cyber attacks fall into five families: social engineering and identity attacks (phishing, business email compromise, password attacks), malware (including ransomware), network attacks (DDoS, man-in-the-middle, DNS spoofing), web application attacks (SQL injection, XSS, CSRF, SSRF, IDOR, buffer overflows) and systemic attacks (zero-days, supply chain compromises, insider threats and AI-driven attacks). Verizon's 2026 Data Breach Investigations Report found that vulnerability exploitation (31%), phishing (16%) and credential abuse (13%) were the leading ways into breached organizations. This guide explains 20 attack types and maps each one to MITRE ATT&CK.

What Is a Cyber Attack?

NIST's glossary defines a cyber attack as an attack via cyberspace that targets an organization's use of cyberspace to disrupt, disable, destroy or maliciously control a computing environment, to destroy the integrity of data, or to steal controlled information. In plain terms, someone deliberately tries to break the confidentiality, integrity or availability of your systems or data.

Three terms are often mixed up:

Attack types are useful labels, but they overlap. A single breach can start with phishing, continue with credential theft and end with ransomware. That is why defenders also use MITRE ATT&CK, a public knowledge base that describes attacker behavior as tactics (the goal of a step, such as Initial Access or Impact) and techniques (how the step is done, such as T1566 Phishing). ATT&CK Enterprise v20 lists 15 tactics. Mapping each attack type to its tactic tells you where in an intrusion it usually happens and which detections should catch it. Our MITRE ATT&CK framework guide explains the matrix in depth, and the cyber kill chain gives the older, seven-stage view of the same idea.

The 20 Types of Cyber Attacks at a Glance

#Attack typeFamilyMain ATT&CK tacticExample technique
1Phishing and spear phishingSocial engineeringInitial AccessT1566 Phishing
2Vishing, smishing and pretextingSocial engineeringInitial Access, ReconnaissanceT1566.004 Spearphishing Voice; T1598
3Business email compromise (BEC)Social engineeringImpactT1657 Financial Theft
4Password attacksIdentityCredential AccessT1110 Brute Force
5Credential theft and pass-the-hashIdentityCredential Access, Lateral MovementT1003; T1550.002
6Malware, including fileless malwareMalwareExecutionT1204 User Execution; T1059
7RansomwareMalwareImpactT1486 Data Encrypted for Impact
8Denial of service and DDoSNetworkImpactT1498; T1499
9Man-in-the-middleNetworkCredential Access, CollectionT1557 Adversary-in-the-Middle
10DNS spoofing and DNS tunnelingNetworkCredential Access, Command and ControlT1557; T1071.004
11SQL injectionWeb applicationInitial AccessT1190 Exploit Public-Facing Application
12Cross-site scripting (XSS)Web applicationInitial Access, Credential AccessT1189; T1539
13Cross-site request forgery (CSRF)Web applicationNo dedicated techniqueCAPEC-62; CWE-352
14Server-side request forgery (SSRF)Web applicationInitial Access, Credential AccessT1190; T1552.005
15IDOR and broken access controlWeb applicationInitial AccessT1190; CWE-639
16Buffer overflowSoftware exploitationInitial Access, ExecutionT1190; T1203
17Zero-day exploitsSoftware exploitationInitial Access, Privilege EscalationT1190; T1068
18Supply chain attacksSystemicInitial AccessT1195 Supply Chain Compromise
19Insider threatsSystemicInitial Access, ExfiltrationT1078 Valid Accounts
20AI-powered attacksSystemicInitial Access (ATLAS for AI systems)AML.T0051; AML.T0088

Technique IDs and tactic names come from MITRE ATT&CK Enterprise v20. CSRF has no dedicated ATT&CK technique, so the table uses MITRE's CAPEC-62 attack pattern. AI-specific techniques come from MITRE ATLAS, ATT&CK's companion knowledge base for attacks on AI systems.

20 types of cyber attacks in five families, each family labeled with its usual MITRE ATT&CK tactics

How Common Is Each Type of Cyber Attack?

Frequency matters more than novelty when you decide what to defend first. The Verizon 2026 Data Breach Investigations Report analyzed more than 31,000 security incidents and 22,624 confirmed data breaches across 145 countries, covering November 1, 2024 to October 31, 2025. Its headline numbers map directly onto the attack types in this guide:

Verizon DBIR 2026: exploitation 31%, phishing 16%, credential abuse 13% of entry points; ransomware in 48% of breaches

Treat these figures as a strong sample of reported breaches rather than a census of every attack. Verizon's data comes from almost a hundred contributors, so the mix shifts as contributors change.

Social Engineering and Identity Attacks

These attacks target people and identities rather than code. They remain popular because a convincing message or a reused password is cheaper than an exploit.

1. Phishing and spear phishing

Phishing is a fraudulent message, usually email, that tricks the recipient into clicking a malicious link, opening a malicious attachment or entering credentials on a fake page; spear phishing is the targeted version, and whaling aims it at executives. ATT&CK: T1566 Phishing under Initial Access. How it's tested: an authorized phishing simulation measures who clicks, who enters credentials and who reports the message. Our spear phishing guide covers targeted lures, whaling and BEC in depth; for trend data see our phishing statistics, and for QR-code lures our guide to quishing.

2. Vishing, smishing and pretexting

Vishing (voice phishing) and smishing (SMS phishing) move the same deception to phone calls and text messages, and pretexting is the invented story behind the request, such as a fake IT help desk call asking you to approve an MFA prompt. ATT&CK: Spearphishing Voice (T1566.004) and Phishing for Information (T1598). How it's tested: a social engineering assessment runs pre-approved calls and texts against agreed staff and help desk processes. Our explainer on what social engineering is covers the psychology, and the vishing statistics and smishing statistics posts track the volumes.

3. Business email compromise (BEC)

Business email compromise is a fraud in which an attacker impersonates or takes over a trusted email account, such as a CEO, supplier or lawyer, and asks for a payment or sensitive data, often with no malware at all. ATT&CK: Financial Theft (T1657) for the goal and Social Engineering: Impersonation (T1684.001) for the lure. How it's tested: testers check whether a spoofed or look-alike payment-change request gets past email authentication and whether staff follow the call-back rule for payment changes. See our business email compromise statistics for more.

4. Password attacks: brute force, password spraying and credential stuffing

Password attacks try to log in as a real user without stealing anything first. ATT&CK: Brute Force (T1110) under Credential Access:

How it's tested: testers run slow, low-volume password spraying against in-scope login portals within agreed lockout limits and check where MFA is missing. Read more in our credential stuffing statistics and password statistics.

5. Credential theft and pass-the-hash

Credential theft collects passwords, hashes, tokens and session cookies that already exist on a system, and pass-the-hash reuses a captured NTLM hash to authenticate without knowing the plaintext password. ATT&CK: OS Credential Dumping, T1003 and Pass the Hash (T1550.002). How it's tested: in an internal test, testers try to dump credentials from a compromised host and replay them to reach other systems. Example: in its June 10, 2024 report on UNC5537, Mandiant traced the Snowflake customer incidents it responded to back to compromised customer credentials. Our guides to pass-the-hash attacks and infostealer malware go deeper.

Malware Attacks

Malware is software written to harm, spy on or take control of a system. It is a delivery mechanism as much as an attack type, and it shows up at almost every stage of an intrusion.

6. Malware: viruses, worms, trojans, infostealers and fileless malware

Viruses attach to legitimate files, worms spread on their own, trojans pose as useful software, infostealers collect saved passwords and cookies, and fileless malware abuses built-in tools such as PowerShell instead of writing an executable to disk. ATT&CK: User Execution (T1204) and Command and Scripting Interpreter (T1059), both under Execution. How it's tested: testers run benign, pre-agreed payloads to check whether EDR, application allowlisting and script logging detect and block them. Our guide to the types of malware explains all 16 kinds with dated examples; see also our explainer on fileless malware and the malware statistics roundup.

7. Ransomware

Ransomware encrypts or steals an organization's data and demands payment to restore access or to keep the data off a leak site; it is usually the end of a chain that began with stolen credentials, phishing or an exploited edge device. ATT&CK: Data Encrypted for Impact (T1486) and Inhibit System Recovery (T1490), both under Impact. How it's tested: a red team or assumed-breach exercise emulates the steps that come before encryption, such as privilege escalation and backup deletion, to check they are detected; real data is never encrypted. Example: in the MOVEit Transfer campaign, CISA and the FBI reported that the CL0P gang began exploiting a SQL injection zero-day in May 2023 to steal data at scale. Our ransomware statistics cover current numbers.

Network Attacks

Network attacks target the plumbing: availability of services, the traffic between systems, and the name resolution everything depends on.

8. Denial-of-service and DDoS attacks

A denial-of-service (DoS) attack makes a service unavailable by overwhelming it with traffic or requests, or by triggering a resource-exhausting bug; a distributed denial-of-service (DDoS) attack sends that load from many machines at once, usually a botnet. ATT&CK: Network Denial of Service (T1498) and Endpoint Denial of Service (T1499), both under Impact. How it's tested: a scheduled, controlled load test checks rate limits, DDoS protection and failover, with the hosting and protection providers informed in advance. Example: the HTTP/2 Rapid Reset technique (CVE-2023-44487) showed in 2023 how a protocol flaw changes the math, as Cloudflare reported. For how DDoS attacks work and how to defend against them, see our guide to what a DDoS attack is; for trend data, see our DDoS attack statistics.

9. Man-in-the-middle attacks

In a man-in-the-middle (MITM) attack, the attacker positions themselves between two parties so traffic flows through them, letting them read, modify or replay it. ATT&CK: Adversary-in-the-Middle (T1557), with ARP cache poisoning (T1557.002) as the classic local-network method, explained in our guide to ARP spoofing. How it's tested: on an internal network test, testers check whether poisoning lets them intercept credentials, and phishing tests check whether a reverse-proxy kit can relay a login past MFA. Our man-in-the-middle attack guide walks through each technique and its defenses.

10. DNS spoofing and DNS tunneling

DNS is abused in two opposite directions: DNS spoofing (or cache poisoning) feeds false answers so a legitimate name points to an attacker's server, and DNS tunneling hides data or command-and-control traffic inside DNS queries. ATT&CK: Application Layer Protocol: DNS (T1071.004) under Command and Control for tunneling; spoofing is a form of adversary-in-the-middle (T1557). How it's tested: testers check whether DNS queries to arbitrary external domains leave the network unfiltered and unlogged, and whether resolvers validate DNSSEC. For the redirection side, see our DNS spoofing guide; for the exfiltration side, read our guides to DNS tunneling and DNS data exfiltration.

Web Application Attacks

Web applications and APIs are the most exposed code most organizations run, and the OWASP Top 10 is the standard list of their most critical risks. ATT&CK deliberately stays coarse here and records most of these flaws as Exploit Public-Facing Application (T1190), so the CWE and CAPEC catalogs give the finer detail.

11. SQL injection

SQL injection happens when an application builds a database query from untrusted input, so the input changes the query's logic and can let an attacker read, change or delete data. ATT&CK: Exploit Public-Facing Application (T1190). How it's tested: testers send crafted input to every parameter that reaches a database and confirm each finding manually, without changing production data. Example: the MOVEit Transfer flaw, CVE-2023-34362, was a SQL injection. Our full guide explains what SQL injection is and how to test for it safely.

12. Cross-site scripting (XSS)

Cross-site scripting lets an attacker get their own script to run in another user's browser in the context of a trusted site, usually because the site reflects or stores input without encoding it. ATT&CK records the outcomes, such as Steal Web Session Cookie (T1539) and Drive-by Compromise (T1189). How it's tested: testers inject harmless markers into inputs and check whether they execute in stored, reflected or DOM contexts and whether the Content Security Policy blocks them. Our guide to cross-site scripting covers stored, reflected and DOM-based XSS.

13. Cross-site request forgery (CSRF)

Cross-site request forgery tricks a logged-in user's browser into sending an unwanted request, such as changing an email address, to a site that trusts that browser's cookies. It has no ATT&CK technique; it is cataloged as CWE-352 and attack pattern CAPEC-62. How it's tested: testers replay state-changing requests from another origin and check for anti-CSRF tokens, SameSite cookies and origin checks. See what CSRF is for browser defaults and testing.

14. Server-side request forgery (SSRF)

Server-side request forgery makes a server fetch a URL the attacker chooses, so the request comes from inside the trust boundary, often to reach internal services or cloud instance metadata. ATT&CK: Cloud Instance Metadata API (T1552.005) for the credential theft that often follows. How it's tested: testers point URL-fetching features at internal addresses and the metadata service to see what the server will reach. Example: Microsoft Exchange's ProxyLogon flaw, CVE-2021-26855, was an SSRF (CWE-918). Our guide explains what SSRF is.

15. IDOR and broken access control

An insecure direct object reference (IDOR) lets a user access a record just by changing an identifier, such as an invoice number in a URL, without a check that the record belongs to them. It is cataloged as CWE-639 and sits under Broken Access Control, A01 in the OWASP Top 10 2025; ATT&CK records exploitation as Exploit Public-Facing Application (T1190). How it's tested: testers use two accounts and a role matrix to request each other's records, because scanners miss most IDORs. Our guide explains what IDOR is and how it is tested.

16. Buffer overflow and memory corruption

A buffer overflow happens when a program writes more data into a memory buffer than it can hold, overwriting adjacent memory, which in C and C++ can crash the program or let an attacker redirect execution. It is cataloged as CWE-120 and attack pattern CAPEC-100; ATT&CK records the result as T1190 on servers or Exploitation for Client Execution (T1203) on endpoints. How it's tested: testers check exposed services and appliances for known overflow CVEs and, in a scoped code or binary review, fuzz input handling. Example: Ivanti Connect Secure's stack-based buffer overflow, CVE-2025-0282, was added to CISA's KEV catalog the day NVD published it, January 8, 2025. Our buffer overflow guide explains how stack and heap overflows work and how to prevent them.

Advanced and Systemic Attacks

These attacks are less about a single bug and more about trust: trust in software you have not seen, vendors you depend on, people you employ and AI systems you deploy.

17. Zero-day exploits

A zero-day is a vulnerability that attackers exploit before the vendor has released a fix, so defenders have had zero days to patch. ATT&CK maps it to whatever the exploit achieves, typically T1190 for internet-facing systems or Exploitation for Privilege Escalation (T1068) on a host. How it's tested: no test can find an unknown flaw on demand, so testing measures the blast radius instead: exposed attack surface, segmentation and whether EDR catches post-exploitation behavior. Example: Log4Shell, CVE-2021-44228, was published by NVD and added to the KEV catalog on the same day, December 10, 2021. See our zero-day exploit guide.

18. Supply chain attacks

A supply chain attack compromises a supplier, software component or service provider in order to reach that supplier's customers. ATT&CK: Supply Chain Compromise (T1195) under Initial Access. How it's tested: an assessment reviews third-party access paths, dependency and build-pipeline controls, and what a compromised vendor account could reach. Examples: CISA issued Emergency Directive 21-01 on December 13, 2020 in response to the SolarWinds Orion code compromise, an operation attributed to APT29 (our cyber warfare statistics track state-sponsored activity like it), and the XZ Utils backdoor, CVE-2024-3094, was found in upstream xz release tarballs in March 2024. Our guide to supply chain attacks covers vendor assessment and software bills of materials.

19. Insider threats

CISA defines an insider threat as the threat that someone with authorized access will use it, intentionally or unintentionally, to harm the organization. ATT&CK has no insider-only technique; it records the access as Valid Accounts (T1078), followed by exfiltration techniques such as Exfiltration Over Web Service (T1567). How it's tested: an assumed-breach test starts from a normal employee account and checks what data it can reach and whether bulk downloads or uploads trigger data loss prevention or behavior alerts. See our insider threat statistics.

20. AI-powered attacks: prompt injection and deepfakes

AI-powered attacks either use generative AI to scale existing attacks, such as deepfake voice and video for impersonation, or target AI applications themselves, as prompt injection does by smuggling instructions into a model's input so it ignores its rules, leaks data or misuses connected tools. MITRE ATLAS tracks these as Generate Deepfakes (AML.T0088) and AML.T0051 (LLM Prompt Injection), which is also LLM01 in the OWASP Top 10 for LLM Applications. How it's tested: AI and LLM testing sends direct and indirect injection payloads to the application and checks whether it leaks data or misuses its tools. Read our guides to prompt injection attacks and deepfake statistics.

What Happens After Initial Access: Privilege Escalation and Lateral Movement

Most of the 20 attack types are ways in or ways to cause impact. What turns a single compromised mailbox into a company-wide ransomware event is what happens in between. Two ATT&CK tactics do most of that work:

The table below shows a typical chain and the control that breaks each link. It is an illustrative pattern drawn from the techniques above, not a specific incident.

StepAttack type usedATT&CK tacticControl that breaks the link
1Phishing email or exploited edge deviceInitial AccessPhishing-resistant MFA; patch internet-facing systems first
2Malware or script executionExecutionEDR, allowlisting, script logging
3Credential dumping or infostealerCredential AccessCredential Guard, LAPS, no cached admin credentials
4Local or domain privilege escalationPrivilege EscalationLeast privilege, patching, tiered admin accounts
5Pass-the-hash or remote servicesLateral MovementSegmentation, restricted admin logons, monitoring
6Ransomware or data theftImpact, ExfiltrationOffline backups, egress monitoring, response plan
Six-step attack chain from phishing to ransomware, with the ATT&CK tactic and the control that breaks each step

Defenders win by breaking the chain at the cheapest point, which is why controls at steps 1 and 3 pay off against so many attack types at once.

How to Defend Against the Most Common Types of Cyber Attacks

No single product covers 20 attack types, but a short list of controls covers most of them. Prioritize by the DBIR numbers: credential abuse, vulnerability exploitation and phishing first.

ControlAttack types it bluntsHow to verify it works
Phishing-resistant MFA (FIDO2 or passkeys)Phishing, password attacks, credential theft, MITM phishing kitsTest login flows; attempt a lab adversary-in-the-middle relay in an authorized test
Risk-based patching of internet-facing systemsZero-days, buffer overflows, SQL injection in products, edge-device exploitsTrack time to patch KEV-listed flaws; external attack surface scans
Secure coding and application testingSQL injection, XSS, CSRF, SSRF, IDORCode review plus authenticated web application penetration tests
EDR with script and credential-access monitoringMalware, fileless malware, credential dumping, ransomwarePurple team or breach-and-attack simulation exercises
Least privilege and tiered administrationPrivilege escalation, lateral movement, insider threatsAccess reviews; internal penetration test from a standard user
Network segmentation and egress controlLateral movement, DNS tunneling, data exfiltrationSegmentation testing; review DNS and egress logs
Payment verification out of bandBEC, deepfake-assisted fraudTabletop exercise with finance; call-back procedure audit
DDoS protection and capacity planningDoS and DDoSAuthorized load and DDoS resilience testing
Offline, tested backupsRansomware, destructive attacksTimed restore tests
Vendor and dependency managementSupply chain attacksSoftware bill of materials review; third-party assessments
Security awareness with easy reportingPhishing, vishing, smishing, pretextingReport rates in simulations, not just click rates

The last row deserves emphasis. The 2026 DBIR Executive Summary reports that in phishing simulations, the median click rate for mobile-centric vectors such as voice and text messaging is 40% higher than for email. Simulation results depend on which programs contribute data, so treat that gap as a signal rather than a precise benchmark. Training that only covers email misses the channels attackers are moving to. Clicks never reach zero, so a fast report is what lets the security team pull a malicious message and reset exposed accounts.

How Penetration Testing Validates Your Defenses

Knowing the types of cyber attacks is only half the job. The other half is checking which ones would actually work against your environment. That is what a penetration test does: authorized testers use the same techniques as real attackers, within an agreed scope and rules of engagement, and report what they could reach and how to fix it.

Different test types map to different attack families:

Testing is lab-safe by design: it happens only on systems you own or are authorized to test, under written scope, and it never replaces patching or monitoring. A clean test also does not guarantee security; it shows which attack paths were open on the day of testing.

Frequently Asked Questions

What are the main types of cyber attacks?

The main types are phishing and other social engineering, business email compromise, password and credential attacks, malware and ransomware, denial-of-service and DDoS, man-in-the-middle and DNS attacks, web application attacks such as SQL injection, XSS, CSRF, SSRF and IDOR, memory corruption flaws such as buffer overflows, zero-day exploits, supply chain attacks, insider threats and AI-powered attacks such as prompt injection and deepfakes.

What is the most common type of cyber attack?

In Verizon's 2026 DBIR, exploitation of vulnerabilities was the most common way into breached organizations at 31%, ahead of phishing (16%) and credential abuse (13%), and ransomware was present in 48% of breaches. Denial of service remains a frequent incident type, with 5,514 incidents in the same dataset, though it rarely leads to a data breach.

What are the five most dangerous types of cyber attacks for businesses?

For most organizations, the highest-impact types are ransomware, credential abuse, exploitation of internet-facing vulnerabilities, phishing and business email compromise. They combine high frequency in breach data with direct financial impact, and ransomware hits small and medium-sized businesses hardest.

How does MITRE ATT&CK classify cyber attacks?

ATT&CK does not classify attacks by name. It describes adversary behavior as tactics, the goal of each step such as Initial Access or Impact, and techniques, the method such as T1566 Phishing or T1486 Data Encrypted for Impact. Mapping an attack type to its techniques shows where it fits in an intrusion and which detections apply.

What is the difference between a cyber threat and a cyber attack?

A threat is a potential source of harm, such as a criminal group or an insider with too much access. An attack is the actual attempt to exploit a weakness. Threat intelligence tells you who might attack; knowing attack types tells you how, so you can test and close those paths.

How can a small business protect against cyber attacks?

Start with phishing-resistant MFA on email and remote access, automatic patching with priority for internet-facing systems, EDR on endpoints, offline backups with restore tests, and a call-back rule for payment changes. Then test those controls, for example with a scoped penetration test of your external perimeter and Microsoft 365 or Google Workspace setup.

Next Step: Find Out Which Attacks Would Work Against You

Twenty attack types can look overwhelming, but most real breaches follow a handful of paths: stolen or guessed credentials, an unpatched internet-facing system, a convincing phishing message, then privilege escalation and lateral movement toward ransomware or data theft. Close those paths first, then verify the result from an attacker's point of view.

DeepStrike's penetration testing services include manual web application, network and cloud penetration testing, social engineering assessments and red team engagements, with reports that give reproduction steps, root causes and remediation guidance for every validated finding. If DDoS resilience is a concern, ask about DDoS testing when you contact the team.

About The Author

Mohammed Khalil is a Cybersecurity Architect at DeepStrike, specializing in advanced penetration testing and offensive security operations. With certifications including CISSP, OSCP, and OSWE, he has led numerous red team engagements, focusing on cloud security, application vulnerabilities, and adversary emulation. His work involves dissecting complex attack chains and developing resilient defense strategies for clients in the finance, healthcare, and technology sectors.

Sources and References

background
Let's hack you before real hackers do

Stay secure with DeepStrike penetration testing services. Reach out for a quote or customized technical proposal today

Contact Us