Ask a business owner what the company exposes to the internet and the answer is usually “the website”. Ask an attacker, and the answer is a list: domains, subdomains, servers, open ports, login pages, mail servers, forgotten test systems. That list is your external attack surface.
This guide explains what it includes, why it keeps growing without anyone deciding it should, and how to get a picture of your own.
What counts as part of it
Your external attack surface is every asset that someone on the internet can reach and probe, with no password and no access to your network. Typical parts:
- Domains and subdomains.
www, but alsoshop,mail,vpn,staging,old, and whatever a supplier registered on your behalf. - IP addresses and servers. Office routers, servers in a data centre, virtual machines in the cloud.
- Open ports and services. Every service listening to the internet: web, mail, remote desktop (RDP), SSH, databases, admin panels.
- Web applications. The public site, the customer portal, a booking system, a WordPress plugin nobody remembers installing.
- Certificates and DNS records. An expired certificate or a record pointing at a service you no longer use is both a warning sign and, sometimes, a way in.
It does not include what is only reachable from inside your network, such as the office file server behind the firewall. That is the internal attack surface, and it matters too, but it is a different job.
Why it grows by itself
Nobody sits down and decides to expand the attack surface. It grows as a side effect of ordinary work:
- A campaign site goes up on a separate server for a three-month promotion. The promotion ends. The server doesn’t.
- A supplier opens a port to troubleshoot a problem, and closes the ticket without closing the port.
- A team signs up for a cloud service with a company email, and creates a public address for it.
- A website is rebuilt, and the old version stays online “just in case”.
- A subdomain is left pointing at a service that was cancelled. Under some conditions, someone else can register that service and take over the address. This is known as subdomain takeover.
Each step is reasonable on its own. The sum is a perimeter that nobody has a complete picture of, which is why security people say you can’t protect what you don’t know you have.
Why attackers look here first
Attackers don’t usually begin by targeting a specific company. They scan the internet automatically, looking for a specific weakness: an exposed remote desktop service, an outdated plugin, a login page with default credentials. Scanning every address on the internet takes hours, not months, with freely available tools. If your asset matches, it gets found, whatever the size of your business.
That is also why small businesses are not “too small to be targeted”. The scan doesn’t know who you are until it finds the open door.
How to see your own attack surface
You can do a first pass yourself, with no special tools:
- List your domains. Check the registrar account and your invoices. Include the ones used only for email or old campaigns.
- List subdomains. Your DNS provider’s control panel shows the records you manage. Public certificate transparency logs (for example crt.sh) show subdomains that have had a certificate issued.
- Ask your IT provider and your marketing team what is hosted outside the main website, and who pays for it.
- Check what each address actually serves. Open it in a browser. A login page, a default “it works” page, or a site nobody recognises are all worth a note.
This works once. It does not tell you about open ports, it goes stale within weeks, and it misses what nobody remembers.
What continuous monitoring adds
External attack surface management (EASM) automates the same discovery and repeats it: it finds subdomains from many public sources, resolves them, scans for open ports and web services, checks known weaknesses, and compares each run to the previous one. The valuable output is the change: a new subdomain, a port that opened last night, a certificate about to expire.
Monitoring shows the part of your business that attackers see first. It does not replace patching, access control, or a penetration test. It tells you where to look.
In short
- Your attack surface is everything reachable from the internet, not just the main website.
- It grows through ordinary decisions, and shrinks only when someone notices.
- Start by listing domains and subdomains. Then make it a routine, because the list changes.