Attack Surface: What an Attacker Can Reach
Suppose a company removes an old upload page from its website menu but leaves the service running. Staff may consider it retired. Yet someone who knows the address can still send files to it. The menu changed; the exposed service didn't.
An attack surface is the set of points where someone could try to enter a system, affect its operation or extract data. That includes legitimate features the organization needs. A service doesn't have to contain a known flaw to belong on the map. NIST's definition covers attempted access, effects and data extraction.
Follow the Upload Past the Web Page
Take a document-upload service. The software behind it has several points of interaction:
- The upload form accepts files and other information from users.
- The sign-in and account-recovery pages handle access to accounts.
- The administration controls let authorized staff change settings or manage records.
- The storage connection moves documents to and from the place where they're kept.
An application programming interface, or API, lets other software request actions or exchange data. That is another point of interaction to examine.
OWASP's application attack-surface guidance considers inputs, outputs, access controls and valuable data together.
Watch Hackers Take Control of a Jeep Miles Away
Visitors, customers and administrators can reach different functions. Internal interfaces also matter once an attacker has access to the internal network. A public-internet view doesn't show every starting point.
Exposure, Weakness and Risk Are Different Findings
Keep the upload service in view. Accepting a document from a customer makes the upload interface part of the attack surface. It doesn't establish that accepting documents is a security flaw.
Now suppose a mistake in the service's permission checks lets one customer retrieve another customer's private files. That is a vulnerability: a weakness someone can exploit. NIST's vulnerability definition includes weaknesses in controls and procedures as well as software.
The risk depends on how likely harm is and what its consequences would be. What information could be exposed? How easily could someone reach and use the weakness? What would that mean for the people whose documents are stored there? Those questions add information that an interface count cannot provide. NIST's risk definitions connect likelihood with adverse impact.
One poorly protected administration function could deserve more attention than several pages of public information. Counting each as one item would conceal the difference in what someone could do with it.
The same distinction applies to a network port, a numbered communication point used by a service. Finding a reachable service is a reason to examine it, not proof that it can be broken into.
- Stop a stranger from plugging a drive into a computer you leave unattended.
- Lock ten ports at once, and open them again with the included key.
- Keep dust out of the ports you rarely use.
Decide Which Access Still Serves a Purpose
If the forgotten upload service has finished its job, retiring it removes that route for submitting files.
The current upload service still has a job: customers need to send documents. The organization can instead restrict who can use particular functions, fix weaknesses and keep the software maintained. Account identity and permissions deserve separate checks: accepting a sign-in doesn't settle which documents that account may open.
A patch, a software update that fixes a problem, could repair the hypothetical permission error while leaving the required upload feature in service. The feature remains part of the attack surface and still needs an owner.
The Australian Signals Directorate's architecture guidance recommends removing unnecessary services, restricting connections and maintaining exposed software. It also covers providers that run or manage systems for customers. Moving documents to a provider doesn't make the application's connection or access settings disappear.
OWASP recommends reassessing applications as they change, including old versions and unused features that are still running. For the retired upload page, the revealing check is whether it still accepts files.
Cyber Reconnaissance: How Ordinary Facts Become an Attack Plan

Dynamic Attack Surfaces: What Changed Since Your Last Check?

Vulnerability Scans: What Could the Scanner Actually See?

QUOTE:
"Amateurs hack systems, professionals hack people."
