A vulnerability scanner can only test the targets you give it, so the internet facing assets nobody listed are the ones that never get scanned. External attack surface management (EASM) exists to find those assets from the outside, starting from what an attacker can see, while vulnerability scanning tests known assets in depth, ideally with credentials. This guide compares the two as operating disciplines: the threat each one answers, how each works, where each fails, how findings should flow from one into the other, and how to decide what to run first. It is written for vulnerability management leads, security architects and anyone choosing or integrating these tools.
Key takeaways
- EASM answers "what do we own on the internet?" and vulnerability scanning answers "what is wrong with the things we know we own?"; neither answers both well.
- Discovery feeds scanning, not the other way round: the useful integration is an automated handoff where confirmed EASM assets become scan targets with an owner within days.
- EASM findings are outside-in and shallow: banner, certificate and exposure observations without credentials, so they produce more "is this ours?" questions and more version based false positives than an authenticated scan.
- Exposed non-human identity secrets show up in EASM first: readable .env files, .git folders and leaked keys are found by looking outside, and the response is credential revocation, not patching.
- Ownership decides success: an unowned asset cannot be scanned safely, patched or retired, so attribution to a team is the most important field in either tool.
The short answer
If you already run a scanner and have never tested your target list against an outside view, the gap is almost certainly discovery, and EASM (or a disciplined manual equivalent) closes it. If you have a reliable inventory but scan unauthenticated, or not at all, the gap is depth, and a credentialed scanning programme closes it. Most organisations with more than a handful of public services need both, in sequence: discover, attribute, then test. See the Attack Surface Management Guide for the discovery techniques and the Vulnerability Scanning Guide for scanner operation. This page covers the boundary and the handoff between them.
| Dimension | EASM | Vulnerability scanning |
|---|---|---|
| Core question | Which internet reachable assets belong to us, including ones nobody registered? | Which known vulnerabilities and misconfigurations exist on assets we have listed? |
| Starting input | Seeds: organisation names, root domains, IP blocks, ASNs, certificate subjects | A target list: IP ranges, hostnames, agents, cloud accounts |
| Vantage point | Outside only, the attacker's view | Inside and outside; credentialed or agent based for depth |
| Typical data sources | DNS, certificate transparency logs, WHOIS and registrar data, internet wide scan data, cloud provider ranges, code and paste sites | Active probes, authenticated checks of installed packages and configuration, agent inventories |
| Depth of testing | Shallow: open ports, service banners, TLS certificates, exposed panels and files | Deep: patch levels, local configuration, compliance checks |
| Main false positive source | Wrong attribution (asset is not ours) and version guesses from banners | Backported fixes, detection logic gaps, unauthenticated inference |
| Cadence driver | Change in the outside world (new subdomain, new certificate, new cloud IP) | Fixed schedule plus new vulnerability checks |
| Primary owner | Often the security operations, threat intelligence or exposure team | Vulnerability management team, with system owners remediating |
| Output | Asset inventory with confidence and ownership, plus exposure findings | Vulnerability findings with severity and fix guidance |
EASM in depth: threat model, architecture and failure modes
Threat model: the attacker begins with reconnaissance from public data. ATT&CK describes this as Active Scanning (T1595, including T1595.002 Vulnerability Scanning) and Search Open Technical Databases (T1596). Their targets are the assets you forgot: a staging site built by an agency, a marketing domain registered on a personal card, a cloud virtual machine left after a proof of concept, a device management interface exposed to the internet. Exploitation then follows through Exploit Public-Facing Application (T1190) or External Remote Services (T1133).
Architecture in words: EASM starts from seeds you supply and expands outward. Root domains lead to subdomains through DNS records and certificate transparency logs; certificates lead to other hostnames on the same certificate; IP addresses lead to netblocks and ASNs registered to your organisation; registrant and WHOIS details lead to other domains. Each hop carries a confidence level, because the further a chain runs from the seed the more likely it is to pick up a supplier's or a stranger's asset. OWASP Amass, an OWASP flagship project licensed under Apache 2.0, illustrates the open source end of this approach, combining open source information gathering with active reconnaissance.
What it sees: open ports and services, banners and version strings, TLS certificate details and expiry, login and admin panels, default pages, exposed files such as /.git/config and .env, dangling DNS records pointing at released cloud resources, and in some products leaked credentials in public code.
Failure modes:
- Seed drift: seeds are set once at purchase. Acquisitions, rebrands and new cloud accounts never enter the graph, so the tool goes blind exactly where shadow assets appear.
- Attribution noise: shared hosting, CDN addresses and SaaS endpoints get pulled in as "yours".
- Discovery without action: new assets are reported but have no owner and no route into scanning or retirement. The inventory grows and the risk stays the same.
- Treating banners as verdicts: a version string in a banner says nothing about backported patches, so EASM "critical" findings on Linux distributions are often wrong.
Controls that make EASM work: review seeds every quarter and after every acquisition; require a confidence threshold before an asset is treated as owned; record "last seen" and owner on every asset, as the NCSC asset management guidance recommends for any inventory; and connect discovery to the certificate transparency feed so new hostnames appear within hours. See the Certificate Transparency Monitoring Guide for Web Teams and the Subdomain Takeover and Dangling DNS Guide.
Vulnerability scanning in depth: threat model, architecture and failure modes
Threat model: the attacker already has, or can get, network reach to an asset and exploits a known flaw: an unpatched VPN appliance, an outdated web framework, a weak TLS configuration, a default credential. Scanning exists to find those flaws before they are exploited, and to prove remediation afterwards.
Architecture in words: a scanner takes a target list, discovers live hosts and open ports, fingerprints services, then runs checks. Unauthenticated checks infer vulnerabilities from what the service reveals. Authenticated checks log in (SSH, SMB and WMI, or API) or use an agent to read installed package versions and configuration directly, which is far more accurate. CIS Controls v8.1 Safeguard 7.5 asks for internal scans, authenticated and unauthenticated, quarterly or more often, and Safeguard 7.6 asks for scans of externally exposed assets monthly or more often, both with a SCAP compliant tool. See the Authenticated vs Unauthenticated Scanning Guide for credential setup.
What it sees: missing patches, end of life software, insecure configuration, weak ciphers, default accounts and policy compliance gaps, on the targets it was given.
Failure modes:
- Stale scope: the target list comes from a CMDB or a firewall export last updated months ago. Everything outside it is invisible, and the scan report looks clean.
- Credential failure that looks like success: authentication fails silently, the scan falls back to unauthenticated checks, and coverage drops without anyone noticing.
- External scans only from inside: scanning public services from an internal network passes through different firewall rules than an attacker would, so exposure is misjudged.
- Volume without priority: thousands of medium findings bury the handful that are known exploited. Use the Vulnerability Prioritisation Guide and the CISA KEV Catalogue Guide to rank them.
Controls that make scanning work: monitor authentication success rate per scan, scan external assets from an outside scanner, update checks promptly (CISA BOD 23-01 sets no more than 24 hours after the vendor's latest signature release for federal agencies) and drive the target list from a maintained inventory rather than a one off export.
Shadow IT and forgotten cloud assets
Shadow assets are where the two disciplines differ most. The NCSC describes shadow IT as business use IT that sits outside asset and risk processes, and recommends reconciling cloud billing against the inventory and flagging inconsistencies such as unenrolled devices. A scanner cannot help with any of this, because the asset is not in its scope. EASM can find the internet facing part of shadow IT, with limits:
| Shadow asset type | Found by EASM? | Found by scanning? | Better additional source |
|---|---|---|---|
| Subdomain on a corporate root domain | Yes, through DNS and certificate transparency | Only if added to scope | DNS zone exports and registrar records |
| Domain registered outside central control | Sometimes, through WHOIS or certificate links | No | Expense and procurement records |
| Cloud virtual machine with a public IP in an unknown account | Sometimes; dynamic cloud IPs are hard to attribute | No | Cloud organisation account listing and billing |
| Released cloud resource with dangling DNS | Yes, if the record is still under your domain | No | DNS hygiene review at deprovisioning |
| SaaS tenant bought by a business unit | Rarely | No | Identity provider app inventory, finance records |
| Internal only shadow server | No | Only with full range discovery scans | Network flow data, DHCP and agent coverage gaps |
The practical rule: EASM covers the internet edge, internal discovery scanning covers routable internal space, and cloud and identity provider inventories cover everything that has no stable public address. The Asset Inventory and CMDB Security Guide covers how to reconcile them.
Exposed NHI secrets and endpoints
Some of the most damaging external findings are not vulnerabilities at all but exposed non-human identity credentials. In the 230 Million AWS Cloud Environments campaign, attackers scanned more than 230 million targets for publicly readable .env files and used the long lived cloud access keys inside to create administrator roles and extort victims. The Misconfigured Git Servers 2026 research found roughly 4.96 million IP addresses serving readable .git directories, many with deployment credentials in the remote URL. Both were found by internet wide requests for well known paths, which is exactly the outside-in view EASM provides and a credentialed host scan does not prioritise.
- Classify as an identity incident: an exposed key, token or connection string needs revocation and rotation first, then a review of what the credential accessed. Patching the web server does not invalidate a key that has already been copied.
- Check validity before triage: secret scanning services can check whether a detected credential is still active; GitHub's validity checks, for example, may contact the issuing service. Active credentials go to the top of the queue.
- Cover the code side too: EASM looks at served files; repository and pipeline secret scanning catches the same secrets earlier. See the Git Secret Scanning Guide.
- Treat exposed APIs as identity surfaces: an unauthenticated API endpoint discovered by EASM is an access control failure as much as an exposure; route it to the application owner and the identity team. See the API Key Management Guide.
Scanner credentials are themselves non-human identities with wide privilege. CISA BOD 23-01 expects credentialed or agent based enumeration where feasible, so the scan account must be vaulted, scoped and monitored like any other privileged service account.
False positive handling in each discipline
| False positive type | Typical in | Cause | How to resolve |
|---|---|---|---|
| "Not our asset" | EASM | Shared hosting, CDN or SaaS IPs, lookalike domains, former assets | Confirm through DNS ownership, cloud account lookup or registrar; mark as third party or excluded with a reason and review date |
| Version inferred from banner | EASM, unauthenticated scans | Distribution backports fixes without changing the upstream version string | Re-test with an authenticated scan or agent; accept the credentialed result |
| Detection logic mismatch | Scanning | Check fires on a condition that does not apply to the configuration | Record evidence, raise with the scanner vendor, suppress by plugin and asset only |
| Compensating control not visible | Both | WAF, reverse proxy or network restriction blocks exploitation | Document as risk accepted with an expiry, not as false positive |
| Transient exposure | EASM | Service seen once during a deployment window | Require two observations before alerting, but log the first |
Keep the two categories separate in reporting. An attribution error means the inventory is wrong; a detection error means the test is wrong. Mixing them hides which tool needs tuning.
Workflow integration and ownership: the handoff
The handoff from EASM inventory into scanning is where most programmes break. A workable flow looks like this:
- Discover: EASM records a new asset with its discovery path and a confidence score.
- Attribute: above the confidence threshold, the asset is matched to an owner using DNS zone, cloud account tags, certificate requester or business unit records. Below it, an analyst confirms or excludes within a set time, for example five working days.
- Register: the confirmed asset is written to the authoritative inventory or CMDB with owner, environment and data sensitivity.
- Scope: the inventory pushes the asset into the scanner's external target group automatically, and into an authenticated scan policy where credentials or an agent are possible.
- Test: the next scheduled scan, or an on demand scan for high risk exposures, runs against it.
- Decide: the owner fixes, restricts (for example moving an admin interface behind zero trust access, as BOD 23-02 requires within 14 days for federal management interfaces), or retires the asset.
- Verify: EASM confirms from outside that the exposure is gone; the scanner confirms the vulnerability is fixed.
Who owns what: the exposure or security operations team owns seeds, attribution rules and the exclusion list. The vulnerability management team owns scan policies, credentials and coverage. System owners own remediation. See the Exposure Management and CTEM Guide for how this fits a wider continuous threat exposure management cycle, and the CTEM vs Vulnerability Management comparison for the operating model question.
Rollback and safety: new assets from EASM should enter scanning in a safe profile first (non-intrusive checks, rate limited), because a forgotten asset may be fragile or belong to a supplier. Never point intrusive scans at an asset whose ownership is unconfirmed: scanning a third party's system without permission creates legal exposure.
Worked scenario: a retailer after an acquisition
A retailer with a mature credentialed scanning programme acquires a smaller online brand. The scanner's external group covers 400 known public IPs and reports no criticals. An EASM trial seeded with both company names and root domains finds 1,150 hostnames, including 230 not in the scanner scope: the acquired brand's storefront, two staging sites on a cloud platform, a remote access gateway with its login page exposed and a marketing microsite with a readable .env file.
- Day 1: the
.envfile contains a payment provider API key and a cloud access key. The identity team revokes and rotates both, reviews cloud audit logs for use of the key, and the web team blocks dotfile paths at the CDN. - Days 1 to 5: analysts attribute the 230 hostnames: 170 are confirmed, 45 belong to a hosting provider and are excluded with a review date, 15 are retired immediately.
- Week 2: the 170 confirmed assets are added to external scanning and, for the acquired brand's servers, to an authenticated policy once a scan account is provisioned. The first credentialed scan finds a known exploited vulnerability on the remote access gateway, which is patched and restricted to the corporate identity provider.
- Result: the scanner was accurate about what it tested; it was simply testing 400 of 570 real assets. EASM closed the coverage gap; scanning provided the depth that EASM could not.
Decision criteria
| Situation | Prioritise | Why |
|---|---|---|
| Small organisation, a few public services, one cloud account | Scanning first; manual quarterly discovery from DNS and certificate transparency | The surface is small enough to list by hand; depth matters more |
| Many brands, frequent acquisitions, decentralised marketing | EASM first, then extend scanning scope | Unknown assets are the dominant risk |
| Multiple cloud providers with developer self service | Both, plus cloud account inventory | Public IPs change; EASM alone cannot attribute ephemeral addresses |
| Regulated scanning requirement (for example CIS 7.5 and 7.6 evidence) | Scanning, with EASM to prove scope completeness | Auditors ask both "how often" and "how do you know the scope is complete" |
| Recent incident from an exposed asset or leaked key | EASM and secret scanning | The failure was visibility, not patch depth |
| No credentialed scanning yet | Fix authenticated scanning before buying EASM | Discovering more assets you can only test superficially adds noise |
Trade-offs: EASM platforms are priced by asset count or seed count, so large surfaces get expensive and attribution workload grows with the graph. Scanners that add "discovery" features usually discover hosts within ranges you give them, which is not the same as finding ranges you did not know about. See the Attack Surface Management Buyer's Guide for evaluation questions.
Detection and measurement
- Scope coverage ratio: confirmed external assets in scanner scope divided by confirmed external assets in the EASM inventory. Target 100 percent within the agreed handoff time.
- Time to attribute: median days from EASM discovery to owner assignment or exclusion.
- Time to first scan: median days from attribution to first completed scan.
- Authenticated coverage: percentage of in-scope hosts where the last scan authenticated successfully.
- Unowned asset count: confirmed assets with no owner, trended weekly; it should fall, not plateau.
- Exposed secret time to revoke: hours from discovery of an exposed credential to confirmed revocation.
Cadence reference points: CISA BOD 23-01 requires federal agencies to run asset discovery every 7 days and vulnerability enumeration every 14 days, which is a useful benchmark for non-federal programmes too.
Framework mapping
| Framework | EASM | Vulnerability scanning |
|---|---|---|
| NIST CSF 2.0 | ID.AM-01, ID.AM-02 (hardware, software and service inventories) | ID.RA-01 (vulnerabilities identified, validated and recorded) |
| NIST SP 800-53 Rev. 5 | CM-8, CM-8(3) (component inventory, automated unauthorised component detection) | RA-5, RA-5(5) (vulnerability monitoring and scanning, privileged access) |
| CIS Controls v8.1 | Control 1 (inventory and control of enterprise assets) | Safeguards 7.5 and 7.6 |
| ISO/IEC 27001:2022 Annex A | A.5.9 Inventory of information and other associated assets | A.8.8 Management of technical vulnerabilities |
| MITRE ATT&CK v20 | T1595, T1596 (the reconnaissance it mirrors) | T1190, T1133 (the exploitation it prevents) |
Common failure patterns
- Buying EASM as a scanner replacement: outside-in banner checks are not a substitute for authenticated testing, and backported packages flood the queue with false criticals.
- No automated handoff: EASM exports a spreadsheet each month and someone pastes hostnames into the scanner when they have time.
- Scanning unconfirmed assets intrusively: a third party host gets a full intrusive scan because EASM attributed it with low confidence.
- Patching instead of revoking: an exposed
.envor.gitfile is removed but the credentials in it stay valid. - Seeds frozen at purchase: new brands and cloud accounts never become seeds, so discovery stops growing with the business.
Practitioner checklist
- Compare your scanner's external target list against an outside discovery run and record the gap.
- Define seeds (names, root domains, netblocks, ASNs) and review them quarterly and after every acquisition.
- Set an attribution confidence threshold and a deadline for confirming or excluding new assets.
- Automate the push of confirmed assets from inventory into scanner target groups.
- Start new assets in a safe, non-intrusive scan profile; never scan unconfirmed assets intrusively.
- Route exposed secrets to credential revocation and log review, not to the patch queue.
- Track attribution errors and detection errors separately.
- Give every exclusion a reason, an owner and a review date.
- Report the discovery to remediation funnel as one dashboard with the metrics above.
Standards and references
- CISA: BOD 23-01, Improving Asset Visibility and Vulnerability Detection on Federal Networks
- CISA: BOD 23-02, Mitigating the Risk from Internet-Exposed Management Interfaces
- CIS: Controls v8.1, Control 7 Continuous Vulnerability Management
- NCSC: Asset management
- NCSC: Vulnerability management
- CISA: Cyber Hygiene Services
- OWASP: Amass project
- GitHub Docs: About secret scanning
Related NHI Mgmt Group resources: Attack Surface Management Guide, Vulnerability Scanning Guide, Authenticated vs Unauthenticated Scanning Guide, Exposure Management and CTEM Guide, Secrets Management Guide.