Most organisations can list their main website and their email provider. Far fewer can list every subdomain, every cloud host, every forgotten test server and every login portal that a stranger on the Internet can reach. That gap between what you think is exposed and what is actually exposed is exactly what an external attack surface assessment is designed to close. This article explains what the assessment is, what it looks at, how the discovery work is done and how to turn the results into practical improvements.
What “external attack surface” means
Your external attack surface is everything related to your organisation that can be observed or reached from the public Internet without any prior access. It typically includes:
- Domains and subdomains registered by or for your organisation, including old campaign sites and regional variants.
- IP addresses and netblocks assigned to you, or hosting your services at a cloud or hosting provider.
- Hostnames and exposed services, such as web servers, VPN gateways, remote access portals, mail servers, databases or management interfaces listening on public ports.
- Third-party and SaaS footprints that carry your name, such as support portals, status pages or marketing platforms on custom subdomains.
- Publicly available organisational information: employee names and roles, email address formats, technology stack hints in job postings, documents with metadata.
- Credentials and data in breach datasets that relate to your domains.
None of this requires an attacker to break anything. It is the reconnaissance picture anyone can assemble, and it is usually the first step in a targeted attack.
What an attack surface assessment is (and is not)
An external attack surface assessment is a structured, largely passive exercise to discover, map and contextualise your Internet-facing assets and exposures. The goal is visibility: an accurate inventory, with the risky items highlighted.
It is deliberately low-touch. The bulk of the work relies on public sources and existing Internet-wide data rather than probing your systems directly. That makes it a good starting point when you are not yet sure what you own, or when you want a view of your footprint before deciding where deeper testing should go.
It is not:
- an active vulnerability scan of every discovered host;
- a penetration test that attempts to exploit weaknesses;
- a guarantee that every asset has been found, since discovery depends on what is publicly observable.
If you need agreed systems actively scanned for known vulnerabilities, that is a different service, which we cover in Attack Surface Assessment vs. Vulnerability Assessment.
How discovery works
A good assessment combines several independent sources, because each one sees only part of the picture. The main techniques are:
Certificate transparency logs
Publicly trusted TLS certificates are recorded in certificate transparency (CT) logs. Searching these logs for your domains often reveals subdomains that never appear on your website, such as staging environments, internal tools exposed by mistake or services set up by a single team.
DNS records and passive DNS
Querying DNS records (A, AAAA, CNAME, MX, TXT, NS) for known names shows where services are hosted and which providers you rely on. Passive DNS datasets, which record historical resolutions observed over time, help uncover names and IP addresses that were used in the past and may still be live. CNAME records pointing to deprovisioned cloud resources are a classic source of subdomain takeover risk.
WHOIS and RDAP
Registration data obtained via WHOIS and its structured successor RDAP helps confirm domain ownership, identify related domains registered with the same organisation details, and map IP ranges allocated to you by regional Internet registries.
Internet-wide scan datasets
Several projects and services continuously scan the IPv4 space and record which ports are open and what banners or certificates the services present. Querying this existing data lets an assessor see exposed services, software versions announced in banners and certificate details for your IP ranges, without sending a single packet to your infrastructure.
Search engines and code repositories
Search engine queries can surface indexed admin pages, directory listings, exposed documents and old content. Public code repositories and paste sites are reviewed for references to your domains, configuration files, internal hostnames or accidentally committed secrets.
Breach datasets and OSINT
Available breach and leak datasets are checked for records associated with your email domains, which indicates where credential reuse or phishing risk may be elevated. Broader OSINT (open-source intelligence) covers what your organisation reveals about itself: staff listed on professional networks, email naming conventions, technologies mentioned in job advertisements and metadata embedded in published files.
What gets examined once assets are found
Discovery produces a raw list. The value comes from analysing it. Typical questions include:
| Area | What the assessor looks for |
|---|---|
| Ownership | Is this asset really yours, a supplier’s, or unrelated? |
| Purpose | Production, staging, legacy, test, or unknown? |
| Exposed services | Remote desktop, SSH, databases, admin panels or file shares reachable from the Internet |
| Software signals | Version strings in banners or headers suggesting outdated software |
| Misconfiguration | Dangling DNS records, expired or mismatched certificates, open directory listings, default pages |
| Email security | Presence and policy of SPF, DKIM and DMARC records |
| Information leakage | Internal hostnames, documents, secrets or credentials in public sources |
Because this stage relies on observed data, findings such as “this banner suggests an outdated version” are indicators, not confirmed vulnerabilities. Confirming them is the job of an authorised active assessment.
What the output looks like
A useful attack surface report is something your team can actually work with, not a dump of tool output. You should expect:
- An asset inventory: domains, subdomains, IP addresses, hostnames and observed services, with how each was discovered.
- Classified findings: exposures grouped by type and rated by potential impact and likelihood, with the evidence behind each one.
- Unknown or unmanaged assets flagged separately, since these are often the most important discoveries.
- Recommendations: clear next steps, such as decommissioning, restricting access, fixing DNS records or scheduling active testing.
- An executive summary that explains the overall picture in business terms.
Limitations to keep in mind
Being honest about limitations helps you interpret the results correctly:
- Point-in-time view. Your footprint changes whenever someone launches a site or spins up a cloud instance. An assessment reflects what was observable during the engagement.
- Passive data can be stale. Internet-wide scan data and passive DNS records may lag behind reality, so some observations need verification.
- Coverage depends on visibility. Assets that are not referenced anywhere public, or that sit behind shared infrastructure, may not be discovered.
- Attribution needs care. Shared hosting and CDNs mean an IP address may serve many unrelated organisations. Good analysis avoids flagging assets that are not yours.
- No exploitation. The assessment identifies likely exposures but does not prove that they can be exploited.
How to act on the results
The assessment is only worth its cost if it leads to change. A practical sequence:
- Confirm ownership of every asset in the inventory and assign an internal owner.
- Remove what you do not need. Retire legacy sites, delete dangling DNS records and shut down forgotten test servers.
- Restrict exposed management interfaces behind a VPN, an allow-list or strong authentication.
- Address leaked information: rotate any exposed credentials or secrets, and reinforce awareness for staff whose details appear in breach data.
- Plan active testing for the assets that matter most, under written authorisation, to confirm and prioritise real vulnerabilities.
- Repeat periodically, so the inventory stays current as your environment changes.
A reminder on scope: even passive work should be agreed in advance, and any active testing of systems must only be carried out with written authorisation from whoever owns or controls them.
Who benefits most
An external attack surface assessment is particularly useful for organisations that have grown through acquisitions, rely heavily on cloud and SaaS services, have had several agencies build web properties over the years, or simply have never compiled a complete external inventory. It is also a sensible first step before an external vulnerability assessment, because it tells you what should be in scope.
Getting started
If you want a clear, evidence-based picture of what your organisation exposes to the Internet, our Attack Surface Assessment covers the discovery, analysis and reporting described above, and can be followed by an External Vulnerability Assessment of the systems you choose. To discuss your environment and receive a scoped proposal, request an assessment quote.