Cyberattack

On this page 7

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.

StageAttacker activityDefensive opportunity
ReconnaissanceScanning, collecting staff names and exposed servicesReduce the attack surface
Initial accessPhishing, exploiting a vulnerability, stolen credentialsPatching, MFA, email filtering
Execution and persistenceRunning malware, creating scheduled tasksEndpoint detection and application control
Privilege escalationExploiting misconfigurations to gain admin rightsLeast privilege and hardening
Lateral movementReusing credentials to reach other hostsNetwork segmentation and monitoring
Actions on objectivesExfiltration, encryption, sabotageData loss prevention, backups, response
Typical stages of a cyberattack

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.

TypeMechanismProperty mainly affected
Phishing and social engineeringDeceiving people into revealing data or running codeConfidentiality
MalwareMalicious software such as trojans, worms and spywareAll three
RansomwareEncrypting or stealing data to demand paymentAvailability and confidentiality
Denial of service (DoS, DDoS)Overwhelming a service with traffic or requestsAvailability
Injection attacksInserting malicious input such as SQL or commandsIntegrity and confidentiality
Man-in-the-middleIntercepting or altering communication in transitConfidentiality and integrity
Supply chain attacksCompromising a trusted vendor, update or libraryAll three
Common cyberattack types and their primary impact

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.

ActorTypical motivationCapability and persistence
Cybercriminal groupsFinancial gainModerate to high, often opportunistic
State-sponsored groupsEspionage, sabotage, influenceVery high, long-term campaigns
HacktivistsPolitical or social messagingLow to moderate, publicity-driven
Malicious insidersRevenge, money, ideologyVaries, aided by legitimate access
Unskilled opportunistsCuriosity or reputationLow, rely on public tools
Threat actor categories

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.

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 categoryPurposeExamples
PreventiveStop the attack before impactMFA, patching, least privilege, zero trust
DetectiveIdentify an attack in progressSIEM, EDR, intrusion detection, log review
CorrectiveLimit damage and restore serviceIncident response, isolated backups
Deterrent and awarenessReduce the human attack surfaceSecurity awareness training, policies
Control categories and examples

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.