ThreatFoundacademy
Bug Bounty Hunting
Bug Bounty Hunting

Reconnaissance: mapping the attack surface

You can’t test what you can’t see. Find subdomains, live hosts, endpoints and the technologies behind them.

9 min read

Most bounties are won in recon. The researcher who finds the forgotten staging box, the new API, or the dangling subdomain tests things nobody else is looking at.

The pipeline

  • Subdomain enumerationsubfinder, passive sources (crt.sh, Shodan, SecurityTrails) to find *.target.com.
  • Resolutiondnsx / puredns to keep only hosts that actually resolve.
  • Probinghttpx to find which are alive, their status, title and tech stack.
  • Crawlingkatana to collect endpoints, parameters and JavaScript files.
  • JS miningjsluice to pull hidden API routes and leaked secrets out of bundles.
subfinder -d target.com -all -silent \
  | dnsx -silent \
  | httpx -silent -title -tech-detect -status-code

Recon is most valuable when it’s continuous. New subdomains and endpoints appear constantly — diffing today against yesterday is where fresh, undup’d bugs come from.

Stay in scope

Every tool above can wander outside the authorised targets. Always filter discovered hosts against the program’s scope before you probe them — a fail-closed allowlist is the safe default.