← all systems · see it in The System
Attack surface
The sum of the points where an unauthorised user can try to enter data, extract data or control a device or software (src:wp:attack-surface); NIST: the set of points on the boundary of a system where an attacker can try to enter, cause an effect or extract data (as quoted in src:harry-2025-county); formalised by Howard, Pincus and Wing as targets and enablers, channels and protocols, and access rights (src:howard-2005-rasq), and by Manadhata and Wing as entry and exit points, channels and untrusted data items weighted by damage potential against effort (src:manadhata-2008-thesis). Walked from the defender's and researcher's side: what it is made of, how it is measured, what studies found across versions, how organisations inventory, reduce and shift it, how the idea was carried to people, supply chains and clouds, and who pays to shrink it. Every surface is relative to a stated environment and threat: a local and a remote surface for different threats (src:howard-2005-rasq), entry points defined with respect to the environment Es (src:manadhata-2008-thesis); the numbers in measures are each for the one setting their source measured.
Properties published scienceour proposal
Sourced fields, and our own readings.
| born at | 2003 (Howard's MSDN article and RASQ) |
| born precision | year |
| boundary | Inside: the entry and exit points, channels and untrusted data items by which outside input reaches a system, and the resources and rights they reach (L1 to L4: the surface itself, a property of one system in one configuration, defined against a given environment and threat). L5 to L7 are the practice that runs on the surface: the measurers and the defender organisations that count, reduce and shift it, and the economics they work in (to be walked as sys:attack-surface-management). The surface does nothing itself; it is acted on from both sides, by attackers and by defenders. Outside: the vulnerabilities themselves (their own system), the attackers, the organisations that run the systems, and the markets and insurers that set what exposure is worth. |
| nested level | A property and practice of computer security: part of a system's trust structure (where its trust boundaries are crossed), measured and managed inside organisations. One system has as many surfaces as environments it is measured against (local and remote; Manadhata's environment Es). |
| scale | technological |
Measures (43) published science
| characteristic clock: time from disclosure to attacker scans of exposed hosts | mere hours |
| characteristic clock: drift of an unmanaged surface (Red Hat machine re-measured) | 3 months |
| RASQ attack vectors (Howard's original set) | 17 (20 with Pincus and Wing's 3 enablers) vectors |
| RASQ, Windows NT 4.0 default vs lockdown | 598.3 -> 395.4 RASQ |
| RASQ, Windows 2000 default vs lockdown | 342.2 -> 305.1 RASQ |
| Linux attack classes (Manadhata and Wing 2004) | 14 identified, 11 counted classes |
| open TCP/UDP sockets, Debian vs Red Hat default vs CMU facilities vs used | 15 / 12 / 40 / 41 sockets |
| weak file permissions, Debian vs Red Hat default vs CMU facilities vs used | 7 / 7 / 21 / 37 files |
| IMAP daemons' attack surface triple (methods, channels, data) | Courier <522.00, 2.25, 72.13>; Cyrus <383.60, 3.25, 66.50> damage potential-effort sums |
| FTP daemons' attack surface triple (methods, channels, data) | ProFTPD <312.99, 1.00, 18.90>; Wu-FTPD <392.33, 1.00, 17.60> damage potential-effort sums |
| SAP service attack surface measurement (method dimension) by version | S1 4649.00; S2 4687.00; S3 5298.44 damage potential-effort sum |
| resources named in Microsoft security bulletin observations | methods 202, channels 170, data 108 of 202 observations |
| relevant patches that reduced the attack surface measurement | Firefox 2.0: 67%; ProFTP: 70%; typed-only: 76.9% percent of relevant patches |
| Firefox files on the approximated attack surface and their share of vulnerabilities | 8.4% of files, 72.1% of vulnerabilities percent |
| Windows 8 binaries on the approximated attack surface and their share of vulnerabilities | 48.4% of binaries, 94.8% of vulnerabilities percent |
| code-level attack surface concepts covered by prior literature | 8 of 119 (6.7%) concepts |
| Linux kernel attack surface reduction by compile-time tailoring | about 50 to 85 percent |
| compiled kernel source files, distribution vs tailored (LAMP) | 8,670 -> 1,121 (87% fewer) files |
| web application code removed by debloating | 33.1% file-level, 46.8% function-level; up to 60% of known CVEs removed percent |
| code growth in latest web application versions | +82% phpMyAdmin, +99% MediaWiki, +171% Magento percent LLOC |
| share of remaining functional gadgets introduced by debloating (smallest observed) | 35 percent |
| Android apps with a permission gap | 94 of 742 apps |
| overprivileged Android applications | about one-third of 940 apps |
| internet-facing devices across US county governments | 42,735 devices, 51,487 open ports, 82 services, 3,095 counties |
| county CVEs in CISA's KEV catalogue | 6 of 852 (0.7%) CVEs |
| counties exposing remote-access services (most states) | more than 50% percent of counties |
| incident forecast from outside-in features | 90% true positive, 10% false positive rates |
| normalised importance of mismanagement features in incident forecasting | 0.3229 importance |
| victim vs non-victim classification from outside-in configuration | 0.73 ± 0.06 accuracy, 0.25 false positive rate |
| exploitable dangling DNS records | 467 in 277 Alexa top-10,000 domains and 52 edu zones records |
| implicit trust per average npm package install | 79 packages, 39 maintainers count |
| co-location attack success vs secure reference placement | 10x higher success, up to $114 cheaper ratio |
| Gordon-Loeb bound on optimal security investment | about 37% (1/e) of expected loss, for the forms studied share |
| works using the term attack surface (systematic review) | 644 works |
| characteristic clock: disclosure to first exploit attempts (Heartbleed) | less than 24 hours |
| characteristic clock: defenders' patching plateau (Heartbleed) | about 2 weeks |
| Heartbleed: HTTPS sites in the Alexa Top 1 Million still vulnerable almost two months after disclosure | 3 percent |
| Heartbleed: Alexa Top 100 sites unpatched after 24 hours | 5 sites |
| Heartbleed: increase in patching by notified operators | 47 percent |
| works using the phrase without defining or citing it (systematic review) | 71 percent of 644 works |
| themes of attack surface definitions (systematic review) | 6 (Methods, Adversaries, Flows, Features, Barriers, Reachable Vulnerabilities) themes |
| misconfigured Amazon S3 buckets (June 2018 subset) | 11.01% public, 8.46% readable, 2.29% writable percent of buckets |
| devices with vulnerable speculative execution (Spectre) | billions (Intel, AMD, ARM processors) devices |
Open contentions (6) open contention
Where sources or readings disagree. Both stay on the map.
- C-1354 How much should an organisation spend on protecting information?
booked: The map records the classic result, under about 37% of the expected loss, for the cases its model covers, and keeps the counterexamples showing it can be more alongside.
the other reading: other forms such as linear extend optimal investment up to the full expected loss (Willemson, Hausken, Baryshnikov, as reported by Farrow and Szanton) - C-4211 What exactly is an attack surface: points on a boundary, reachable actions, or the code that handles untrusted input?
booked: The map keeps both readings side by side and rules on neither.
the other reading: a single definition should win; Theisen et al. 2018 found 644 works with a range of attributes (as reported by Harry et al. 2025); the surface is code-level (entry points, targets, mechanisms: Moshtari 2022) rather than system- or organisation-level; the 2018 review's six themes (Methods, Adversaries, Flows, Features, Barriers, Reachable Vulnerabilities); it treats Howard et al.'s definition as canonical while recommending a domain-fitted theme; 71% of works define nothing - C-4245 Does cyber insurance make companies shrink their attack surface?
booked: The map keeps both readings side by side and rules on neither.
the other reading: prediction enables cyber insurance that introduces monetary incentives for better security (Liu et al. 2015); external metrics invite Goodhart's law (Woods and Moore) - C-4257 Is constantly changing a system's layout a form of deception, or only of hiding?
booked: The map keeps both readings side by side and rules on neither.
the other reading: several surveys treat deception techniques as a subset of MTD (Cho et al. reporting refs 22, 94, 113, 157), which would put part of it on Deception - C-4258 Does constantly changing a system's layout really slow attackers down?
booked: The map keeps both readings side by side and rules on neither.
the other reading: the benefits are often much less than expected and depend on the attacker's strategy (brute force, probing, incremental attacks) (Evans et al. 2011) - C-4280 Is a smaller attack surface really a safer one?
booked: The map keeps both readings side by side and rules on neither.
the other reading: size and security part ways: summed counts do not type check (Howard); weights flip rankings (Manadhata); debloating adds gadgets (Brown and Pande); CVE density does not track exploitation (Harry); reduction does not limit damage once a flaw is found (Wikipedia)
Cross-scale patterns seen here (16) our proposal
Shapes that recur when the same kind of problem is solved at different scales, and how each shows in Attack surface. Each links to every other system that shows it.
- same role, different builds (structural)
The job 'a way in from outside' is done by sockets, files, web renderers, accounts, system calls, package installs, shared cloud hardware, stale DNS names and people's judgement: ten channel kinds, one role. - same shape, opposite sign (structural)
One internet-wide scan, two signs: the passive reconnaissance that lets researchers and insurers measure a county's surface is the attacker's reconnaissance of the same hosts within hours (Harry et al. 2025). The same mechanism (a query to Shodan or Censys over the same records), used to defend or t - templating (structural)
One reused module, one shared surface: a library or copied code fragment carries the same weakness into seemingly unrelated programs (Heartbleed in OpenSSL; CASFinder's common attack surface), and the same 79 packages enter every average npm install. - trade one property for another (structural)
Function bought with exposure: features on by default satisfy users and enlarge the surface (Kurmus); hundreds of sockets opened at boot buy responsiveness and cost attackability (Howard's dial); MTD's interval trades attacker time against wasted defence (Cho); tailoring trades generality for 50-85% - Umwelt: each system carves its own slice of one shared medium (structural)
Each measurer sees its own slice of the same surface: crash traces see code reached by failures, OSINT sees only what faces outward ('seen from outside the organization'), bulletins see what was reported, Howard's vectors see what Windows exposes. The same system yields different surfaces. - who opens the door (structural)
Every entry point is a port opened from inside ahead of time: a socket on which a service listens, a renderer enabled for a zone, an account enabled, a dependency installed, a DNS record left pointing out. The surface is the set of doors the system's own setup opened; reduction closes them from insi - namespace completeness (the map predicts its gaps) (partial)
Partial: the grounded-theory map of entry points, targets and mechanisms showed the literature covered only 8 of 119 code-level concepts (6.7%), naming the gaps; attack classes induce types whose empty leaves say what was not yet counted. The gaps are named, not predicted with properties. - nested ladder (partial)
Partial: Manadhata's 'larger than' is a partial order: A's surface is larger only if each of its sets contains B's and one strictly; comparisons are made rung by rung (methods, channels, data), not summed. - red-queen (partial)
MTD's premise: perfect security is impossible, so the defender keeps moving the surface to stay ahead of reconnaissance; the attacker learns from accumulated intelligence (Peng et al. in Cho). Both moving; no stalemate shown in numbers. Evans et al. 2011 find the defender's gain often much smaller t - The Payment to Entropy (partial)
Signal form, partial: each hand-off in measurement loses what matters. CVE density says little of exploitation (six of 852 county CVEs in KEV); summing vectors of different units 'does not type check'; gadget counts hide what gadgets can do. Read across a chain of proxies, each stands further from t - the whole sets the local reference (partial)
Relative measurement: a system's surface is read only against another version under the same environment and threat model ('do not compare apples to oranges'); the environment fixes the frame each count is read in. - barrier-gates-complexity (surface)
Surface: least privilege and isolation (VPC) let systems keep features while limiting reach; no case shows complexity built only behind the barrier. - borrowed-then-held (surface)
Surface: the organisation's view of its own surface is borrowed from third-party scanners (Shodan, Censys) that scan the whole internet; the held phase (its own inventory) is the remedy proposed, not shown. - causal ceiling (surface)
Surface: from outside one cannot see inside ('seen from outside the organization'); CVE records sample only reported flaws. Practical limits, the dark twin's form: not a structural ceiling. - lightning (surface)
Surface: a disclosure is a discharge: within hours scans sweep exposed hosts (Harry); Code Red and Nimda through IIS users did not know they ran. Booked as surface: no measured before and after of the system's state is given. - The carry (surface)
The wait face: an MTD interval sets how long the attacker's map stays good; too long and the attacker finishes scanning and gets in, too short and the defence wastes itself (Cho et al. 2020). No number given. Measured long wait on the defender's side: Heartbleed patching plateaued after about two we
Valence: what it trades, and with whom (16) published science
Each exchange with a neighbour, read from both sides: who gains, who pays, and what carries it.
- Weird machine via sys:software · Attack surface loss
- Human (Homo sapiens) via sys:sensory-environment · Attack surface mixed
- Operating system via sys:operating-system · Attack surface loss
- Insurance via sys:market · Attack surface mixed
- Open-source software via sys:software-supply-chain · Attack surface mixed
- Access control via sys:digital-identity · Attack surface gain
- Threat actor via sys:internet · Attack surface loss
- Organization via sys:human-society · Attack surface mixed
- Cloud computing via sys:cloud-computing · Attack surface loss
- Software vulnerability via sys:software · Attack surface loss
- Secure software development via sys:software · Attack surface loss
- Vulnerability management via sys:organization · Attack surface loss
- Social engineering via sys:human · Attack surface loss
- Parser via sys:written-record · Attack surface loss
- Trust boundary via sys:information-system · Attack surface even
- Supply chain attack via sys:software-supply-chain · Attack surface loss
Partners and parts published science
Built from / builds (4)
- Access control
- Channels (sockets, RPC endpoints, named pipes, files)
- Entry and exit points (the API's actions)
- Attack surface metrics
Sits inside / holds (2)
expressed by (22)
- Templating / Standardization
- Encapsulation & Modularity (Abstraction)
- Sensing/Scanning
- Search/Foraging
- Mapping/Modeling
- Uncertainty Reduction/Learning
- Multi-Scale Data Fusion / Triangulation
- Trail-Marking / Externalized Memory (Stigmergy)
- Social Learning / Public Information Use
- Evade Detection
- Subversion & Co-optation
- Reactive Response
- Proactive Defense
- Physical/Virtual Barrier
- Self-Monitoring
- Delay/Redirection Tactics
- Validation of Identity/Intention
- Validation of Effectiveness
- Enclave/Segregation
- Redundancy & Diversity
- Triage & Prioritized Allocation
- Quality Control & Error Correction
floor filled by (18)
- Human (Homo sapiens)
- Software
- Internet
- Operating system
- Access control
- Threat actor
- Organization
- System-call interface
- Secure software development
- Vulnerability management
- Parser
- Channels (sockets, RPC endpoints, named pipes, files)
- Entry and exit points (the API's actions)
- Attack surface metrics
- Moving target defense
- Least privilege
- Economics of information security
- Attack surface management (the practice)
represents (1)
Kinds (8)
- Software (system) attack surface
- Kernel attack surface
- Organisational (external) attack surface
- Human (deception) attack surface
- Supply-chain attack surface
- Cloud (multi-tenant) attack surface
- Local vs remote attack surface
- Cloud control-plane attack surface
Notes published science
- The first measured attack surfaces were of Windows versions, and lockdown checklists cut Windows NT 4.0's score from 598.3 to 395.4; the same paper notes that many Windows 2000 users hit by the Code Red and Nimda worms (one of the authors among them) had no idea they were running the web server those worms came in through (src:howard-2005-rasq).
- Cutting code out of a program to shrink its attack surface can hand attackers new tools: in every debloating case Brown and Pande tested, at least 35% of the code-reuse gadgets left behind were new ones that the trimming itself had made (src:brown-2019-gadgets).
- Researchers mapped the internet-facing side of 3,095 US county governments (42,735 devices) without sending them a single packet. They used commercial scanners that already sweep the whole internet. Attackers move as fast: after Heartbleed's disclosure, exploit attempts from almost 700 sources began in under 24 hours, while defenders' patching stalled after about two weeks with 3% of top-million HTTPS sites still exposed two months on (src:harry-2025-county, src:durumeric-2014-heartbleed).
Layers
The ways it takes in its world, where they meet, and how it acts back, each from L1 (where it meets the world) up.
the attack surface as security engineers and researchers describe it: the ways a system can be reached from outside, up to the protection it is weighed against (reader's view)
- L1: What can reach the system: networks, other software and packages, co-tenants, names, people, and the adversary among them
- L2: The doors: entry and exit points and channels (sockets, RPC endpoints, pipes, files, web handlers, accounts, system calls, install steps, open ports)
- L3: What comes through and what reads it: untrusted data items, carriers, eval functions and parsers
- L4: What can be reached, and with what rights: targets and enablers, privilege levels, damage potential against effort
- L5: Measurement: relative counts per dimension, RASQ, the triple, surface approximation, integrated organisational surfaces
- L6: Reduction and shifting: lockdown, debloating, kernel tailoring, least privilege, input validation and patches, moving target defense, retiring stale assets
- L7: Purpose: protection weighed against the features, performance and money exposure buys; who pays for the shrinking
the boardroom (shared floors)
- L4: Targets and enablers reached: processes and data the adversary can control, under the access-rights relation; each resource's damage potential against the effort to reach it
- L5: Measurement: counts per attack class, the RASQ sum, the methods-channels-data triple, the share of code on the surface, the integrated surface of many organisations, risk scores
- L6: Reduction and shifting: remove features and code, restrict rights (least privilege), strengthen pre- and post-conditions, move the surface (moving target defense), retire forgotten assets, focus review
- L7: Purpose: a system that does its job with as little exposure as possible, weighed against the features, performance and money the exposure buys
way in: Accounts and access rights: guest, admin, unpassworded, remote access
- L1: Users and processes acting as principals, the adversary among them
- L2: Enabled accounts, accounts in the admin group, guest accounts, null sessions; exposed remote-access services
- L3: The access-rights relation: principals x resources x rights, with privilege levels none < user < root
way in: Cloud control plane: storage and access policies
- L1: Cloud storage buckets reachable by name from anywhere
- L2: Access control lists and policies left public, readable or writable
- L3: Readable files leak keys, credentials and database dumps; writable buckets let attackers overwrite web resources
way in: Counting the running system: attack classes per configuration
- L1: A running system in a given configuration (default, lockdown, after use)
- L2: Counting tools enumerate instances: open sockets, root services, setuid programs, accounts, weak permissions
- L3: Counts per attack class (14 classes for Linux, 11 countable; 20 RASQ vectors for Windows)
- L4: Counts weighted by payoff and compared class by class across versions of the same system
way in: Crash dumps: stack traces from the field
- L1: Crashes caused by outside activity on users' machines
- L2: Crash dump stack traces collected in the vendor's defect repository
- L3: Files appearing in stack traces are classed as on the surface (8.4% of Firefox files)
- L4: Appearance counts as thresholds (1, 10, 30, 77, 140 traces) trade recall against precision
way in: Dependencies: third-party packages and reused code
- L1: Package registries and their maintainers; shared libraries and copied code fragments
- L2: Install-time trust: an average npm install trusts 79 packages and 39 maintainers
- L3: Shared code carries shared weaknesses: a common attack surface across seemingly unrelated programs
way in: Internet-wide scans seen from outside (OSINT)
- L1: All of IPv4 and about 150 million IPv6 addresses, continuously scanned by third parties
- L2: Shodan and Censys scans queried by the organisation's domains (passive reconnaissance)
- L3: Per-organisation inventories: IPs, ports, services, versions, CVEs with CVSS and EPSS; mismanagement symptoms (open resolvers, untrusted certificates)
- L4: Only CPEs with version numbers carried through, to cut false positives; CVE coverage falls to 1003 counties
way in: Money and incentives: markets, insurers, budgets
- L1: Software markets with network effects, insurers, budgets of the organisations running systems
- L2: Pressure to ship features first; premium discounts; liability placed elsewhere
- L3: Features enabled by default to maximise user satisfaction
- L4: Optimal investment bounded (Gordon-Loeb: at most about 1/e of expected loss for the forms studied); external damages left out by private optimisers
- L5: Free-riding among interdependent defenders (sum-of-efforts, weakest link)
way in: Names that point outward: DNS records
- L1: DNS records of an organisation's domains and subdomains
- L2: Dangling records: A, CNAME, MX and NS records pointing at released IPs, abandoned third-party services or expired domains
- L3: Whoever claims the abandoned resource controls the (sub)domain and can get it a certificate
way in: Network channels: open sockets, RPC endpoints, named pipes
- L1: Other machines on the network, including the adversary's, sending messages
- L2: Open TCP/UDP sockets, RPC endpoints and named pipes on which a service listens
- L3: The service at the channel endpoint reads the protocol's messages; the protocol sets the rules of exchange
way in: People: the deception attack surface
- L1: Spear-phishing, obfuscated URLs, spoofed websites, scareware arriving through people's sight and hearing
- L2: The user's judgement as the entry point: deception targets the user directly, around technical controls
- L3: Susceptibility varies: computer literacy, familiarity, time since last self-study
way in: Permission maps: what an app declares against what it uses
- L1: The app's declared permission list and its bytecode
- L2: Static analysis maps API methods to permissions (3,957 methods)
- L3: The permission gap: declared but unused permissions
- L4: The required permission set computed and set against the declared list, app by app (94 of 742 with a gap)
way in: Practitioners' judgement
- L1: System administrators and developers who know the systems
- L2: An email survey of 20 Linux administrators; collaboration with SAP developers
- L3: Judgements on dimensions and on what signals damage potential; findings on channel protocols not conclusive
- L4: Responses tested with one-sample t-tests (p < 0.05 counted significant)
way in: Reading the code and its API: entry and exit points
- L1: Source code and the API of the system
- L2: Call graphs and API scans find direct and indirect entry and exit points
- L3: Each point's privilege and access rights scored as a damage potential-effort ratio
- L4: Entry points, channels and untrusted data items assembled into the triple
way in: Shared hardware in a public cloud: co-resident tenants
- L1: Other tenants' virtual machines placed on the same physical server
- L2: Co-location: launching instances to land beside the victim; tests that detect co-residence
- L3: Side channels across the shared hardware extract information
way in: Shared processor state: speculative execution side channels
- L1: Code running on the same processor (in another process or in the browser)
- L2: Branch prediction steered by the attacker; the victim speculatively executes operations correct execution never would
- L3: Speculative operations leave measurable side effects that leak the victim's confidential information
way in: Shared-memory channels and untrusted data items: files, directories, registries
- L1: Files, directories, registry keys and other persistent data items in a data store
- L2: Shared-memory channels and data items an attacker can write; weak ACLs (full control to all principals)
- L3: Untrusted data items read by an entry point or written by an exit point
way in: The kernel interface: system calls and loaded features
- L1: Unprivileged local processes, an attacker's among them, calling into the kernel
- L2: The system call interface and the features compiled in or loadable (file systems, socket types, drivers)
- L3: Kernel code reachable from the entry points in the static call graph
way in: The organisation's internet-facing estate: IPs, ports, services
- L1: The public internet: IP addresses, domains, open ports of an organisation
- L2: Exposed services: 51,487 open ports, 82 services across county governments; DNS, remote access, file sharing
- L3: Software versions (CPEs) behind the services, matched to CVEs
way in: The vendor's update and build pipeline: signed updates
- L1: The vendor's build system and update servers (SolarWinds Orion)
- L2: A signed update accepted because it is signed: the ability to sign and ship malicious code
- L3: Payloads (Sunburst, Teardrop, Sunshuttle) run inside the trusted product; economy of mechanism and least privilege not observed
way in: The vulnerability record: CVEs, bulletins, patches
- L1: CVE entries, vendor bulletins, distribution advisories and patches
- L2: Resources named in each bulletin mapped to the surface's dimensions (202 observations from 110 Microsoft bulletins)
- L3: Payoffs: attack classes that appear more often in CVEs weighted higher
- L4: The k attack classes chosen for measurement: the top by payoff, or those that can be counted
way in: Web content and scripting: dynamic pages, HTML documents, script engines
- L1: Web servers and mail senders, the adversary's site among them, sending HTML
- L2: Browser and mail client receive the document; dynamic web pages, web handlers, ISAPI filters on the server side
- L3: Carrier and eval function: the renderer (MSHTML) extracts and runs the embedded object; VBScript, JScript and ActiveX as enablers
way out: Focus: point review and testing at the code on the surface
- L1: Engineering hours spent where outside input can reach
- L3: Decision tree on stack-trace appearances, churn and authors
- L6: Prioritise security review and testing to code on the approximated surface
way out: Remove: turn off services and features, debloat code, tailor the kernel
- L1: A smaller body of code reachable from outside
- L2: Fewer services running by default; fewer entry points
- L3: Build the tailored configuration or debloated program (file- or function-level)
- L5: Measure the reduction (code, call graph, CVE-based metrics)
- L6: Decide which features the use case needs
way out: Restrict: least privilege, tighter ACLs, permissions trimmed
- L1: Each module reaches only what its legitimate purpose needs
- L4: Services run as non-root; weak ACLs strengthened; unused permissions removed
- L6: Grant only the relevant rights to each principal
way out: Retire: purge stale records and forgotten exposed services
- L1: Nothing left pointing to a resource an outsider can claim
- L2: Delete the DNS record or reclaim the resource; close exposed services
- L6: Find and decide to clean up dangling records and exposed services
way out: Shift: moving target defense
- L1: The surface the attacker mapped is no longer where it was
- L3: Shuffling, diversity, redundancy: IP mutation, port hopping, VM migration, OS rotation
- L6: What, how and when to move
way out: Strengthen: validate input, patch the code
- L1: The vulnerability difference between actual and intended behaviour narrowed
- L3: Patches change entry points, channels or data items; most relevant patches lower the measurement
- L6: Strengthen the actual pre- or post-condition to match the intended