Mapping Your External Attack Surface Before an Attacker Does
Have you ever noticed how an auditor works? They do not accept the asset register at face value. They walk the premises and compare what they find with what the records say, and the differences are where the questions begin. An attacker does something similar from the outside. Long before a password is guessed or a phishing email is sent, they study whatever is publicly visible about the organisation and note where it does not match what the organisation thinks it has. That includes its domain names, its internet-facing services and the technology it runs. It also includes the people who work there. None of it needs an account or special access, and you can look at your own organisation the same way.
What an outsider sees
Your external attack surface is everything that can be reached or discovered from the internet and used against you. Websites, login pages, APIs, mail servers and cloud storage are the obvious parts. So are code repositories and leaked credentials, even though they are not systems at all.
The important point is that the surface is defined by what the internet can see and not by what your inventory lists. In most organisations the two are quite different.
The things people forget
Some of the most useful clues for an attacker are the least visible from the inside. Public certificate transparency logs record every certificate issued for your domain names, and they often reveal staging sites, admin panels and internal tools that were given a public certificate and then forgotten. Internet-wide search engines record which addresses answer on which ports, so remote desktop services, databases and management interfaces facing the internet are easy to find. Web servers and login pages frequently announce which software and version they run, which tells an attacker which known weaknesses to try.
Then there is the clutter that builds up over the years. Old login pages, retired marketing sites and test servers that were never switched off. Repositories, shared documents and storage buckets that were made public by mistake, some of them containing keys or passwords. Even staff names and email formats matter, because they make a phishing message far more convincing.
How attackers use it
Attackers choose targets by effort and reward. A forgotten server running an old version with a known flaw is much easier to break than the main website, so that is where they begin. A management interface with a default or weak password can give access within minutes, and a key leaked in a public repository can open a cloud account directly. The weakest asset on the surface sets the risk for the whole organisation.
Looking at your own surface
The same exercise works in your favour, and it does not take long to start. Begin with the domains you own and search certificate transparency logs for every certificate issued under them. Set the results beside your inventory and note every name nobody recognises. Check where each name points as well. A record that points at a service you stopped using can sometimes be claimed by someone else.
Next look at what answers on your public addresses. Use only addresses you own or are authorised to test, because probing systems you are not authorised to assess can be illegal and can disrupt services. List the open ports and the services behind them, and challenge any management, remote access or database service that the internet can reach. Each one needs a named owner and a business reason to be exposed.
Then search for your own material on public code hosting, document sharing and paste sites. If you find a live key, password or token, treat it as compromised. Revoke or rotate it first and establish how it was exposed afterwards. Once something has been public you cannot assume it was not copied.
Finally rank what you found by how exposed each item is, what it holds and how easy it is to attack. Address the public, sensitive and easy ones first. Because the surface changes every time someone launches a service or opens an account, a one-off map becomes outdated quickly. Continuous external attack surface management (EASM) exists for that reason. It keeps discovering and checking what an outsider can see, including systems nobody told the security team about, and that is what QStellar's Attack Surface module helps you monitor. It follows certificate transparency logs and TLS certificates to find the domains your internet-facing hosts serve, and it tracks certificate expiry, open ports and exposed services. It also shows what changed between one scan and the next. The routine watching is handled for you, so your team can spend its time on the work that matters more.
QStellar's DarkWatch covers the leaked credential side. It monitors dark web sources for leaked credentials and for mentions of your domains and brand, and links each leak to the assets in your inventory.
Key terms
- Attack surface
- Everything about your organisation that an attacker could try to reach or abuse, from websites and servers to people and suppliers.
- EASM
- Continuously finding and checking the systems an outsider can see from the internet, including ones nobody told security about.
- Exposed service
- A system or port reachable from the internet, such as a remote desktop, database or admin page, often without meaning to be.
Discussion
Loading the discussion