Attack Surface Management: A Practical Guide for Lean Security Teams
Attack surface management (ASM) is the ongoing practice of finding every asset an attacker could reach, knowing who owns it, checking it for exposures, and shrinking or fixing what shouldn't be there. For a lean team, it comes down to one question asked on repeat: what do we have exposed right now, and is any of it dangerous? This guide covers how to run attack surface management with one to three people and no dedicated budget line, what to track, and which parts are worth automating first.
Why attack surface management matters more for small companies
Large enterprises lose track of assets because they have too many. Startups lose track because nobody is assigned to keep track. A preview environment spun up for a demo, a marketing site on a no-code builder, a staging API someone exposed "for an afternoon", a storage bucket shared with a contractor: each one is created quickly and almost never retired formally.
Attackers don't need your asset list. They rebuild it from public data, and the economics favor them. Verizon's 2025 Data Breach Investigations Report found that exploitation of vulnerabilities as an initial access step grew by 34% and now accounts for 20% of breaches, and that only about 54% of perimeter device vulnerabilities were fully remediated, with a median of 32 days to do so. You can't patch a host you don't know about, so the inventory has to come first.
The CIS Critical Security Control 1 makes the same point: you need to "accurately know the totality of assets that need to be monitored and protected," including cloud assets, and identify unmanaged ones to remove or remediate.
The attack surface management loop
Most ASM programs, whatever the vendor calls them, run the same four-stage loop. The difference between a working program and a spreadsheet nobody opens is whether the loop actually repeats.
1. Discover
Build the list of things an outsider can reach, starting from what you know (root domains, cloud accounts, known IP ranges) and expanding through public sources: certificate transparency logs, passive DNS, historical archives, code repositories and JavaScript bundles. The step-by-step commands live in our walkthrough on how to map your external attack surface.
2. Inventory and attribute
Every discovered asset needs three fields before it is useful: what it is (technology, purpose), who owns it (a person, not a team alias), and whether it should exist. An unowned asset is the single most reliable predictor of a future finding, because nobody patches what nobody owns.
3. Assess
Check each asset for the exposures attackers actually use: outdated software with known CVEs, exposed admin panels, open databases, misconfigured storage, leaked secrets, weak TLS, dangling DNS records. This is where attack surface management overlaps with vulnerability management; we break down the boundary in attack surface management vs vulnerability management.
4. Reduce and monitor
Decommission what shouldn't exist, fix what should, and watch for change. New subdomains, new open ports and new certificates are the signals that something was deployed outside your normal process. CISA's internet exposure reduction guidance frames the same loop as assess exposure, evaluate whether it's necessary, mitigate what remains, and "establish routine assessments."
What's actually on a startup's attack surface
Here's a realistic map of asset types, what tends to go wrong with each, and how to check it. Treat it as a checklist for your first inventory pass.
| Asset type | Common exposure | How to check |
|---|---|---|
| Subdomains and DNS | Forgotten staging/dev hosts; dangling CNAMEs pointing at deleted cloud resources | CT logs + passive DNS; subdomain takeover scanner |
| Web apps and marketing sites | Outdated CMS or framework with public CVEs; exposed debug pages | Stack fingerprinting to identify versions, then a vulnerability scan |
| APIs | Undocumented or old versioned endpoints still live | Endpoint discovery from JS bundles, docs and archives |
| Cloud storage | Public buckets, listable objects | Cloud misconfiguration audit for public resources |
| Frontend code | API keys and internal endpoints shipped in JS bundles | JS secrets scanner |
| Backend-as-a-service | Firebase rules or Supabase RLS that allow anonymous reads | Unauthenticated read tests against rules/policies |
| Hosts and ports | SSH, RDP, databases or admin consoles open to the internet | Port scan with service fingerprinting |
| TLS | Expired certs, legacy protocols, weak ciphers | TLS configuration check |
| People and identities | Leaked employee credentials, exposed emails | Breach and credential-leak lookups |
Don't try to cover every row in week one. Subdomains, cloud storage and exposed ports produce the highest-impact findings for the least effort, so start there.
A cadence a two-person team can sustain
The failure mode of attack surface management at small companies isn't bad tooling. It's a big kickoff project that never repeats. A smaller routine that actually runs beats a thorough one that runs once.
Continuous (automated):
- Alert on new subdomains and new certificates issued for your domains.
- Alert on newly opened ports on known IPs.
- Re-scan assets after each production deploy if you can wire it in.
Weekly (30 minutes):
- Review the diff: what appeared, what disappeared, what changed technology or version.
- Assign an owner to anything new. If nobody claims it in a week, schedule it for shutdown.
- Triage new high and critical findings.
Monthly (2 hours):
- Walk the full inventory. Confirm each asset still has a living owner and a reason to exist.
- Check cloud accounts directly for resources that never got a DNS name (direct IPs, load balancers, buckets).
- Review third-party exposure: vendors with access, SaaS tools on your subdomains.
Quarterly:
- Compare your inventory against what an outside tester would find. A continuous testing setup or a one-off external pentest is a good audit of whether your discovery is actually complete.
Ownership rules that make it work
A few rules do most of the work:
- Every asset gets a named human owner. "Platform team" doesn't count.
- Unowned means scheduled for removal. This one rule cuts sprawl faster than any scanner.
- New internet-facing assets go through one path. Infrastructure as code, a shared DNS zone with review, or at least a Slack channel where launches are announced.
- DNS records are deleted before the resource they point at. Reversing the order is how subdomain takeovers happen.
- Severity drives SLAs, exposure drives severity. A medium-severity bug on an internet-facing login page outranks a high on an internal-only host.
Metrics worth tracking
Skip vanity numbers like "assets scanned." Track the handful that show whether your attack surface is shrinking and under control:
- Unknown-to-known ratio: assets discovered by scanning that weren't in your inventory. It should trend toward zero.
- Unowned assets: a count that should be zero at the end of each weekly review.
- Time to detect a new asset: from deployment to first appearance in your inventory.
- Mean time to remediate high/critical exposures, measured against your own SLA.
- Total internet-facing services: fewer is better. Celebrate decommissions.
Common mistakes
- Scanning only what's in the CMDB. The point of ASM is to find what isn't there. Always start discovery from public data, not your internal list.
- Treating discovery as a one-time project. Your attack surface changes every time someone deploys. A snapshot is out of date within weeks.
- Ignoring non-production. Staging environments often have production data copies, weaker auth and no WAF.
- Alert fatigue. Feeding every informational finding into Jira trains people to ignore the queue. Route only high and critical findings and new-asset alerts to humans.
- Testing assets you don't own. Discovery surfaces third-party and look-alike domains. Only scan what you own or are authorized to test.
How SecurityInfinity fits
SecurityInfinity runs autonomous AI agents for recon, web, network and secrets checks against domains you've verified you own (via a DNS TXT record or a matching work email). Scans are read-only. The agent pivots on what it finds; a newly discovered subdomain, for example, gets fingerprinted and checked in context. Every finding includes evidence and exact remediation, ordered by severity. The free Starter plan covers one verified domain with 100 credits and no card. Pro ($9/month) adds continuous monitoring and re-scans, compliance mapping and Jira/PDF exports, which covers the "continuous" layer of the cadence above. Details are on the pricing page.
If you'd rather see your attack surface before setting up any routine, start a scan on your primary domain and use the results as your first inventory.
Frequently asked questions
What is attack surface management in simple terms?
Attack surface management is continuously finding everything an attacker could reach, such as domains, servers, APIs, cloud storage and exposed credentials, then fixing or removing what's risky. It differs from a one-off audit because it runs as a loop: discover, inventory, assess, reduce, repeat.
What is the difference between ASM and EASM?
ASM is the umbrella practice and can include internal assets, identities and cloud resources. External attack surface management (EASM) focuses only on what's reachable from the internet, seen from an attacker's point of view. For most startups the external surface is where the urgent risk is, so EASM is the practical starting point; see our EASM explainer.
How often should you scan your attack surface?
Discovery and change alerts should run continuously or at least daily, because new assets appear with every deployment. Human review works well weekly, with a deeper inventory walk monthly. Point-in-time pentests are still useful on top, but they miss what changes between tests.
Do small companies really need attack surface management?
Yes, arguably more than large ones, because small teams deploy fast and rarely formally decommission anything. You don't need an enterprise platform. A named owner per asset, automated discovery and a 30-minute weekly review cover most of the risk.
Is attack surface management the same as a penetration test?
No. ASM tells you what's exposed and flags known weaknesses on an ongoing basis. A penetration test goes deep on a defined scope to find exploitable issues such as access-control and business-logic flaws. Mature programs use ASM to keep pentest scope accurate and pentests to validate what ASM can't.