liveBook · Manning

Attack surface

As explained in Think Like a CTO

The complete set of points, interfaces, systems, and pathways through which an attacker could compromise or leak organizational assets.

An attack surface is every possible avenue through which an attacker could compromise systems or leak organizational assets. Reducing it is an ongoing responsibility: new services, releases, devices, and connections can change the exposure. section 12.6.1 section 12.0

Manage the attack surface by making exposure visible and limiting unnecessary pathways:

  • Inventory systems and interfaces, treating every network-connected device as a potential threat, even when it appears benign. section 12.1.3
  • Separate production and development environments from back-office networks to prevent unknown devices from extending access. section 12.1.3 section 12.6.1
  • Replace shared database credentials with individual accounts so access can be limited and activity attributed. section 12.6.1
  • Reevaluate defenses whenever a release is deployed or a service is introduced, rather than treating the assessment as a one-time exercise. section 12.6.1 section 12.0

A small change with a significant effect

A company runs production servers in the same network space as development servers and gives too many people access. Isolating production and assigning personal database credentials reduce exposure without requiring a sweeping transformation. section 12.6.1

How Think Like a CTO covers it

How deep it goes
Defines the concept and gives practical network and credential examples, while stopping short of exhaustive security treatment.
Examples
Uses shared database credentials, mixed production and development networks, network-connected devices, and newly deployed services.
What it assumes
Assumes organizational responsibility for systems and access, while teaching the concept through basic infrastructure examples.
What you can do after
Apply it by inventorying exposure, isolating environments, assigning accountable access, and reassessing defenses after changes.
How it connects
Connects security monitoring, network isolation, access control, credential management, and production environments.

Also explained in

Compare how 4 books explain attack surface →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Think Like a CTO. The section links point to the parts of the book it draws on.