An attack vector is the specific path or method by which a threat actor gains access to a system, network or person in order to deliver a malicious payload or exploit a weakness. Cybersecurity practitioners use the term to describe *how* an attack arrives, for example a phishing email, an exposed remote desktop service or a compromised software update, as distinct from *what* is attacked and *why*.
Within security fundamentals, the attack vector sits between two neighboring concepts. The attack surface is the sum of all possible entry points, while a vulnerability is a weakness at one of those points. The attack vector is the route that connects an adversary to that weakness, and defending against it means closing, narrowing or monitoring that route.
How an attack vector turns access into compromise
An attack vector describes the delivery mechanism of an intrusion. Most intrusions combine three elements: a channel that reaches the target, a weakness that the channel can touch, and a payload or action that achieves the attacker’s goal. A malicious attachment, for instance, uses email as the channel, a document parser flaw or user trust as the weakness, and a downloader as the payload.
Vectors are not limited to software. Human, physical and supply chain vectors are equally real: a convincing phone call to a help desk, a USB drive left in a parking lot or a tampered dependency in a build pipeline. Mature threat models therefore list vectors across people, process and technology, not only network ports.
The terms in this area are often used loosely, so the table separates them by the question each one answers.
| Term | Question it answers | Example |
|---|---|---|
| Attack vector | How does the attacker get in | Phishing email with a malicious link |
| Attack surface | Where could anyone get in | All internet-facing services and users |
| Vulnerability | What weakness is present | Unpatched VPN appliance |
| Exploit | What code or technique abuses it | Script that triggers the VPN flaw |
| Threat actor | Who is attacking | Ransomware affiliate group |
Common types of attack vectors
Attack vectors fall into a small number of recurring families, and incident reports consistently show that a handful of them account for most initial access. Credential abuse, phishing and exploitation of public-facing applications dominate across industries, although their relative ranking shifts from year to year.
The table groups the most frequent vectors by family and names the control that addresses each one most directly.
| Vector | Family | Primary control |
|---|---|---|
| Phishing and spear phishing | Human | Awareness training and email filtering |
| Stolen or reused credentials | Identity | Multi-factor authentication |
| Unpatched public-facing service | Technical | Patch management and exposure scanning |
| Misconfigured cloud storage | Configuration | Posture management and policy checks |
| Compromised supplier or update | Supply chain | Vendor review and signed builds |
| Malicious insider | Human | Least privilege and activity monitoring |
| Removable media | Physical | Device control and port restrictions |
Some frameworks distinguish an initial access vector from vectors used later in the intrusion, such as lateral movement through remote administration tools. The MITRE ATT&CK framework catalogs these stages as separate tactics, which helps defenders map controls to each phase of an attack.
Attack vector in vulnerability scoring
In the Common Vulnerability Scoring System (CVSS), Attack Vector is a formal base metric that describes how remote the attacker can be when exploiting a vulnerability. The more remote the vector, the larger the pool of potential attackers and the higher the resulting score.
The four CVSS values below are defined identically in versions 3.1 and 4.0 of the specification.
| Value | Meaning | Example |
|---|---|---|
| Network (N) | Exploitable remotely across routed networks | Flaw in a public web server |
| Adjacent (A) | Requires the same local segment or radio range | Bluetooth or Wi-Fi protocol bug |
| Local (L) | Requires local access or user interaction with a file | Malicious document opened by a user |
| Physical (P) | Requires touching the device | Attack through a debug port |
This metric matters for prioritization. A vulnerability with a Network attack vector and no required privileges deserves faster patching than an otherwise similar flaw that requires physical access, because the number of people who can reach it is orders of magnitude larger.
Reducing exposure to attack vectors
Defending against attack vectors follows a consistent pattern: remove unnecessary vectors, harden the remaining ones and detect abuse quickly. Removing a vector, such as closing an unused remote access port, is the most reliable control because it eliminates a whole class of attacks rather than mitigating one.
- Inventory exposure first: an organization cannot defend vectors it does not know exist, including shadow IT services.
- Apply least privilege: limits what an attacker can do after any vector succeeds.
- Layer controls: defense in depth assumes that some vectors will eventually be used successfully.
- Monitor the busiest vectors: email, identity and internet-facing services deserve the most logging and alerting.
The decision table connects common situations with a recommended approach.
| Situation | Recommended approach | Reason |
|---|---|---|
| Service not needed by the business | Remove the vector entirely | Eliminates the risk at no ongoing cost |
| Service needed but widely exposed | Restrict access behind VPN or zero trust gateway | Shrinks the reachable population |
| Vector relies on human judgment | Combine training with technical filtering | Neither control is reliable alone |
| Vector cannot be closed quickly | Add monitoring and compensating controls | Detects abuse while a fix is planned |
Common mistakes when assessing attack vectors
A frequent mistake is to equate the attack vector with the vulnerability. Patching one flaw closes one weakness, but the vector, for example an exposed management interface, remains available for the next flaw. Durable defense addresses the vector itself.
Another error is to focus only on technical vectors while ignoring social engineering and third-party access, which frequently provide the easiest entry. Organizations also tend to underestimate legitimate tools used as vectors, such as remote monitoring software or cloud administration consoles, because traffic through them looks normal.
The idea in brief
An attack vector is the way an attacker gets in. If a house is the system, the attack vector might be an unlocked window, a copied key or a stranger who talks his way past the front door.
Security teams list these routes so they can lock, remove or watch each one. The fewer open routes there are, and the better they are watched, the harder it becomes for anyone to break in unnoticed.
A practical scenario
A regional logistics company with about 400 employees reviews how attackers could reach its systems. The security team maps four main vectors: email to all staff, a remote desktop gateway used by contractors, a customer portal on the internet and a file transfer service shared with suppliers.
The review finds that the remote desktop gateway accepts password-only logins from any country and that several contractor accounts have reused passwords. The team moves the gateway behind a zero trust access broker, enforces phishing-resistant multi-factor authentication and limits contractor sessions to working hours.
Three months later, the authentication logs show thousands of blocked password-spraying attempts against the old gateway address, none of which reached an internal system. By closing the most exposed vector rather than chasing individual flaws, the company removed its most likely ransomware entry point.