10 Common Cyber Attacks Explained Simply (and How to Defend Against Them)
Cyber attacks come in many forms, but most fall into a handful of familiar types. Knowing how each one works makes it much easier to defend against them. Here are 10 common attacks, explained simply.
Quick Overview
| Attack | What it does | Main defense |
|---|---|---|
| 1. Phishing | Tricks you into giving up data or clicking a bad link | Awareness, MFA, email filtering |
| 2. Ransomware | Encrypts files and demands payment | Backups, patching, segmentation |
| 3. Malware | Malicious software such as viruses, trojans, spyware | Endpoint protection, safe downloads |
| 4. DDoS | Floods a service with traffic to take it offline | Rate limiting, DDoS protection services |
| 5. Man-in-the-middle | Secretly intercepts communication | HTTPS/TLS, VPN, secure Wi-Fi |
| 6. SQL injection | Inserts database commands through input fields | Parameterized queries, WAF |
| 7. Cross-site scripting (XSS) | Injects malicious scripts into web pages | Input validation, output encoding |
| 8. Password attacks | Brute force, credential stuffing with stolen passwords | Unique passwords, MFA, lockouts |
| 9. Social engineering | Manipulates people by phone, text, or in person | Verification procedures, training |
| 10. Zero-day exploit | Attacks a flaw the vendor has not fixed yet | Layered defense, monitoring, quick patching |
The Attacks in More Detail
1. Phishing
Fake emails, texts, or sites that pretend to be trusted. Learn the signs in How to Spot Phishing Emails.
2. Ransomware
Locks your data until you pay. See What Is Ransomware?
3. Malware
An umbrella term: viruses, worms, trojans, spyware, and more. Usually arrives through attachments, cracked software, or fake updates.
4. DDoS (Distributed Denial of Service)
Many devices, often an infected botnet, send traffic at one target until it cannot serve real users. Defenses include rate limiting, upstream filtering, and cloud-based mitigation.
5. Man-in-the-Middle (MITM)
An attacker sits between you and a service, for example on unsafe public Wi-Fi, and reads or changes the traffic. Encryption (HTTPS) and a trusted VPN reduce the risk.
6. SQL Injection
A badly written website passes user input straight into a database query, letting an attacker read or change data. Developers prevent this with parameterized queries.
7. Cross-Site Scripting (XSS)
Malicious script runs in a victim's browser because a site displays untrusted input. Fixed through input validation and output encoding.
8. Password Attacks
Brute force tries many guesses. Credential stuffing tries passwords leaked from one site on others. Unique passwords from a password manager plus MFA stop most of it.
9. Social Engineering
Attackers target people, not computers: a fake "IT support" call, a phone request from a "boss," or someone tailgating into a building. Always verify through a separate channel.
10. Zero-Day Exploits
Attacks on vulnerabilities that have no patch yet. You cannot patch what is unknown, so rely on layers: firewalls with IPS, segmentation, least privilege, and monitoring.
Defense in Depth: The Big Picture
No single control stops everything. Layer them:
- Network: firewalls and segmentation. See What Is a Firewall?
- Identity: MFA and passkeys. See 2FA vs Passkeys
- Devices: patching and endpoint protection.
- Data: encryption and tested backups.
- People: awareness and clear reporting.
- Monitoring: logs and alerts. See What Is Zero Trust?
Frequently Asked Questions
Which attack is most common? Phishing and credential theft are consistently among the most common ways attackers get in.
Is a VPN enough to stay safe? No. A VPN protects traffic in transit but does not stop phishing, malware, or weak passwords.
Conclusion
Most attacks rely on the same few weaknesses: human trust, weak passwords, unpatched software, and flat networks. Fix those, and you stop the majority of attacks. Which attack would you like a deep-dive on next? Tell us in the comments.

Join the conversation