Types of Cybersecurity Attacks: A Common-Types Guide

A cyber attack is any deliberate attempt to break into a computer system or network to steal, change, destroy, or disrupt something. That definition covers a lot of ground — from a single fake email to a months-long campaign by a organised group — so it helps to sort attacks into types. Each type works differently, targets a different weakness, and is stopped by a different defence.

This guide covers the types you will actually meet, in plain language, with one defence per type. The Cybersecurity category has the wider picture, including the ranked list of the threats businesses face most; this article is the taxonomy — what each attack is called and how it works.

Before the list: how attacks actually work

Two things about attacks surprise people who only meet them in headlines. First, most attacks are not targeted. They are automated campaigns that try stolen passwords, send millions of fake emails, and scan websites for outdated software, waiting for someone to be the one who clicks. You do not have to be important to be attacked; you have to be reachable.

Second, real attacks are chained. A phishing email delivers malware; the malware steals a password; the password opens a server; the server is encrypted for ransom. The type names below describe links in a chain, not separate events. That is why the defences repeat: the same few habits — multi-factor authentication, patching, backups, pausing before you click — break the chain at several links at once.

Keep the three things every attack is after in mind: confidentiality (keeping secrets secret), integrity (keeping data unaltered), and availability (keeping systems working). Every type below attacks one or more of those three.

1. Malware

Malware — malicious software — is the umbrella term for any program designed to damage, disrupt, or gain unauthorised access to a system. It includes viruses, worms, trojans, spyware, adware, and keyloggers. Malware is the most common type of cyber attack, mostly because the category is so broad: almost every other attack on this list uses malware at some point.

Malware usually arrives the same way: a download, an email attachment, a malicious link, or a compromised website. Once it runs, what it does depends on its kind — a virus infects files, a worm spreads itself to other machines, spyware watches and reports, a keylogger records keystrokes. The malware vs virus guide explains the distinctions in detail.

Defence: antivirus software with real-time protection, kept updated, plus the habit of downloading only from the vendor’s own site.

2. Phishing and social engineering

Phishing is a message that pretends to come from someone you trust — a bank, a courier, a supplier, a government office, your own IT department — to get you to click a link, enter a password, pay money, or open an attachment. It is a social engineering attack: it targets the person, not the software. It works because it borrows trust and adds urgency — “your account will be closed,” “your parcel is held,” “verify now.”

Phishing remains the most common initial way into a system, because it only needs one person, once, to believe the message. Its targeted cousin, spear phishing, uses personal details about the victim to make the message convincing — a real colleague’s name, a real project, a real invoice number. The spear phishing guide explains how the targeted version works and how to spot it.

Defence: pause before acting on any message that demands urgency, verify through a separate channel (call the person, type the address yourself), and use multi-factor authentication so a stolen password alone is not enough.

3. Ransomware

Ransomware is malware that encrypts a victim’s files and demands payment — usually in cryptocurrency — for the decryption key. The attack usually starts through a phishing email, an unpatched vulnerability, or a misconfigured remote-access service. Modern ransomware groups often steal a copy of the data first, then threaten to publish it as well — so even a victim with good backups faces a second pressure.

Ransomware causes the most financial damage of any common attack type, not because it is the most frequent but because it stops the business entirely: files unreadable, systems down, operations halted. The ransomware mitigation guide covers prevention and recovery in full.

Defence: backups kept separate from the main systems and tested by restoring from them, patching, and multi-factor authentication on remote access.

4. Denial-of-service (DoS and DDoS) attacks

A denial-of-service attack floods a server, service, or network with false requests until real users cannot get through. A distributed denial-of-service (DDoS) attack does the same thing from thousands of hijacked devices — a botnet — at once, which makes it harder to block because the traffic comes from everywhere.

The goal is availability: the website is down, the service is unreachable, the business cannot trade. DDoS attacks are also used as a distraction — while the team is firefighting the flood, a quieter attack runs elsewhere — and as extortion, with a demand to stop the flood.

Defence: for a small business, this is mostly a provider problem — hosting and DNS providers with DDoS protection built in. Your own part is keeping the services you run minimal and patched, so your machines do not become part of someone else’s botnet.

5. Credential attacks

Credential attacks go after passwords directly: guessing them, stealing them, or reusing them. The common forms are brute force (trying many passwords quickly), credential stuffing (trying username-and-password pairs leaked from one breach against other sites, betting people reuse passwords), and password spraying (trying a few common passwords against many accounts, to stay under lockout limits).

These attacks work because password reuse is widespread. One breach anywhere becomes a key that opens many doors. Account takeover is the result: the attacker logs in as the victim, with all the access that account has.

Defence: unique passwords in a password manager, multi-factor authentication on every account that offers it — especially email, because email resets everything else — and checking whether your addresses appear in known breaches.

6. Injection attacks

Injection attacks target web applications by slipping malicious input into a place the application trusts. In a SQL injection, attacker input changes a database query so it reads or alters data it should not touch. In cross-site scripting (XSS), attacker input runs as code in another user’s browser. Both work the same way: the application fails to separate data from instructions, and the attacker’s data becomes an instruction.

These are developer problems more than user problems — the fix is in how the application is built, using parameterised queries and prepared statements, and validating input. But users meet the consequences: accounts compromised through a vulnerable site, data exposed through a breached database. The OWASP Top 10 list of web application threats is the standard reference for these attacks, and any web developer maintaining a site should know it.

Defence (for site owners): keep web software updated, use prepared statements, and validate input. For users: the defence is the same as for credential attacks — unique passwords and multi-factor authentication limit what a breached site can cost you.

7. Man-in-the-middle (on-path) attacks

A man-in-the-middle attack — now usually called an on-path attack — sits between you and the service you think you are talking to, intercepting or altering the traffic. On an unsecured public Wi-Fi network, for example, an attacker can watch unencrypted traffic or present a fake login page. DNS attacks work similarly, redirecting you to a lookalike site.

The defence that ended most of this attack’s power is encryption: HTTPS everywhere means the traffic between you and a genuine site cannot be read or altered in transit, even on hostile Wi-Fi. The attack now survives mostly where encryption is absent or where the victim can be tricked into ignoring a certificate warning.

Defence: never ignore a browser certificate warning, avoid entering credentials on open Wi-Fi without a VPN, and check for the padlock — more precisely, check the address is the real one.

8. Insider threats

Not every attack comes from outside. An insider threat is a current or former employee, contractor, or partner who misuses legitimate access — stealing data before leaving, sabotaging systems after a dispute, or simply being careless with credentials and access. The damage is often worse than an external attack because the insider already has the keys.

Insiders are hard to defend against with technology alone, because their access is real. The defences are organisational: access on a need-to-know basis, removing access the day someone leaves (not the week after), logging who accessed what, and treating shared and former-employee accounts as a standing risk.

Defence: least-privilege access, prompt deprovisioning, and audit logging of sensitive data access.

9. Supply-chain attacks

A supply-chain attack compromises a trusted supplier, tool, or update in order to reach its customers. Instead of attacking a thousand businesses one by one, the attacker poisons one software update, one library, or one managed-service provider, and the victims install the compromise themselves, trusting the source.

These attacks are rare but far-reaching, and they are hard for a small business to prevent directly — you cannot audit every update your vendors ship. What you can do is limit the blast radius: segment your network so a compromised tool cannot reach everything, keep backups you control, and pay attention when a trusted vendor discloses an incident rather than assuming it does not affect you.

Defence: network segmentation, vendor incident awareness, and backups independent of any single provider.

10. Zero-day exploits

A zero-day is a vulnerability in software or hardware that is unknown to the vendor — and therefore has no patch — when attackers start using it. The name comes from the defenders having had zero days to fix it. Zero-days are the most feared attack type and also the rarest for ordinary people and small businesses, because they are expensive to find and are usually spent on high-value targets.

You cannot patch a zero-day. What you can do is shrink the window: keep everything else patched so the attacker cannot fall back on known flaws, run software from vendors with a track record of fast fixes, and layer defences so a single unpatched flaw is not a straight line to your data.

Defence: prompt patching of everything known, and defence in depth — no single flaw should be enough.

The defences that cover most of the list

Read the defences above again and notice the repetition. Multi-factor authentication appears in five of them. Patching appears in four. Backups appear in three. Unique passwords and pausing before you click appear throughout. That repetition is the point: most attacks are stopped by the same basics, applied consistently.

For a small business, the priority order is simple: turn on multi-factor authentication everywhere it is offered, starting with email; use a password manager so every password is unique; patch promptly, including network hardware that is easy to forget; keep backups away from the main systems and test them; and train staff to verify before acting on urgent messages. The top cybersecurity threats guide ranks the business risks in order if you want to prioritise further, and the vulnerabilities guide explains the weaknesses these attacks exploit.

No list of attack types makes a business safe by itself. But knowing which attack you are looking at — and which defence actually stops it — is the difference between buying the right protection and buying the feeling of protection.

What is the most common type of cyber attack?

Phishing. Most successful attacks on small businesses start with a fake email, SMS, or call that tricks someone into giving away a password, a one-time code, or a payment. It is the most common initial way in because it only needs one person to believe the message once.

What is the difference between a cyber attack and a data breach?

An attack is the attempt; a breach is the result. A phishing email is an attack. If someone clicks it and customer data is stolen, that is a breach. Many attacks fail, and many breaches are discovered long after the attack that caused them.

Are small businesses actually targeted by cyber attacks?

Most attacks on small businesses are not targeted at them specifically. They are automated campaigns that try stolen passwords, send millions of fake emails, and scan for outdated software. A small business is attacked because it is reachable, not because it is important — which is also why the basic defences work so well.

What is the difference between DoS and DDoS?

A DoS attack floods a target from one source; a DDoS attack floods it from many sources at once, usually a botnet of hijacked devices. The distributed version is harder to block because the traffic comes from thousands of addresses, and it is the form businesses actually meet.

What is a zero-day attack?

A zero-day exploits a software vulnerability that the vendor does not yet know about, so no patch exists. They are rare and expensive, usually aimed at high-value targets. For most businesses the practical response is to patch everything known promptly and layer defences so one flaw is never enough.

Similar Posts