Security operations

What Is Attack Surface Management? How ASM Finds What Attackers See

Attack surface management is the continuous work of finding everything an attacker can see, ranking the exposures, and removing or fixing them first.

Cysoro Security TeamPublished · 8 min read
◉ SECURITY OPERATIONS Attack surface See what attackers see. Then shrink it.
Quick answer

Attack surface management (ASM) is the continuous process of discovering, inventorying, classifying, prioritizing and fixing every asset, service, identity and exposure an attacker could reach or learn about — including forgotten servers, exposed admin panels, cloud misconfigurations and leaked credentials. It takes the attacker's outside-in view, so teams find unknown and unmanaged assets before attackers exploit them, and it repeats as infrastructure changes.

Key takeaways

  • ASM is continuous discovery, prioritization and remediation of everything an attacker can reach — not a one-time scan.
  • External ASM looks from the internet in; internal ASM and CAASM cover what you own and which controls cover it.
  • Removing unnecessary exposure beats watching it: take internet-facing admin panels and unused services offline.

Most breaches do not start with a clever zero-day. They start with something the team forgot existed: an old test server, an exposed admin panel, a subdomain pointing at a dead service. Attack surface management exists to find those things first.

What is attack surface management?

Attack surface management (ASM) is the continuous process of discovering, inventorying, classifying, prioritizing and fixing every asset and exposure an attacker could reach. It looks at your environment the way an attacker does, from the outside in.

The attack surface itself is the sum of all the ways an attacker could get in: websites, APIs, cloud services, devices, identities, exposed ports, misconfigurations and leaked credentials. ASM is the work of shrinking that surface over time.

It is continuous, not a project. New cloud accounts, SaaS tools, code and devices appear every week, so an inventory that was complete in January is already out of date. CISA makes the same point in its exposure guidance: organizations should routinely assess internet-accessible assets and remove exposure that is not needed, as described in its Internet Exposure Reduction Guidance.

What is an attack surface?

An attack surface is everything an attacker can reach or learn about your organization. It includes the obvious things, such as your website and email, and the forgotten things, such as a development server someone left running in the cloud.

It has three broad parts. The digital surface covers domains, IPs, cloud services, APIs and applications. The physical surface covers devices, USB ports and building access. The human surface covers people, credentials and the information they share.

An attack surface is not the same as an attack vector. The surface is what is exposed; the vector is how an attacker uses it, for example phishing, an exposed login page or an unpatched service. ASM reduces the surface, which leaves fewer vectors to defend.

Surface areaExamplesTypical finding
DigitalDomains, subdomains, IPs, APIs, cloud storageDangling DNS, open storage bucket, forgotten subdomain
NetworkOpen ports, VPNs, remote desktop, admin panelsInternet-facing RDP, database or router admin page
Cloud and SaaSCloud accounts, SaaS apps, third-party integrationsPublic storage, over-permissioned keys, shadow IT
IdentityAccounts, credentials, API keys, certificatesLeaked keys in code, stale admin accounts, weak MFA
DevicesLaptops, servers, IoT and OT devicesUnpatched device, default password, unmanaged endpoint
PeopleStaff, suppliers, contractorsPhishing target, exposed org chart, oversharing

How does attack surface management work?

ASM follows a loop that repeats: discover, classify, prioritize, remediate and monitor, as described in Splunk's ASM lifecycle guide. Each pass makes the inventory more accurate and the surface smaller, and the loop restarts because the environment keeps changing.

The ASM lifecycle: a loop, not a project1Discoverfind every asset,known and unknown2Classifyowner, purpose,criticality3Prioritizeexploitable andexposed first4Remediateremove, fix orprotect it5Monitorwatch for newassets and driftDiscovery without ownership just grows a list — every asset needs an owner and a fix date.
The five phases of attack surface management, repeated continuously. Illustration by Cysoro.

1. Discover

Discovery finds assets from the outside and the inside. Outside-in methods include DNS enumeration, certificate transparency logs, IP and WHOIS records, internet scan data and code repositories. Inside methods include cloud APIs, configuration databases and endpoint tools.

2. Classify and prioritize

Each asset gets an owner, a purpose and a criticality rating. Findings are then ranked by exploitability and exposure: an internet-facing admin panel with a known vulnerability outranks an internal test server with a minor flaw.

3. Remediate

Remediation is not always a patch. Often the best fix is removal: take the service off the internet, close the port, delete the old subdomain or revoke the leaked key. When the asset must stay exposed, harden it, patch it and protect it with MFA and monitoring.

4. Monitor continuously

Monitoring watches for new assets, configuration drift and new vulnerabilities. A new subdomain, a new cloud bucket or a changed DNS record should trigger a review the same day, not at the next quarterly audit.

What are the types of attack surface management?

Three types answer three different questions, and most organizations need more than one. They overlap, but they are not interchangeable.

TypeQuestion it answersViewpointMain data sources
EASMWhat can an outsider see and reach?Outside-inDNS, certificate logs, WHOIS, internet scans
IASMWhat is exposed inside the network?Inside-outInternal scans, network inventory, endpoints
CAASMWhat do we own, and which controls cover it?Defender's viewAPIs of endpoint, cloud, identity and scanner tools

External ASM (EASM) is the best-known type, because it finds the forgotten internet-facing assets attackers find first. Internal ASM (IASM) covers servers, endpoints and user access inside the network. CAASM joins data from the tools you already run to expose coverage gaps, such as devices missing endpoint protection or cloud resources with no owner.

Why does attack surface management matter?

It matters because attackers use the same discovery tools you could use, and they often find forgotten assets first. CISA's guidance notes that threat actors use internet-based search and discovery platforms to identify publicly accessible systems with misconfigurations, default credentials and outdated software.

The consequences are concrete. In July 2026, CISA observed malicious activity targeting internet-exposed systems at more than 100 water and wastewater sector entities, commonly through programmable logic controllers connected directly to a cellular modem. Directly exposing industrial controllers to the internet created a risk that a simple inventory check would have caught.

ASM also makes every other security control work better. Patching is faster when you know what exists. Incident response is faster when you know which assets matter. And compliance is easier when you can show a complete, current inventory with owners for each asset.

How is ASM different from vulnerability management?

Vulnerability management and ASM are partners, not rivals. Vulnerability management scans known assets for known flaws and tracks patching. ASM discovers the assets in the first place and finds exposures that are not vulnerabilities in the usual sense.

An open admin panel with a strong password is not a vulnerability, but it is still attack surface. A leaked API key in a public code repository is not a patchable flaw, but it is an immediate exposure. A dangling subdomain pointing at a service you no longer control is a takeover risk, not a CVE.

The practical split is simple: ASM answers "what do we have, and what can attackers reach?" Vulnerability management answers "which known flaws in those assets should we fix first?" You need both, and ASM feeds the second.

What exposures does ASM usually find?

The same findings appear again and again, in organizations of every size. They are rarely exotic, which is why they are so easy to miss.

  • Dangling DNS. A subdomain pointing at a cloud service, hosting account or SaaS app that no longer exists, which an attacker can claim.
  • Exposed admin panels. Router, database, VPN or application admin interfaces reachable from the internet.
  • Remote access without MFA. Remote desktop, SSH or VPN open to the internet with only a password.
  • Forgotten test and staging servers. Old environments with outdated software and default credentials.
  • Public cloud storage. Buckets and file shares left world-readable by a misconfiguration.
  • Leaked secrets. API keys, tokens and passwords in public repositories, container images and configuration files.
  • Expired certificates. Certificates that break services or push users toward insecure workarounds.
  • Shadow IT. SaaS apps and cloud accounts bought or created without IT knowing, so they are never patched or monitored.

CISA's guidance lists the ports attackers most often probe, including SSH (22), Telnet (23), HTTP (80), HTTPS (443), RDP (3389) and VNC (5900). An open port is not proof of a vulnerability, but every internet-accessible service deserves a documented reason to be there.

How do you start an ASM program?

Start with discovery and ownership, not with buying a platform. A small team can run a useful ASM program with free tools and a spreadsheet, then add automation as the asset count grows.

  1. List what you know. Domains, subdomains, IP ranges, cloud accounts, SaaS apps and certificates, each with an owner.
  2. Scan from the outside. Use DNS lookups, certificate transparency logs and internet search tools such as Shodan and Censys to find what the internet sees. CISA names both tools in its guidance.
  3. Check the obvious exposures. Look for open admin panels, remote access and public storage, and confirm each one is needed.
  4. Remove what is not needed. Close ports, delete dangling DNS records, retire old servers and revoke leaked keys.
  5. Fix what must stay. Patch it, enforce MFA, put it behind a gateway or VPN, and monitor its logs.
  6. Assign every asset an owner. Discovery without ownership produces a list nobody acts on.
  7. Repeat on a schedule. Re-run discovery at least monthly, and review new assets as they appear.

For a quick check of your own public footprint, run the free DNS lookup on your domains, and review the results against your inventory.

Anything the tools find that your inventory does not list is exactly what ASM is for. You can also check each site's certificate with the SSL checker.

Which exposures to fix firstExposed admin panelLeaked API keyDangling DNSPublic cloud storageForgotten test serverRanking by exploitability and exposure — fix the top rows before the bottom ones.
Prioritize by exploitability and exposure, not by how easy the fix looks. Illustration by Cysoro.

How do you measure attack surface management?

Measure the surface itself, not just the number of scans you ran. Useful metrics include the total count of internet-facing assets, the number of unknown assets found each month, the time from discovery to remediation, and the number of exposures removed rather than merely monitored.

Track the trend, not a single snapshot. A shrinking count of exposed services, a falling time-to-fix for critical exposures, and fewer unknown assets each month all show the program is working. A growing asset count with no owner assigned shows the opposite.

Report ASM results in business terms. Instead of listing 400 open ports, report that three internet-facing admin panels were removed, two leaked keys were revoked, and one dangling subdomain was reclaimed before it could be taken over.

The bottom line

Attack surface management is the discipline of seeing your organization the way an attacker sees it, and then removing the easy wins before they do. It starts with a complete inventory, it runs continuously, and its best fixes are often deletions rather than purchases.

Begin with what the internet can already see about you. Check your domains, close what does not need to be open, and give every remaining asset an owner. Our attack surface management platform can help you keep that inventory current, or start with the free tools linked above and build the habit first.

Frequently asked questions

What is attack surface management in simple terms?

Attack surface management is the ongoing job of finding everything an attacker could reach, working out which exposures matter most, and fixing or removing them. It covers websites, cloud services, APIs, devices, identities and even leaked credentials.

What is the difference between ASM and vulnerability management?

Vulnerability management finds and patches known flaws in assets you already know about. ASM starts earlier: it discovers the assets themselves, including forgotten and unknown ones, then feeds them into vulnerability management and remediation.

What is external attack surface management (EASM)?

EASM is the subset of ASM focused on internet-facing assets seen from outside: domains, subdomains, IP addresses, cloud services, APIs and exposed ports. It answers the question of what an attacker on the internet can see and reach.

What is CAASM?

Cyber asset attack surface management (CAASM) joins data from your internal tools — endpoint, cloud, identity, directory and scanner APIs — to show everything you own and which controls cover each asset. It answers what you own and where coverage is missing.

Why does the attack surface keep growing?

Cloud accounts, SaaS apps, remote work, APIs, IoT devices and third-party integrations all add new assets faster than most inventories update. Forgotten test servers, old subdomains and shadow IT are the usual surprises.

How often should ASM run?

Continuously. Assets change daily, so a yearly scan leaves long gaps. Modern ASM tools scan continuously or daily, and teams review new exposures as they appear, with a weekly or monthly review of the whole inventory.

Do small businesses need attack surface management?

Yes, at a smaller scale. A small business can start with a domain and IP inventory, a check for exposed admin panels and remote access, and a routine to remove what is not needed. That covers most of the risk without an enterprise platform.

What is the first step in attack surface management?

Discovery: build a complete inventory of internet-facing assets from DNS records, certificate transparency logs, cloud accounts, IP ranges and search tools. You cannot protect, patch or retire what you do not know exists.

Sources

  1. CISA — Internet Exposure Reduction Guidance
  2. Wikipedia — Attack surface management
  3. Splunk — What Is Attack Surface Management? A Complete Guide To ASM
  4. Sophos — What Is Attack Surface Management?
  5. Rapid7 — What Is Attack Surface Management (ASM)?
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against CISA's Internet Exposure Reduction Guidance, Splunk's ASM lifecycle guide and the standard EASM, IASM and CAASM definitions.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free