Lesson 5 of 9 · 25m
Fingerprinting and Verifying a Takeover
Move from suspicious DNS answers to a defensible verdict using provider fingerprints, HTTP behavior, and non-destructive proof.
The most expensive sentence in a takeover report is 'this looks vulnerable.' Looks are not evidence. Providers reuse error pages, edge networks mask origin state, and stale DNS can coexist with a still-controlled service. Verification means proving two things separately: the target resource is absent or claimable, and the DNS name still delegates authority to it.
Start with the full chain
dig +trace campaign.acme-corp.com
dig campaign.acme-corp.com CNAME +short
dig acme-campaign.azurewebsites.net A +short
dig acme-campaign.azurewebsites.net NS +shortRecord the full CNAME chain, not only the first hop. A CNAME can point to another CNAME, then to a CDN edge name. The vulnerable layer may be the second or third target.
Fingerprints are hints, not verdicts
Common fingerprints include provider text such as:
Azure App Service: 'The resource you are looking for has been removed'
GitHub Pages: 'There isn't a GitHub Pages site here'
AWS S3: 'NoSuchBucket'
Heroku: 'No such app'Scanners encode these fingerprints because they are useful triage signals. But error text can change, WAFs can rewrite responses, and providers can return identical errors for disabled, suspended, or never-created resources. Treat fingerprint matches as leads.
The proof standard
For a defensive verification workflow, collect:
- DNS answer and authoritative server chain.
- HTTP response code and body hash for the hostname.
- Direct provider target response without the custom hostname, where useful.
- Provider ownership evidence from your own account inventory.
- Timestamped resolver results from at least two networks.
curl -skI --resolve campaign.acme-corp.com:443:203.0.113.10 https://campaign.acme-corp.com/--resolve can pin a hostname to an observed address for testing, but do not let it replace ordinary resolver evidence. Real users do not use your pinned result.
Claimability is provider-specific
Some providers prevent immediate reuse of tenant names. Some allow reuse after deletion but reserve names for prior paying customers. Some use random verification tokens before custom domains go live. Vendor behavior changes, so a static public fingerprint database always lags reality.
Field notes
- Never create or claim a resource outside written authorization, even 'just to prove it.'
- NXDOMAIN on the CNAME target is strong evidence of absence, but not always proof the exact namespace can be re-registered.
- Save raw command output. A screenshot of a browser error is weaker evidence than dig and curl transcripts.
- If the record is yours, the safest proof may be cleanup: remove the DNS record and confirm the exposure disappears.
Was this lesson helpful?