Subdomain & live-host enumeration
When it applies
External, in-scope, wildcard programs where surface = subdomains. Do this before hunting;
most bugs live on forgotten hosts (staging, dev, legacy, acquisitions).
Why it works
Organizations sprint faster than they inventory. Passive sources (CT logs, DNS aggregators)
plus permutation/brute-force surface hosts nobody remembers — and those skip the hardening
the flagship app got.
Method
- Passive (fast, quiet):
subfinder -d target.com -all -silentand `amass enum -passive
-d target.com`. Pulls CT logs, PassiveDNS, search engines — no packets to the target.
- Resolve & dedupe:
dnsx -l subs.txt -a -resp -silentto keep only records that resolve
(drops dead CT noise) and grab their IPs.
- Brute/permute for hidden hosts:
puredns/shufflednswith a DNS wordlist +dnsgen
permutations (dev-, -staging, region prefixes) against resolvers.
- Probe live web:
httpx -l resolved.txt -sc -title -tech-detect -cdn -silent→ status,
title, tech, CDN. This is your ranked target list.
- Port sweep where allowed:
naabu -l hosts.txt -top-ports 1000to find non-web services.
Gotchas
- Wildcard DNS (
*.target.com→ one IP) creates false positives — filter withdnsx/puredns
wildcard detection before trusting a hit.
- Confirm each host is in program scope before probing; out-of-scope acquisitions are a trap.
- CDN/WAF IPs are shared — don't port-scan Cloudflare ranges; find origin instead.
Verify success
A deduplicated list of resolving, in-scope hosts with status/title/tech — the input to
content discovery and per-class hunting.
References
ProjectDiscovery docs (subfinder/httpx/dnsx/naabu); OWASP Amass; TomNomNom recon workflow.