3.2.5. Browser, Endpoint, Device, and Physical Vectors
💡 First Principle: Every place where code runs or a person can touch hardware is a way in. The browser is the most-used application on any endpoint, endpoints ship with tools an attacker can borrow, and a building's locks and badges are a vector like any open port — one you attack in person.
Browser-based vectors:
- Extensions run with broad permissions (often "read and change data on all websites"), so a malicious extension — or a legitimate one sold to a new owner who pushes a malicious update — can read pages, steal credentials, and inject content. Manage them centrally: allow only approved extensions and block high-risk permissions through browser policy.
- JavaScript runs code from every site a user visits. Malicious or compromised sites use it for drive-by downloads, in-browser cryptomining, skimming payment forms (injected scripts on checkout pages), and fake-CAPTCHA lures.
- Password managers concentrate every credential in one vault. A weak master password, a malicious extension reading autofilled fields, or a breach of the vendor's cloud vault becomes a single point of compromise. They are still far safer than password reuse — protect the vault with a strong master password and MFA.
- Cookies store state, including authentication. A stolen session cookie — taken by XSS, infostealer malware, or interception — lets an attacker be the user without knowing the password, which is why authentication cookies should be set Secure, HttpOnly, and SameSite.
- Session tokens are the bearer credentials that keep a user signed in after authentication (often carried in cookies or headers). Replaying a stolen token (session hijacking) skips authentication entirely. Short lifetimes, binding tokens to the device, and revoking sessions after an incident limit the damage.
Endpoint-based vectors:
- Workstations and servers — workstations receive phishing, web browsing, and removable media; servers expose services and hold the data, so they are the usual destination of lateral movement.
- Mobile devices and tablets — leave the building, join untrusted Wi-Fi, mix personal and corporate apps, and get lost or stolen. Tablets used as kiosks or shared point-of-sale devices are often managed less tightly than phones.
- Trusted devices — endpoints the organization treats as trusted (managed and compliant, or "remember this device" for MFA) get lighter scrutiny, so compromising one inherits that trust. Re-evaluate device trust continuously instead of granting it once.
- Built-in tools and living-off-the-land (LotL) tools — PowerShell, WMI, certutil, PsExec, scheduled tasks, and remote-management agents are already installed and signed. Attackers use them so there is no malware file to detect and their activity blends in with administration (see the fileless indicators in section 3.4.1). Restrict who can run them, enable PowerShell logging, and watch for unusual parent processes and command lines.
External media-based vectors — a malicious USB device may carry infected files, or may not be storage at all: a keystroke-injection ("BadUSB") device identifies itself as a keyboard and types commands at machine speed the moment it is plugged in, which file-scanning antivirus never sees. Disable autorun, block unapproved USB device classes with device control, and treat found drives as hostile (the baiting attack in section 3.2.4).
Internet of Things (IoT)-based vectors — cameras, sensors, and printers are networked computers with weak defaults, rare patching, and no endpoint agent. IP cameras and video recorders made up much of the Mirai botnet. Printers keep copies of scanned and printed documents, often store directory or email credentials for scan-to-email, and are rarely monitored. Put IoT devices on their own segment, change default credentials, and keep firmware current.
Operational technology (OT)-based vectors — the industrial control systems, PLCs, and SCADA networks that run physical processes (section 4.1.3). They use legacy protocols with no authentication, may run for decades without patches, and are increasingly connected to IT networks for remote monitoring. That IT/OT bridge, or a vendor's remote-support link, is the usual way in, and the impact is physical: outages, damaged equipment, and safety risk.
Physical-based vectors:
- Lock and key — mechanical locks can be picked, bypassed, or opened with copied keys, and keys don't record who used them or expire when someone leaves.
- Access vestibule — a two-door entry meant to admit one person at a time. A door propped open, a disabled interlock, or a guard who waves people through turns it back into an ordinary door.
- Access passes — badges and proximity cards can be lost, lent, stolen, or cloned (section 3.4.2), and many older proximity cards transmit an unencrypted ID that can be read from a short distance.
⚠️ Exam Trap: A stolen session cookie or token defeats MFA, because MFA happened before the token was issued — the attacker never authenticates at all. If a scenario says the password was reset and MFA is enforced but the attacker is still in, think token theft: revoke the user's sessions and tokens.