In short
The attack surface is the set of entry points through which an attacker can attempt to gain access to a system, carry out actions within it, or extract data from it: web applications, APIs, exposed services, accounts, equipment, service providers, and employees. The broader it is, the more entry points there are to monitor. Reducing it starts with an honest assessment of what is actually exposed, because you can’t protect what you don’t know you have.
The Three Dimensions
- External surface: everything accessible from the Internet, including websites, APIs, VPNs, email, cloud services, and subdomains.
- Internal surface area: what an attacker can access once inside the network—workstations, servers, Active Directory, and file shares.
- Human and third-party attack surfaces: employees who can be targeted through social engineering, service providers, and software that has access.
What expands it without our knowledge
- Test or pre-production environments that remain online.
- Subdomains that point to deleted services are vulnerable to takeover.
- Administration interfaces accessible from the Internet.
- Undocumented APIs or old versions that have never been retired.
- SaaS tools subscribed to without going through the IT department (shadow IT).
- Accounts belonging to former employees or contractors that have never been deactivated.
Mapping and Reducing It
ANSSI recommends creating and maintaining a map of the information system. For the external surface, the process involves identifying domains, IP addresses, and exposed services; closing off what does not need to be public; placing the rest behind strong authentication; and then regularly testing what must remain open.
Frequently asked questions
What is the difference between an attack surface and a vulnerability?
The attack surface is the set of all possible entry points; a vulnerability is an exploitable weakness in one of them. Reducing the attack surface decreases the number of places where a vulnerability might be found.
Sources
Find out where an attacker would get in.
Our AI agents actually attack your scope, fully automated, and hand you the proof of every vulnerability.
