A cyberattack is a deliberate, malicious attempt by a person or group to gain unauthorized access to, disrupt, damage or steal from computer systems, networks, devices or data. In cybersecurity, an attack is defined by intent and action: it targets at least one property of the CIA triad, meaning confidentiality, integrity or availability.
The term covers a wide range of operations, from a single phishing email to a multi-month intrusion by a state-sponsored group. Understanding cyberattacks among the security fundamentals means knowing who attacks, how attacks progress and which controls interrupt them, because defense is built around those three questions.
How a cyberattack unfolds
Most cyberattacks follow a recognizable sequence of stages, even when attackers skip or repeat some of them. The Lockheed Martin Cyber Kill Chain and the more detailed MITRE ATT&CK framework describe this progression, from initial reconnaissance to the final objective.
The following table maps the common stages to typical attacker activity and to the defensive opportunity at each step.
| Stage | Attacker activity | Defensive opportunity |
|---|---|---|
| Reconnaissance | Scanning, collecting staff names and exposed services | Reduce the attack surface |
| Initial access | Phishing, exploiting a vulnerability, stolen credentials | Patching, MFA, email filtering |
| Execution and persistence | Running malware, creating scheduled tasks | Endpoint detection and application control |
| Privilege escalation | Exploiting misconfigurations to gain admin rights | Least privilege and hardening |
| Lateral movement | Reusing credentials to reach other hosts | Network segmentation and monitoring |
| Actions on objectives | Exfiltration, encryption, sabotage | Data loss prevention, backups, response |
The sequence matters because each stage is a chance to detect and stop the attack. An intrusion stopped at initial access costs far less than one discovered after data has left the network, which is the core logic behind defense in depth.
Main types of cyberattacks
Cyberattacks are usually classified by technique and by the security property they target. A single campaign often combines several types, for example phishing for initial access followed by ransomware for impact.
| Type | Mechanism | Property mainly affected |
|---|---|---|
| Phishing and social engineering | Deceiving people into revealing data or running code | Confidentiality |
| Malware | Malicious software such as trojans, worms and spyware | All three |
| Ransomware | Encrypting or stealing data to demand payment | Availability and confidentiality |
| Denial of service (DoS, DDoS) | Overwhelming a service with traffic or requests | Availability |
| Injection attacks | Inserting malicious input such as SQL or commands | Integrity and confidentiality |
| Man-in-the-middle | Intercepting or altering communication in transit | Confidentiality and integrity |
| Supply chain attacks | Compromising a trusted vendor, update or library | All three |
Attacks can also be described by delivery path, the attack vector, such as email, web applications, remote access services, removable media or insider access. Classification by vector helps decide which controls to strengthen first.
Threat actors and their motivations
Every cyberattack has a threat actor behind it, and the actor’s motivation largely determines persistence, budget and choice of targets. Assessing who is likely to attack is a central step in building a threat model.
| Actor | Typical motivation | Capability and persistence |
|---|---|---|
| Cybercriminal groups | Financial gain | Moderate to high, often opportunistic |
| State-sponsored groups | Espionage, sabotage, influence | Very high, long-term campaigns |
| Hacktivists | Political or social messaging | Low to moderate, publicity-driven |
| Malicious insiders | Revenge, money, ideology | Varies, aided by legitimate access |
| Unskilled opportunists | Curiosity or reputation | Low, rely on public tools |
Most organizations face opportunistic, financially motivated attacks far more often than targeted espionage. However, sectors such as defense, energy and government must assume that well-resourced adversaries will try repeatedly and adapt to defenses.
Cyberattack versus related security terms
The word cyberattack is often used loosely, but security practice separates it from several related concepts. A vulnerability is a weakness, an exploit is the method that uses the weakness, and a cyberattack is the act of using it against a target.
- Threat is the potential for harm; an attack is a threat that has been acted upon.
- Security incident is any event that compromises or could compromise security; not every incident is an attack, since misconfigurations and accidents also count.
- Data breach is a confirmed disclosure of protected data, which is one possible outcome of a successful attack.
- Cyber risk combines the likelihood of an attack with its expected business impact.
Precise terminology matters in incident reporting and regulation. Frameworks such as NIS2 in the European Union and breach notification laws in many jurisdictions attach obligations to incidents and breaches, not to the mere existence of a threat.
Defending against cyberattacks
Effective defense combines preventive, detective and corrective controls, because no single control stops every attack. The NIST Cybersecurity Framework organizes this work into the functions Govern, Identify, Protect, Detect, Respond and Recover.
| Control category | Purpose | Examples |
|---|---|---|
| Preventive | Stop the attack before impact | MFA, patching, least privilege, zero trust |
| Detective | Identify an attack in progress | SIEM, EDR, intrusion detection, log review |
| Corrective | Limit damage and restore service | Incident response, isolated backups |
| Deterrent and awareness | Reduce the human attack surface | Security awareness training, policies |
A common mistake is investing heavily in prevention while neglecting detection and recovery. Experienced defenders assume breach: they expect some attacks to succeed and focus on short detection times and tested, offline backups, which decide whether an attack becomes a minor incident or a crisis.
Understanding it simply
A cyberattack is a break-in that happens through computers instead of through a door. Someone tries on purpose to get into systems that do not belong to them. They may want to steal information, change it, or stop it from working.
Some attackers trick people with fake messages. Others look for weak spots in software, much like testing windows for one left unlocked. The key idea is that an attack is always intentional and aims to cause harm, which is why protection needs both strong locks and an alarm.
Applied in practice
A mid-sized logistics company with about 400 employees receives a carefully written email that appears to come from a shipping partner. An accounts clerk opens the attached invoice, which installs a remote access trojan. Over the next nine days, the attackers harvest credentials, gain domain administrator rights and map the file servers.
On a Friday night they exfiltrate customer records and launch ransomware across 120 servers. The endpoint detection system flags unusual encryption activity within minutes, and the on-call team isolates the affected network segments. Because the company keeps immutable offline backups, core operations resume within three days without paying the ransom.
The post-incident review identifies the missing controls: phishing-resistant MFA, tighter administrative privileges and alerting on new domain admin accounts. Applying them shortens the expected attack path considerably for future attempts.