Attack vector

On this page 7

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.

TermQuestion it answersExample
Attack vectorHow does the attacker get inPhishing email with a malicious link
Attack surfaceWhere could anyone get inAll internet-facing services and users
VulnerabilityWhat weakness is presentUnpatched VPN appliance
ExploitWhat code or technique abuses itScript that triggers the VPN flaw
Threat actorWho is attackingRansomware affiliate group
Attack vector and closely related terms

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.

VectorFamilyPrimary control
Phishing and spear phishingHumanAwareness training and email filtering
Stolen or reused credentialsIdentityMulti-factor authentication
Unpatched public-facing serviceTechnicalPatch management and exposure scanning
Misconfigured cloud storageConfigurationPosture management and policy checks
Compromised supplier or updateSupply chainVendor review and signed builds
Malicious insiderHumanLeast privilege and activity monitoring
Removable mediaPhysicalDevice control and port restrictions
Frequent attack vectors and their primary controls

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.

ValueMeaningExample
Network (N)Exploitable remotely across routed networksFlaw in a public web server
Adjacent (A)Requires the same local segment or radio rangeBluetooth or Wi-Fi protocol bug
Local (L)Requires local access or user interaction with a fileMalicious document opened by a user
Physical (P)Requires touching the deviceAttack through a debug port
CVSS attack vector metric values

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.

SituationRecommended approachReason
Service not needed by the businessRemove the vector entirelyEliminates the risk at no ongoing cost
Service needed but widely exposedRestrict access behind VPN or zero trust gatewayShrinks the reachable population
Vector relies on human judgmentCombine training with technical filteringNeither control is reliable alone
Vector cannot be closed quicklyAdd monitoring and compensating controlsDetects abuse while a fix is planned
Choosing a response to an identified vector

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.