Instead of defining attack surface management in the abstract, let us do one from start to finish for an imaginary company: a mid-sized freight and warehousing firm headquartered in Nashik, with offices in Indore and Visakhapatnam. The security lead, Gurpreet, has been told to answer one question for the board: “What can an outsider see of us?” Her inventory spreadsheet says the company has 14 internet-facing systems. Let us see what happens.

Step 1: Start from what an outsider can find, not from your list

The inventory is a record of what people remembered to write down. An attacker does not read it. So Gurpreet begins from public traces. She lists the company’s registered domains, including old brand names and the ones bought for a campaign in 2019. Then she looks at certificate transparency logs, public records that every publicly trusted TLS certificate is written into. Searching them for the company’s domains shows every hostname that has ever had a certificate issued, including internal-sounding names that were meant to stay quiet. She also pulls DNS records for each domain, checks the company’s registered IP ranges and the cloud accounts finance pays for, and looks at what a search engine has indexed.

The result: 41 distinct hostnames resolving to public addresses, against the 14 on the spreadsheet.

Step 2: Sort the surprises

She goes through the 27 extras and finds they fall into a handful of kinds:

  • Eleven are staging or test copies of known applications, several using real customer data copied for testing.
  • Six belong to an agency that built a customer-tracking microsite and a promotional page, now dormant.
  • Four are cloud virtual machines launched by a developer who has left, one with a remote administration service open to the whole internet.
  • Three are SaaS tools, such as a survey and a helpdesk, set up by departments on a company email without telling IT. This is shadow IT in its everyday form.
  • Three are old DNS records still pointing at cloud resources that no longer exist.

Check the arithmetic: 11 + 6 + 4 + 3 + 3 = 27, and 14 + 27 = 41. Good.

The last group deserves a moment. A DNS record that points to a cloud service the company has since cancelled can sometimes be claimed by someone else who registers that same cloud resource name. They then control content served on a hostname that carries your company name. This is called subdomain takeover, and it is a favourite of phishing crews because the address looks genuine. The fix is dull: delete the DNS record.

Step 3: Ask four questions of each asset

Gurpreet does not try to fix everything at once. For every asset she asks the same four things. Who owns it? Is it still needed? What does it expose, in terms of services and data? And is it patched and monitored? An asset with no owner is the real finding, because every later task depends on someone being accountable.

She then ranks by risk, which here means exposure multiplied by what is at stake. The virtual machine with open remote administration and the staging sites holding real customer records go to the top. A dormant promotional page with no data is low priority, though it still needs a decision.

Step 4: Decide, then act

Every asset ends up in one of four bins: retire it, bring it under management, restrict who can reach it, or accept the risk with a named owner and a review date. For Gurpreet’s findings, the unclaimed DNS records and four orphaned machines are retired after a quick check that nothing depends on them. Staging sites are put behind the company VPN or single sign-on and get synthetic data. The three SaaS tools are brought under company accounts, with SSO and proper offboarding. The agency sites are either handed to a real owner or taken down.

Note what she did not do: she did not shut things down blindly. Retiring something nobody can explain is how you discover, at month-end, that the finance team’s reconciliation depended on it. Ask first, with a short deadline, and then switch off.

Step 5: Make it repeat

A one-off discovery goes stale within weeks, because new assets appear whenever someone launches a cloud resource or signs up for a tool. So the real deliverable is a loop. Run discovery on a schedule, compare against the inventory, raise a ticket for anything new and unowned. Tie it to processes that create assets in the first place: a lightweight approval for new domains, tagging rules in the cloud account that require an owner tag, and procurement checks for SaaS. Commercial attack surface management tools automate much of the discovery. For a small team, a few open scripts and a monthly review can cover most of the same ground.

The limits are worth stating. External discovery sees only what faces the internet, so it will not find internal sprawl, and it can produce false positives when third-party hosting shares addresses. It also does not tell you whether an asset is vulnerable; it tells you where to point vulnerability scanning. But the first run almost always changes the conversation, because the number on the spreadsheet and the number on the internet are rarely the same.

Figures and names in the examples are illustrative.

Leave a Reply

Trending