Skip to main content

Recon Mindset & Scope Mapping

Bug Bounty · Stage 2 — Recon · Level: L1 → L4 · Reading time: ~10 min

Recon isn't about collecting the biggest list. It's about finding the places nobody else is looking.

The more hunters a program has, the less valuable its obvious assets become. Recon is how you find the forgotten staging server, the new API that launched last week, or the acquired company's portal still running old code.


Two Directions of Recon​

HORIZONTAL ("what does this company own?")
◄──────────────────────────────────────────────────────────────►
example.com acquired-co.com example-cdn.net 203.0.113.0/24
│
│ VERTICAL ("what's inside each of those?")
▼
api.example.com, dev.example.com, staging-api.example.com
│
▼
/api/v2/, /admin/, /graphql, JS files, parameters, hidden features
Horizontal reconVertical recon
QuestionWhich root domains, IP ranges and brands belong to the target?What hosts, services and endpoints exist under each one?
When it mattersWide scopes ("any asset owned by X")Every scope, including single-domain ones
TechniquesAcquisitions, ASNs, reverse WHOIS, certificates, analytics IDsSubdomain enumeration, port scanning, content discovery, JS analysis
Recon finds candidates — scope decides targets

Horizontal recon often discovers assets that are not in scope. Write them down, but only test what the program explicitly allows. If something looks clearly owned and important but isn't listed, ask the program first.


Step 1 — Read the Scope Into a Machine-Usable List​

Turn the policy into files your tools can use:

scope/
├── in-scope-domains.txt # example.com, *.example.com, api.example.io
├── in-scope-ips.txt # if any IP ranges are listed
├── out-of-scope.txt # excluded hosts and patterns
└── rules.md # rate limits, required headers, banned tests

Always filter tool output against out-of-scope.txt before testing anything.


Step 2 — Horizontal Recon Techniques​

TechniqueWhat it revealsWhere to look
AcquisitionsCompanies the target bought — often older tech, separate security teamsCompany press releases, Crunchbase, Wikipedia, news
ASNs and IP rangesNetworks registered to the organisationbgp.he.net, RIR databases (ARIN, RIPE, APNIC), asnmap
Reverse WHOISOther domains registered with the same organisation or emailReverse WHOIS services (many paid; some limited free lookups)
Certificate transparencyEvery certificate issued for a domain — and its subdomainscrt.sh, Censys
Shared analytics/tag IDsDomains using the same analytics or tag manager ID belong togetherSearch engines for those IDs, builtwith-style services
Favicon hashHosts serving the same favicon, often the same productShodan http.favicon.hash: searches
Cloud rangesAssets hosted in cloud providersCertificates, DNS records pointing to cloud services
# Find ASNs for an organisation, then the IP ranges for them
asnmap -org "Example Inc" -silent
asnmap -a AS64500 -silent
Pro lane

Acquisitions are one of the best sources of findings on wide-scope programs: they're often integrated slowly, run different stacks, and were last tested before the acquisition. Check whether the program's scope includes acquired brands — some explicitly do after a grace period.


Step 3 — Vertical Recon (Overview)​

For each in-scope root domain, the next pages walk through:

  1. Subdomain enumeration — passive sources, brute force, permutations, resolving, probing.
  2. Content & endpoint discovery — crawling, archives, fuzzing, parameters.
  3. JavaScript analysis — hidden endpoints, secrets, client-side logic.
  4. OSINT, dorking & leaks — GitHub, search engines, Shodan, public docs and leaked data.

Step 4 — Prioritise, Don't Hoard​

A list of 40,000 subdomains is useless if you don't know which 20 to look at first. Prioritise hosts that look:

SignalWhy it's interesting
dev, staging, test, uat, qa, beta, old, legacyLess hardened, debug features enabled
admin, internal, intranet, vpn, sso, jira, jenkins, grafanaPowerful functionality, sometimes exposed by mistake
api, api-v1, gateway, graphqlDirect access to business logic
Unusual technologies or portsFewer hunters have the knowledge to test them
Login pages for internal toolsDefault credentials, auth bypass, known CVEs
Recently appeared hostsBrand-new, untested code
Errors, default pages, "it works!"Misconfiguration or takeover candidates

Step 5 — Monitor for Change​

Programs change constantly. New subdomains, new features and new JavaScript files appear weekly. Professionals run recon continuously and get notified about what's new:

# Only new subdomains get printed and appended
subfinder -d example.com -silent | anew subs.txt | notify -silent

The first hunter to test a brand-new asset has a huge advantage. More on this in Automation Pipelines.


Key Takeaways​

  • Horizontal recon finds what the company owns; vertical recon finds what's inside each asset.
  • Turn the scope into files and filter every result against out-of-scope lists.
  • Prioritise unusual, new, internal-looking and development hosts.
  • Continuous monitoring beats one-off recon on busy programs.

Next​

Subdomain Enumeration