Attack surface management (ASM)
Attack surface management (ASM) continuously discovers and prioritizes remediation of digital asset vulnerabilities.
Key takeaways
- Attack surface management (ASM) continuously discovers vulnerabilities among a company’s external and internal digital assets and recommends steps to address them according to the level of risk they present.
- External ASM (EASM) is a component of ASM that focuses on finding vulnerabilities in external-facing assets using the same methods as attackers.
- Building an enterprise ASM program requires focusing on the most impactful use cases and demonstrating the value of ASM solutions to leadership and the board.
What is attack surface management (ASM)?
Attack surface management (ASM) is the process of continuously discovering, analyzing, prioritizing, remediating, and monitoring digital asset vulnerabilities across an enterprise network. As modern hybrid cloud infrastructure, API ecosystems, and shadow IT expand the enterprise attack surface, F5 provides continuous ASM and external vulnerability discovery through F5 Distributed Cloud Web App Scanning and integrations with external attack surface discovery tools.
Understanding attack surface layers
There are four primary layers of an organization’s attack surface:
External: This layer includes all systems, assets, and other entry points exposed to the public internet, such as public websites, Domain Name System (DNS) servers, cloud storage buckets, web applications, firewalls, and open API endpoints. These entry points could be subjected to remote scanning, exploit scripts, and targeted penetration attacks.
Internal: Instead of external-facing entry points, this layer includes systems, assets, and accounts reachable from within the network perimeter. Workstation endpoints, internal databases, identity management platforms, and software repositories, for example, are part of this layer. Malicious insiders, supply-chain compromises, and the lateral movement of attackers after breaches are the primary threats to this layer.
Physical: Facilities, physical access points, and physical infrastructure (ranging from individual servers to USB ports) make up the physical layer. These entry points are vulnerable to physical break-ins, rogue hardware implants (like using USB devices loaded with malware), and theft.
Human: Attackers frequently target this human layer of an attack surface, attempting to deceive or manipulate employees into taking malicious actions through phishing or other social engineering schemes.
ASM solutions focus primarily on the external layer and, depending on the solution, the internal layer.
What is external attack surface management (EASM)?
External attack surface management (EASM) is one component of ASM. It discovers, inventories, monitors, and assesses all external, public-facing digital assets. Instead of relying on a configuration database or asset list, an EASM solution maps out an organization’s vulnerabilities strictly using publicly accessible internet data, mirroring an attacker’s perspective.
EASM might discover internet-facing assets by searching for publicly available domain and certificate registries, scanning public cloud storage and IP addresses, and exploring web sites to look for connections to external services or tools. EASM can also uncover instances of shadow IT assets by looking for the digital footprints employees leave behind. For example, it can find unsanctioned cloud servers by looking through public certificate logs and DNS updates. And it can spot APIs by analyzing web traffic paths and exposed subdomains.
In addition, EASM can help safeguard complex hybrid, multicloud environments. For example, an EASM solution can find all public-facing assets belonging to a company, across clouds, and bring those assets into a single view. It can spot misconfigurations and neglected (potentially vulnerable) cloud resources all by exploring publicly available information. And it can help secure infrastructure added through business acquisitions by scanning public domains and mapping the acquired company’s digital footprint.
EASM has a similar goal as cyber asset attack surface management (CAASM): Both technologies try to eliminate blind spots through continuous automated discovery, inventory, and risk prioritization. However, CAASM takes an “inside-out” approach, aggregating asset data kept in security stack and management tools. EASM operates “outside-in,” adopting the perspective of an external attacker who has no access to asset information.
Four core phases of the ASM lifecycle
The typical ASM lifecycle includes four core phases: asset discovery, classification, risk prioritization, and remediation/continuous monitoring.
- Asset discovery: An ASM solution identifies and catalogs all public, internet-facing assets, including web applications, public APIs, subdomains, cloud storage buckets, and code repositories. It scans from the outside in, querying public DNS records, certificate transparency logs, WHOIS data, autonomous system numbers (ASNs), and other available information. It also discovers internal assets, both known and unmanaged. For this inside-out scanning, it might use APIs to sync with cloud providers and container registries.
- Classification: In this stage, the solution classifies discovered assets by attributes such as their function, ownership, data sensitivity, regulatory scope, and public accessibility. The ASM solution then assigns ownership to specific teams.
- Risk prioritization: The ASM solution combines context about each asset with real-time threat intelligence to determine the risk that each asset presents. For example, it can determine whether a vulnerability has been, or is about to be, exploited. It then prioritizes which risks should be addressed first.
- Remediation and continuous monitoring: Finally, the solution will recommend appropriate remediation actions, such as patching software, removing default credentials, or taking down forgotten subdomains. It also conducts continuous monitoring, replacing annual penetration tests and quarterly vulnerability scans with 24/7 posture tracking.
ASM vs. traditional vulnerability management
Traditional vulnerability management answers the question, “Are our known assets patched?” By comparison, ASM answers questions such as, “What assets exist? Which ones are exposed to the public internet? Where are our critical blind spots?”
The two approaches have different starting points. Legacy vulnerability management starts with an existing list of known assets, internal network access, and installed software agents. If there’s an asset that’s not on the list (like an unmanaged cloud server or forgotten staging environment), a vulnerability management solution will ignore it.
ASM solutions try to discover assets that might or might not be on existing inventory lists. They include public-facing assets that would be discoverable to attackers.
Vulnerability management uses static Common Vulnerability Scoring System (CVSS) scores to measure potential risk. A vulnerability management solution will then send alerts to teams based on that scoring.
An ASM solution, on the other hand, pairs discovered assets with real-time threat intelligence. For example, it determines whether an exploit kit exists for a particular vulnerability, which can help teams understand whether an attack is imminent. It also highlights vulnerabilities that are exposed directly to the public internet, as opposed to flaws that might be protected by existing defenses.
Building an enterprise ASM program
Teams that want to build an ongoing enterprise ASM program should focus on key use cases (such as securing cloud storage, eliminating shadow IT, and meeting regulatory compliance) while also ensuring that they can demonstrate business value to executives and board members.
- Secure public cloud storage: Exposed cloud storage buckets (such as AWS S3 and Azure Blob buckets) are frequent vectors for data leaks. Organizations can use ASM to continuously crawl public code repositories, web scripts, and mobile apps to find leaked bucket URLs and API keys before attackers do. They can also establish internal policies, such as blocking public access for storage buckets, that prevent mistakes from exposing files.
- Eliminate shadow IT: Teams might quickly spin up servers or register new domains without checking in with security teams. Organizations can use ASM to continuously watch public DNS records, certificate transparency logs, and IP blocks to detect new assets. They can then assign ownership to the right team, ensure security is in place, and keep track of the assets to make sure nothing is orphaned or forgotten.
- Meet regulatory compliance: Regulatory requirements may call for ongoing monitoring in addition to periodic penetration testing. Organizations can use ASM to automatically generate date-stamped audit trails that prove they are continuously mapping and monitoring all internet-facing systems. ASM can also help organizations adhere to tight disclosure timelines by finding and helping control forgotten systems that might otherwise remain vulnerable for months.
- Demonstrate ROI to leadership: ASM can help organizations reduce the costs of manual penetration testing, third-party audits, and external vulnerability research. Teams using an ASM solution can clearly show the savings achieved by these changes. In addition, they can measure and report on the reduction in public-facing attack vectors, translating technical improvements into a financial risk model that highlights the avoidance of multi-million-dollar breaches.
- Reporting to the board: Board members want to know that any ASM program or solution will successfully reduce risk and enhance business resilience. Security teams should use the ASM solution to show directors what an attacker sees. They can then demonstrate how the solution helps accelerate discovery and remediation of vulnerabilities, reduce shadow IT, and shrink exposure windows. In addition, security teams can explain how ASM can ultimately help decrease cyber insurance costs by reducing external risks.
Implement ASM with F5
F5 provides ASM capabilities through F5 Distributed Cloud Web App Scanning. Organizations can continuously scan their external attack surface to uncover exposed web apps and APIs. Distributed Cloud Web App Scanning discovers and reports vulnerabilities using automated penetration testing. Integrations with EASM tools expand available discovery capabilities.
In addition, the F5 Application Delivery and Security Platform (ADSP) enables organizations to scan and protect APIs and applications, detect zero-day threats, and automate responses. The platform simplifies vulnerability management of complicated hybrid multicloud environments by unifying point products on a converged platform and enforcing policies across environments and workloads.
Frequently asked questions
What is attack surface management (ASM)?
Attack surface management (ASM) is the process of continuously discovering, analyzing, prioritizing, remediating, and monitoring digital entry points and assets that attackers might exploit.
How is attack surface management (ASM) related to external ASM (EASM)?
External attack surface management (EASM) is a component of ASM. It focuses on discovering vulnerabilities in external, public-facing digital assets (such as websites, domain name servers, and cloud storage buckets), and it typically uses methods that attackers would use to uncover areas for exploit. ASM discovers not only external digital assets but also internal assets (like workstation endpoints, internal databases, and software repositories).
How does attack surface management (ASM) differ from more traditional vulnerability management?
Traditional vulnerability management focuses on patching known assets and assessing risk based on the static Common Vulnerability Scoring System (CVSS). Attack surface management (ASM) discovers all assets, known and unknown. It then uses real-time threat intelligence to determine which vulnerabilities should be addressed first.
What are the four core phases of the attack surface management (ASM) lifecycle?
The four phases of the ASM lifecycle include asset discovery, classification, risk prioritization, and remediation/continuous monitoring. An ASM discovers external-facing assets and internal assets; classifies those assets by function, sensitivity, and other criteria; uses real-time threat intelligence to prioritize vulnerabilities by risk; and then recommends remediation actions while conducting continuous monitoring.