# Reconnaissance
> Recon turns a company name into a ranked, testable inventory of root domains, IP ranges, hosts, services, paths, parameters and client-side code, and answers two questions: what does the target expose, and which of those assets are likely to be weak?
## What it is
Recon is the funnel that runs before (and alongside) hands-on testing in a bug bounty or external assessment. Each layer feeds the next and returns less new surface than the one before it ([[raw/bug-bounties.as93.net/recon-methodology-for-bug-bounties-finding-attack-surface-others-miss-14252|as93]], [[raw/wiz.io/reconnaissance-overview-bug-bounty-masterclass-11938|Wiz masterclass]]):
| Layer | Question | Core tools | Rough yield (as93) | Page |
|---|---|---|---|---|
| Org / root domains | What does the company own? | Crunchbase, whoxy reverse WHOIS, RADb ASN lookup, Shodan/Censys, `amass intel` | n/a | [[Asset Discovery]] |
| Passive hostnames | Which names have ever existed? | `subfinder -all`, crt.sh, passive DNS, Wayback/gau | 60–80% of total surface in 1–2 h | [[Subdomain Enumeration]] |
| Active hostnames | Which names are unpublished? | `puredns`/`shuffledns` brute force, `alterx \| dnsx`, BBOT mutations, vhost fuzzing | +15–25% | [[Subdomain Enumeration]], [[OWASP Amass]] |
| Exposure probing | What is live, on which ports? | `httpx -tech-detect`, naabu, masscan, RustScan, nmap | n/a | [[Port Scanning]] |
| Content | What is unlinked? | ffuf/feroxbuster, katana `-jc`, archives, Arjun | +5–10% | [[Content Discovery]] |
| Client-side code | What do the bundles reveal? | katana/gau → LinkFinder, source maps, SecretFinder | +1–5% | [[JavaScript Analysis]] |
Why it matters to appsec: the thesis running through every source is that the best bugs sit on **forgotten assets**: staging/`dev`/`uat` hosts, non-standard ports, removed-but-still-routed endpoints, and stacks that differ from the main site. Developers remove links more often than they remove routes ([[raw/bug-bounties.as93.net/recon-methodology-for-bug-bounties-finding-attack-surface-others-miss-14252|as93]], [[raw/dev.to/the-riskiest-server-is-the-one-nobody-remembers-a-checklist-for-forgot-13627|dev.to forgotten-server checklist]]). The defender-side version of the same work is EASM ([[Asset Discovery]]).
## Core concepts
- **Seed list vs. fan-out.** Org-level discovery (acquisitions, reverse WHOIS, ASN → CIDR, cloud tenants) produces the seeds; everything else fans out per root. Skipping it means testing only the main domain ([[raw/wiz.io/reconnaissance-overview-bug-bounty-masterclass-11938|Wiz]]). See [[Asset Discovery]].
- **Passive vs. active.** Passive (CT, passive DNS, archives, search engines, [[Google Dorking]]) sends nothing to the target but accepts stale and bogus names; active (brute force, permutations, AXFR, NSEC walking, vhost fuzzing, crawling) finds names that were never published ([[raw/projectdiscovery.io/reconnaissance-102-subdomain-enumeration-projectdiscovery-2917|ProjectDiscovery Recon 102]]). Rule: passive first, active second ([[raw/wiz.io/reconnaissance-overview-bug-bounty-masterclass-11938|Wiz]]).
- **Names are not assets.** Wildcard DNS, CDNs and dead records inflate counts; ~100,787 names collapsing to 2 real assets after correlation is the canonical example ([[raw/medium.com/from-100k-subdomains-to-a-real-attack-surface-an-external-security-ass-14397|100K → 2]]). Conversely, an IP-only view misses hosts that answer only to the right `Host`/SNI behind CDNs and TLS-SNI routing, so correlate names and IPs ([[raw/assetnote.io/internet-wide-recon-moving-past-ip-centric-approaches-4283|Assetnote]]).
- **Stale pointers.** DNS records (CNAME, NS, SPF `include`, `_acme-challenge`, `_dmarc`, DKIM) that outlive the resource they point to are the bug class recon feeds most directly: [[Subdomain Takeover]].
- **The bundle knows more than the UI.** SPAs ship routing, API calls and client-side checks; source maps can turn a black box white ([[JavaScript Analysis]]).
- **Validation over visibility.** Single-command recon is commodity: assets get hit within seconds of coming online. The edge is multi-stage pipelines producing structured output for triage ([[raw/dev.to/beyond-single-command-recon-async-multi-stage-pipelines-13910|dev.to async pipelines]]); defender ASM has moved the same way, "proof, not probability" (1,198 "critical" alerts → 31 real issues) ([[raw/projectdiscovery.io/the-2026-state-of-attack-surface-management-projectdiscovery-4672|ProjectDiscovery 2026 ASM]]).
- **Scope intersection is manual.** A scanner doesn't know scope. `subfinder | httpx` produced 151 live hosts; diffing against the written scope (`comm -12`) left 45, roughly 70% out of scope (named storage hosts, hosting panels, a second admin console). Re-run anything (e.g. a takeover sweep) that ran on the unfiltered list ([[raw/medium.com/six-days-one-target-thirty-six-tests-a-bug-bounty-bootcamp-from-recon-15887|six-day engagement]]).
- **Stop rule.** If the last hour of recon produced no new testable surface, start testing. Top earners split roughly 30% recon / 70% testing; keep content discovery running in the background while testing by hand ([[raw/bug-bounties.as93.net/recon-methodology-for-bug-bounties-finding-attack-surface-others-miss-14252|as93]]).
## How to approach it
1. **Read scope.** Confirm which roots, wildcards and ranges are in. An ASN-wide range is in scope only if the program says so; port scanning is usually fine on company-owned ranges and rarely on cloud/SaaS or web-only scopes ([[raw/intigriti.com/shodan-and-censys-for-beginners-how-to-find-more-vulnerabilities-4869|Intigriti Shodan/Censys]], [[raw/yeswehack.com/recon-series-4-port-scanning-methods-yeswehack-4438|YesWeHack port scanning]]).
2. **Expand the org** → root domains, ASNs/CIDRs, cloud tenants ([[Asset Discovery]], `amass intel`). Verify ownership by hand: Shodan/Censys org attribution is often wrong, and ProjectDiscovery calls this the phase that most needs a human ([[raw/blog.projectdiscovery.io/building-a-fast-one-shot-recon-script-for-bug-bounty-4875|PD one-shot]]).
3. **Passive hostnames** per root: subfinder/Chaos/crt.sh/Wayback/gau, dorks. Configure API keys first; keyless runs return a fraction ([[Subdomain Enumeration]]).
4. **Resolve and filter** with validated resolvers and wildcard detection (`puredns resolve`). Keep unresolved passive names aside as takeover/historical candidates ([[raw/dreamsoftragedy.com/recon-methodology-14090|dreamsoftragedy]]).
5. **Active generation**: brute force with a target-specific wordlist, permutations, ML prediction (Subwiz), vhosts, PTR sweeps, TLS SANs, AXFR. Resolve and filter again.
6. **Takeover pass** on CNAMEs and delegations ([[Subdomain Takeover]]).
7. **Ports and HTTP probe**: naabu/masscan → nmap `-sV`; `httpx` for status, title, tech, server ([[Port Scanning]]).
8. **Triage** the live list (signals below) and rank hosts.
9. **Per-host content + JS**: harvest archived/crawled URLs, then ffuf with stack-matched wordlists; mine bundles and source maps; feed new paths/params/hosts back into steps 5 and 9 ([[Content Discovery]], [[JavaScript Analysis]]).
10. **Secrets** found in JS, repos and archives → validate ([[Secret Scanning]]).
11. **Monitor**: diff runs (CT streams, `amass track`, jsmon) and alert on new surface ([[Bug Bounty Automation]]).
**Triage signals** from `httpx` output: 401/403 (something is there), default install pages, a stack different from the main site, and `staging|dev|test|uat|internal` in the name. Fingerprints pick the next test: Rails → mass assignment and IDOR; Node/Express → prototype pollution and SSRF. Cookie names (`JSESSIONID`, `PHPSESSID`, `connect.sid`) and error-page templates identify the stack ([[raw/codefam.co/the-practical-web-recon-playbook-automated-pipeline-field-tricks-15377|Codefam]], [[raw/bug-bounties.as93.net/recon-methodology-for-bug-bounties-finding-attack-surface-others-miss-14252|as93]]). Browser and CLI fingerprinting (Wappalyzer, `whatweb target.com`, `Server`/`X-Powered-By`) decides the next test: WordPress, an old Apache and Laravel each call for a different approach ([[raw/iamrudhh.medium.com/day-04-bug-bounty-introduction-to-reconnaissance-15886|Day 04 recon]]).
## Key techniques
### Org and IP space ([[Asset Discovery]])
```bash
whois -h whois.radb.net -- '-i origin AS12345' | grep -Eo '([0-9.]+){4}/[0-9]+' # ASN -> prefixes
amass intel -org 'Example Ltd' # org -> ASNs
amass intel -active -asn 222222 -ip # ASN -> domains + IPs
amass intel -d example.com -whois # reverse WHOIS -> sibling roots
```
- Shodan/Censys pivots: `org:"Target"`, `ssl.cert.subject.CN:"target.com"`, `http.favicon.hash:<mmh3>`, `ssl.cert.expired:true` for forgotten hosts; Censys `services.tls.certificate.names:"target.com"` with explicit `AND`/`OR` ([[raw/intigriti.com/shodan-and-censys-for-beginners-how-to-find-more-vulnerabilities-4869|Intigriti]]).
- Favicon hash = signed 32-bit MurmurHash3 over the base64 icon; durable but collision-prone, and honeypots skew counts ([[raw/bishopfox.com/on-favicons-from-browser-icons-to-attack-surface-intelligence-10084|Bishop Fox]]).
- Live TLS handshakes leak internal names in SANs (`DNS:admin.internal`) and `O`/`OU` conventions ([[raw/levelup.gitconnected.com/the-tls-handshake-is-recon-most-pentesters-scroll-past-it-14519|TLS handshake is recon]]).
- Origin behind CDN/WAF: `prips 93.184.216.0/24 | hakoriginfinder -h https://example.com:443/foo -p 80,443,8080,8443` (Levenshtein body match, `-l` default 5) ([[raw/github.com/hakoriginfinder-6064|hakoriginfinder]]); CloudFail for Cloudflare via DNS history ([[raw/github.com/m0rtem-cloudfail-utilize-misconfigured-dns-and-old-database-records-to-1088|CloudFail]]).
- M365/Entra tenant mapping: `./msftrecon.py -d example.com -j` (federation → SAML targets, enterprise apps, B2C) ([[raw/github.com/github-arcanum-sec-msftrecon-6042|msftrecon]]).
- SSO-fronted hosts: DNS history (SecurityTrails) can return the origin IP; one such IP served the application without the SSO wall and led to a time-based SQLi ([[raw/medium.com/how-i-discovered-a-blind-sql-injection-in-a-private-program-15837|blind SQLi write-up]]).
### Hostnames ([[Subdomain Enumeration]], [[OWASP Amass]])
- CT: crt.sh for history; `gungnir` streams new certs; `ctfr-reloaded -d target.com --source all --resolve --alive --takeover --watch --interval 1800` ([[raw/pypi.org/ctfr-reloaded-certificate-transparency-subdomain-discovery-13747|ctfr-reloaded]]). CT leaks internal app names whenever a public cert is issued for an internal host ([[raw/naveensrinivasan.com/finding-hidden-internal-apps-through-public-certificate-logs-11391|CT internal apps]]).
- Resolution: `puredns resolve` cut 28,711 shuffledns names to 12,039 after catching the `*.signon.aws.amazon.com` wildcard ([[raw/blog.projectdiscovery.io/building-a-fast-one-shot-recon-script-for-bug-bounty-4875|PD one-shot]]). Validate resolvers (`dnsvalidator`) ([[raw/github.com/reconftw-automated-recon-tool-4279|reconFTW]]).
- Permutations: `alterx | dnsx`, `amass enum -alts -awm 'dev?d'`; Subwiz v1.0 recursively predicts names (~1,200 from only `www` of a large social network) ([[raw/github.com/subwiz-v1-0-ai-subdomain-discovery-release-13461|Subwiz]]).
- BBOT: `bbot -t evilcorp.com -p subdomain-enum [-rf passive]`; 3.1 swapped massdns for blastdns 2.0 (half the wall time), fixed nested wildcard detection, and filters CDN/WAF ports by default (`--allow-cdn-ports`) ([[raw/github.com/bbot-3-1-0-faster-dns-brute-forcing-and-new-passive-subdomain-sources-14515|BBOT 3.1.0]]).
- Vhosts: `ffuf -u https://www.target.com/ -H 'Host: FUZZ.target.com' -w dns-wordlist.txt` ([[raw/intigriti.com/7-overlooked-recon-techniques-to-find-more-vulnerabilities-14251|Intigriti 7 overlooked]]).
- Amass is slow; use subfinder for fast passive passes and reserve Amass for brute force, alterations, `intel` and the graph/`track` diffing ([[raw/projectdiscovery.io/reconnaissance-102-subdomain-enumeration-projectdiscovery-2917|PD Recon 102]], [[raw/hakluke.medium.com/haklukes-guide-to-amasshow-to-use-amass-more-effectively-for-bug-bount-5847|hakluke]]).
### Passive search ([[Google Dorking]])
```
site:example.com -www -shop -share -mfa # subtract known subs
site:example.com ext:env | ext:bak | ext:log | ext:conf | ext:sql
inurl:swagger | inurl:api-docs | intitle:"Swagger UI" site:example.com
org:"example" (filename:.env OR extension:pem OR "sk_live_") # GitHub code search
```
TakSec dork set and GitHub operators ([[raw/github.com/google-dorks-bug-bounty-taksec-github-4451|TakSec]], [[raw/intigriti.com/github-dorking-for-beginners-find-more-vulnerabilities-intigriti-4450|Intigriti GitHub dorking]]). Engines don't share an index; rerun on Bing/Yandex ([[raw/cibergy.com/how-osint-investigators-search-engines-and-dorks-14062|Cibergy]]).
### Takeover ([[Subdomain Takeover]])
`dnsx -l subs.txt -a -cname -resp` → `subzy`/`subjack`/nuclei takeover templates → manual fingerprint (`<Code>NoSuchBucket</Code>`, `There isn't a GitHub Pages site here.`) against can-i-take-over-xyz. Exploitable only when the provider skips ownership verification and you can choose the resource name ([[raw/0xpatrik.com/subdomain-takeover-proof-creation-for-bug-bounties-4868|0xpatrik]], [[raw/intigriti.com/hunting-down-subdomain-takeover-vulnerabilities-4870|Intigriti takeover]]). Escalate via wildcard OAuth `redirect_uri`, `Domain=.example.com` cookies, CORS/CSP subdomain trust.
### Ports ([[Port Scanning]])
```bash
naabu -list hosts.txt -top-ports 1000 -ec -cdn -oA out # skip non-80/443 on CDN IPs
echo t.com | naabu -silent | httpx -silent
naabu -host t.com -passive # Shodan InternetDB, no packets
nmap -p- -sV --script http-title -iL live-ips.txt
```
Flag 3389, 22 (password auth), 3306/5432, 6379, 9200, 8080/8443, and self-hosted AI tooling (8888 Jupyter, 5000 MLflow, 4000 LiteLLM, 11434 Ollama, 8188 ComfyUI, 7860 Langflow, 8265 Ray), which honeypot data shows is already swept ([[raw/github.com/naabu-fast-go-port-scanner-projectdiscovery-4437|naabu]], [[raw/medium.com/who-scans-ai-infrastructure-ollama-jupyter-mlflow-data-15095|AI infra scanning]]).
### Content ([[Content Discovery]])
```bash
gau example.com | uro > archived.txt
katana -u https://t -d 3 -jc -f qurl # only parameterised URLs
cat wayback.txt | unfurl --unique keys # historical param names
ffuf -u https://t/FUZZ -w raft-medium-directories.txt -e .bak,.old,.zip -ac -rate 50 -o ffuf.json -of json
ffuf -u https://t/endpoint -X POST -d "FUZZ=5" -w params.txt -fs 4242
```
ffuf defaults to 40 threads and **no rate cap**; `-ac`/`-fs`/`-fw` kill soft-404 noise ([[raw/github.com/ffuf-fuzz-faster-u-fool-6021|ffuf]], [[raw/invadel.com/ffuf-explained-web-fuzzing-wordlists-detection-13945|Invadel]]). Wordlists matter more than the tool: SecLists, Assetnote, trickest per-tech lists, api_wordlist verb×noun Cluster Bomb ([[raw/github.com/trickest-wordlists-6061|trickest]], [[raw/github.com/api-wordlist-6028|api_wordlist]]). `405` = path exists, switch verbs. `OPTIONS` on a 405 can return a WADL listing the whole API ([[raw/blog.martindios.com/sqli-at-nasa-how-i-got-my-letter-of-recognition-15836|NASA SQLi]]).
### Client-side code ([[JavaScript Analysis]])
```bash
echo https://t | katana -jc -d 3 | grep -iE '\.js(\?|$)' | sort -u > js.txt
while read u; do python3 linkfinder.py -i "$u" -o cli; done < js.txt | sort -u > endpoints.txt
curl -s https://t/_next/static/chunks/.../page-<hash>.js.map | jq -r '.sourcesContent[]'
nuclei -l js.txt -t exposures/
```
([[raw/learn.suvendudash.com/javascript-recon-for-bug-bounty-14093|Suvendu Dash JS recon]], [[raw/infosecwriteups.com/bypassing-the-frontend-obfuscation-how-i-uncovered-a-company-s-entire-15798|source maps]], [[raw/medium.com/from-recon-to-sensitive-key-exposure-using-nuclei-4278|Nuclei key exposure]]). js-recon's `taintwire` graphs webpack/Turbopack chunks and finds Next.js intercepting routes reachable past middleware via a `Next-Url` header ([[raw/js-recon.io/js-recon-2-1-0-alpha-2-taintwire-graph-queries-and-next-js-intercept-r-14102|js-recon]]). APIs found this way continue in [[API Discovery]].
### Hidden GraphQL schemas ([[GraphQL Introspection]])
Introspection disabled does not mean schema hidden when "Did you mean" suggestions stay on, which is the default in many servers. Confirm with a near-miss query (`{ usr { id } }` → `Did you mean "user" or "users"?`), fingerprint the engine with graphw00f (tells you whether suggestions are on by default), then let clairvoyance recurse from a seed wordlist through Query and Mutation types. The payoff is hidden administrative mutations, which often have weaker authorization than anything the UI calls ([[raw/blog.arok.win/graphql-field-suggestion-abuse-rebuilding-a-hidden-schema-15821|arok.win]]).
## Tools
| Job | Tool | Notes |
|---|---|---|
| Org → roots/ASNs | `amass intel`, whoxy, RADb, Shodan/Censys, `uncover` | verify ownership manually |
| Passive subs | subfinder, Chaos, assetfinder, findomain, crt.sh, gau/waybackurls | API keys in `provider-config.yaml` |
| Resolve / brute | puredns, shuffledns (massdns), dnsx, gobuster dns | validated resolvers, wildcard filter |
| Permutations | alterx, Amass `-alts`, Subwiz, mksub | target-specific wordlists |
| Recursive all-in-one | BBOT, reconFTW, Amass `enum -active` | see Frameworks below |
| Takeover | subzy, subjack, nuclei, baddns, ShadowSaaS | can-i-take-over-xyz for status |
| Ports | naabu, masscan, RustScan, nmap | confirm masscan hits with nmap |
| HTTP probe | httpx `-sc -title -tech-detect -server` | — |
| Content | ffuf, feroxbuster, dirsearch, katana, gau/uro, unfurl, meg, Arjun | — |
| JS | LinkFinder, SecretFinder, GAP/JSLinkFinder (Burp), JSReconduit, js-recon, jsmon | — |
| Dorks | Google/Bing operators, GitHub code search, GitGot | — |
| Identity pivots | OsintHunter (local; username/email/phone/domain → correlated graph) | see [[OSINT Tools]] ([[raw/offsecblog.com/osinthunter-building-investigation-graphs-from-a-single-identifier-15845|OsintHunter]]) |
**Pipeline skeleton** (Wiz, Codefam, ProjectDiscovery). Run each scan into its own directory so runs diff ([[raw/blog.projectdiscovery.io/building-a-fast-one-shot-recon-script-for-bug-bounty-4875|PD one-shot]], [[raw/codefam.co/the-practical-web-recon-playbook-automated-pipeline-field-tricks-15377|Codefam]]):
```bash
subfinder -d target.com -all -silent > subs_subfinder.txt
curl -s "https://crt.sh/?q=%25.target.com&output=json" | jq -r '.[].name_value' | sed 's/\*\.//g' > subs_crt.txt
cat subs_*.txt | tr '[:upper:]' '[:lower:]' | sort -u > passive.txt
dig +short randomstring998877.target.com # wildcard check before brute/permutation
cat passive.txt | alterx -silent | dnsx -silent -a -resp -o perms.txt
cat passive.txt | httpx -silent -ports 80,443,8080,8443,8000,8888,3000,5000,9000 \
-status-code -title -tech-detect -server -content-length -o live.txt
awk '{print $1}' live.txt | katana -silent -jc -d 3 -kf all | grep -E '\.js(\?|$)' | sort -u > js.txt
```
Beyond the skeleton, chain headless crawl → parameter mining (Arjun) → reflection analysis (dalfox) into structured JSON ([[raw/dev.to/beyond-single-command-recon-async-multi-stage-pipelines-13910|dev.to async pipelines]]).
**Frameworks**
- **reconFTW**: passive/active subs, CT, NOERROR discovery, `hakip2host`, `cdncheck`, wafw00f, nmap, httpx, VhostFinder, gRPC reflection, LLM-endpoint fingerprinting (julius), ffuf, nuclei `-dast`, dalfox, testssl; `--incremental`, `--adaptive-rate`, checkpoints, `hotlist.txt` risk scoring, `assets.jsonl`, `SUBTAKEOVER=true`, AX-distributed runs ([[raw/github.com/reconftw-automated-recon-tool-4279|reconFTW]]).
- **BBOT**: recursive Spiderfoot-like scanner with target-specific mutation brute force; add more unfiltered resolvers for speed ([[raw/github.com/github-blacklanternsecurity-bbot-the-recursive-internet-scanner-for-ha-6049|BBOT]]).
Broader walkthroughs: [[raw/yeswehack.com/recon-roundup-ultimate-reconnaissance-guide-3635|YesWeHack Recon Roundup]], [[raw/yeswehack.com/subdomain-enumeration-expand-attack-surface-with-active-passive-method-4464|YesWeHack subdomain enum on ATG]].
## Pitfalls
- **Stopping at the main domain.** Acquisitions and reverse WHOIS surface the forgotten assets ([[raw/wiz.io/reconnaissance-overview-bug-bounty-masterclass-11938|Wiz]]).
- **Keyless passive tools.** subfinder/Amass without API keys return a fraction of results ([[Subdomain Enumeration]], [[OWASP Amass]]).
- **Unvalidated resolvers / no wildcard check.** Public resolvers return poisoned answers; wildcards are often scoped to a sub-zone (`*.api.target.com`) ([[raw/github.com/bbot-3-1-0-faster-dns-brute-forcing-and-new-passive-subdomain-sources-14515|BBOT 3.1.0]]).
- **Discarding names that don't resolve once.** A single DNS failure isn't proof a name is gone, and dangling names are takeover candidates ([[raw/execure.medium.com/quasar-a-cross-platform-subdomain-enumeration-framework-for-modern-cyb-12911|Quasar]], [[raw/dreamsoftragedy.com/recon-methodology-14090|dreamsoftragedy]]).
- **Volume as a metric.** 100K names → 2 real assets ([[raw/medium.com/from-100k-subdomains-to-a-real-attack-surface-an-external-security-ass-14397|100K → 2]]).
- **IP-only scanning.** Wrong `Host`/SNI returns a default page behind CDNs ([[raw/assetnote.io/internet-wide-recon-moving-past-ip-centric-approaches-4283|Assetnote]]); full-port sweeps of CDN edges waste time (naabu `-exclude-cdn`).
- **Bare `nmap host`.** Top 1000 TCP only, no versions or scripts; use `-p-` with `-sV`/NSE ([[raw/hakluke.medium.com/haklukes-guide-to-nmapport-scanning-is-just-the-beginning-6094|hakluke nmap]]).
- **Uncapped fuzzing and shared WAFs.** ffuf has no default rate cap; aggressive enumeration across hosts behind one bot-protection vendor can ban you from all of them. Repeated Amass runs can get your IP blocked by scraped sources ([[raw/invadel.com/ffuf-explained-web-fuzzing-wordlists-detection-13945|Invadel]], [[raw/hakluke.medium.com/haklukes-guide-to-amasshow-to-use-amass-more-effectively-for-bug-bount-5847|hakluke Amass]]).
- **Takeover false positives and theoretical reports.** Fingerprint tools misfire on providers with verification (HubSpot, Statuspage); programs want a claimed resource serving a hidden PoC page ([[raw/intigriti.com/hunting-down-subdomain-takeover-vulnerabilities-4870|Intigriti takeover]], [[raw/0xpatrik.com/subdomain-takeover-proof-creation-for-bug-bounties-4868|0xpatrik]]). A scan that silently failed transport is not "zero findings" ([[raw/secureideas.com/shadowsaas-surface-scanner-v1-1-subdomain-takeover-recon-with-proxy-su-14106|ShadowSaaS v1.1]]).
- **Reporting pattern matches as secrets.** SecretFinder hits and domain-restricted front-end keys (e.g. Mapbox) need minimal proof of access before reporting ([[raw/learn.suvendudash.com/javascript-recon-for-bug-bounty-14093|Suvendu Dash]]).
- **Trusting third-party attribution.** Shodan/Censys org fields are often wrong; confirm scope before testing ([[raw/intigriti.com/shodan-and-censys-for-beginners-how-to-find-more-vulnerabilities-4869|Intigriti]]).
- **Recon without end.** Apply the as93 stop rule.
## Real-world cases
- 100,787 wildcard names → 2 assets, one an outdated SmarterMail exposed to CVE-2025-52691 and CVE-2026-23760 ([[raw/medium.com/from-100k-subdomains-to-a-real-attack-surface-an-external-security-ass-14397|100K subdomains]]).
- waybackurls → CamelCase file-name param list → `ffuf -X POST -d "FUZZ=5"` → four injectable params via sqlmap ([[raw/0xmahmoudjo0.medium.com/how-i-found-multiple-sql-injection-with-ffuf-and-sqlmap-in-a-few-minut-5161|0xmahmoudJo0]]).
- Next.js chunk + `.map` → 81 KB of source exposing a WPGraphQL backend, form schema and env-var names ([[raw/infosecwriteups.com/bypassing-the-frontend-obfuscation-how-i-uncovered-a-company-s-entire-15798|InfoSec Write-ups]]).
- Leaked source map → hidden room-status API → valid logins → Jinja2 SSTI → root (lab) ([[raw/github.com/hacksmarter-casino-walkthrough-leaked-source-map-api-to-flask-ssti-15666|HackSmarter Casino]]).
- Hard-coded CryptoJS key in a login bundle used to encrypt a DOM XSS payload past the WAF ([[raw/0xgh4zy.medium.com/the-waf-said-no-finding-xss-through-javascript-recon-12444|0xGh4zy]]).
- `robots.txt` Disallow `/backup` → `ProductTemplate.java.bak` with a Postgres password (lab) ([[raw/infosecwriteups.com/lab-3-source-code-disclosure-via-backup-files-10525|backup-file lab]]).
- SPF `include:amzonses.com` typo on a .gov domain authorized 32,066 snowshoe-spam IPs; the same group took over dangling CNAMEs on universities and a state site ([[raw/sh.consulting/ip-snowshoeing-under-us-gov-email-via-a-whitelisted-amazonses-typo-in-13949|sh.consulting]]).
- Honeypot: 48,688 addresses hit Jupyter 8888 in 31 days, 3,173 dumped env vars for API keys ([[raw/medium.com/who-scans-ai-infrastructure-ollama-jupyter-mlflow-data-15095|AI infra scanning]]).
- Agentic frameworks (likely ARTEX) recon'd hundreds of Auth0/Okta tenants in Oct–Nov 2026: scraped `client_id`/`redirect_uri` from sign-in pages, probed redirect/scope/PKCE/DPoP/JWT-signature weaknesses, registered `i04probe<unix-ts>@…` probe accounts and `security@`/`billing@` prefixes ([[raw/okta.com/agentic-attack-tools-accelerate-reconnaissance-of-identity-flows-okta-15708|Okta]]). See [[Agentic AI Risks]], [[Account Takeover]].
- Six-day engagement on a 45-host cloud platform: both real findings (a webhook allow-list bypass SSRF and a link-preview fetch) were spotted in production JS bundles before any API testing ([[raw/medium.com/six-days-one-target-thirty-six-tests-a-bug-bounty-bootcamp-from-recon-15887|Medium]]).
## Checklist
- [ ] Scope read: roots, wildcards, ranges, port-scan and rate rules noted; live-host list diffed against the written scope by hand
- [ ] Acquisitions, reverse WHOIS, ASN → CIDR, Shodan/Censys org/cert/favicon pivots done; ownership verified
- [ ] Cloud tenants (M365/Entra) and provider-hosted names (S3, PaaS) checked
- [ ] Passive subs collected with API keys configured; CT history pulled
- [ ] Resolvers validated; wildcard test (`dig +short randomstring.target.com`) per zone and sub-zone
- [ ] Brute force with target-specific list; permutations; vhosts; PTR over ranges; TLS SANs; AXFR
- [ ] Unresolved names kept; CNAME/NS/SPF/`_acme-challenge`/`_dmarc`/DKIM checked for takeover
- [ ] Ports: top-1000 or full on owned ranges, CDN IPs excluded; risky ports and AI-tool ports flagged
- [ ] httpx fingerprints triaged (401/403, defaults, odd stacks, `dev|staging|uat|internal`)
- [ ] Archived and crawled URLs harvested; per-target wordlist built; ffuf with `-ac` and `-rate`
- [ ] 405s re-tried with other verbs; backup/variant names guessed
- [ ] JS collected live + archived; endpoints extracted; `.map` tried on every chunk; secrets validated
- [ ] New hosts/paths/params fed back into earlier steps
- [ ] Runs stored per directory; diffing and alerts (CT stream, `amass track`, jsmon) scheduled
- [ ] Stop rule checked: no new surface in the last hour → test
## Sub-pages
- [[Asset Discovery]]: org-level seeds: acquisitions, reverse WHOIS, ASNs, Shodan/Censys, favicons, origin IPs, cloud tenants, EASM.
- [[Google Dorking]]: Google, GitHub code-search and Shodan/Censys operators for passive exposure.
- [[Subdomain Enumeration]]: passive sources, CT, resolvers, brute force, permutations, wildcards, probing.
- [[OWASP Amass]]: `intel`/`enum`/`track` subcommands, flags, config and graph output.
- [[Subdomain Takeover]]: dangling CNAME/NS/SPF records, provider fingerprints, PoC etiquette, escalation.
- [[Port Scanning]]: passive vs. active, naabu/masscan/RustScan/nmap flags, ports to flag.
- [[Content Discovery]]: archive harvesting, wordlists, ffuf flags, backups, vhosts, parameters, triage.
- [[JavaScript Analysis]]: bundle collection, endpoint extraction, source maps, lazy chunks, secrets, JS monitoring.
## Related
- [[Bug Bounty Hunting]] · [[Bug Bounty Methodology]] · [[Bug Bounty Automation]] · [[Bug Bounty Program Selection]] · [[AI-Assisted Bug Bounty Hunting]]
- [[API Discovery]] · [[GraphQL Introspection]] · [[Secret Scanning]] · [[Hardcoded Secrets]] · [[Secrets in Git History]] · [[Leaked Cloud Credentials]]
- [[Domain and Infrastructure OSINT]] · [[OSINT Tools]] · [[AI Infrastructure Vulnerabilities]] · [[Agentic AI Risks]] · [[Account Takeover]]
See also: [[OSINT]] · [[Burp Suite]] · [[Web Fuzzing]]
## Sources
- [[raw/0xgh4zy.medium.com/the-waf-said-no-finding-xss-through-javascript-recon-12444|The WAF Said No: Finding XSS Through JavaScript Recon]]
- [[raw/0xmahmoudjo0.medium.com/how-i-found-multiple-sql-injection-with-ffuf-and-sqlmap-in-a-few-minut-5161|How I Found multiple SQL Injection with FFUF and Sqlmap]]
- [[raw/0xpatrik.com/subdomain-takeover-proof-creation-for-bug-bounties-4868|Subdomain Takeover: Proof Creation for Bug Bounties (0xpatrik)]]
- [[raw/assetnote.io/internet-wide-recon-moving-past-ip-centric-approaches-4283|Internet-Wide Recon: Moving Past IP-Centric Approaches]]
- [[raw/bishopfox.com/on-favicons-from-browser-icons-to-attack-surface-intelligence-10084|On Favicons: From Browser Icons to Attack Surface Intelligence]]
- [[raw/blog.projectdiscovery.io/building-a-fast-one-shot-recon-script-for-bug-bounty-4875|Building a Fast One-Shot Recon Script for Bug Bounty]]
- [[raw/bug-bounties.as93.net/recon-methodology-for-bug-bounties-finding-attack-surface-others-miss-14252|Recon methodology for bug bounties: finding attack surface others miss]]
- [[raw/cibergy.com/how-osint-investigators-search-engines-and-dorks-14062|How OSINT investigators search: engines and dorks]]
- [[raw/codefam.co/the-practical-web-recon-playbook-automated-pipeline-field-tricks-15377|The Practical Web Recon Playbook]]
- [[raw/dev.to/beyond-single-command-recon-async-multi-stage-pipelines-13910|Beyond single-command recon: async multi-stage pipelines]]
- [[raw/dev.to/the-riskiest-server-is-the-one-nobody-remembers-a-checklist-for-forgot-13627|The riskiest server is the one nobody remembers]]
- [[raw/dreamsoftragedy.com/recon-methodology-14090|Recon methodology (dreamsoftragedy)]]
- [[raw/execure.medium.com/quasar-a-cross-platform-subdomain-enumeration-framework-for-modern-cyb-12911|Quasar: cross-platform subdomain enumeration framework]]
- [[raw/github.com/api-wordlist-6028|api_wordlist]]
- [[raw/github.com/bbot-3-1-0-faster-dns-brute-forcing-and-new-passive-subdomain-sources-14515|BBOT 3.1.0 release notes]]
- [[raw/github.com/ffuf-fuzz-faster-u-fool-6021|ffuf - Fuzz Faster U Fool]]
- [[raw/github.com/github-arcanum-sec-msftrecon-6042|Arcanum-Sec/msftrecon]]
- [[raw/github.com/github-blacklanternsecurity-bbot-the-recursive-internet-scanner-for-ha-6049|blacklanternsecurity/bbot]]
- [[raw/github.com/google-dorks-bug-bounty-taksec-github-4451|google-dorks-bug-bounty (TakSec)]]
- [[raw/github.com/hacksmarter-casino-walkthrough-leaked-source-map-api-to-flask-ssti-15666|HackSmarter Casino walkthrough: leaked source-map API to Flask SSTI]]
- [[raw/github.com/hakoriginfinder-6064|hakoriginfinder]]
- [[raw/github.com/m0rtem-cloudfail-utilize-misconfigured-dns-and-old-database-records-to-1088|m0rtem/CloudFail]]
- [[raw/github.com/naabu-fast-go-port-scanner-projectdiscovery-4437|naabu: Fast Go port scanner (ProjectDiscovery)]]
- [[raw/github.com/reconftw-automated-recon-tool-4279|reconFTW]]
- [[raw/github.com/subwiz-v1-0-ai-subdomain-discovery-release-13461|Subwiz v1.0 release]]
- [[raw/github.com/trickest-wordlists-6061|trickest/wordlists]]
- [[raw/hakluke.medium.com/haklukes-guide-to-amasshow-to-use-amass-more-effectively-for-bug-bount-5847|Hakluke's Guide to Amass]]
- [[raw/hakluke.medium.com/haklukes-guide-to-nmapport-scanning-is-just-the-beginning-6094|Hakluke's Guide to Nmap]]
- [[raw/infosecwriteups.com/bypassing-the-frontend-obfuscation-how-i-uncovered-a-company-s-entire-15798|Bypassing the Frontend Obfuscation via Source Maps]]
- [[raw/infosecwriteups.com/lab-3-source-code-disclosure-via-backup-files-10525|Lab 3: Source code disclosure via backup files]]
- [[raw/intigriti.com/7-overlooked-recon-techniques-to-find-more-vulnerabilities-14251|7 overlooked recon techniques to find more vulnerabilities]]
- [[raw/intigriti.com/github-dorking-for-beginners-find-more-vulnerabilities-intigriti-4450|GitHub dorking for beginners (Intigriti)]]
- [[raw/intigriti.com/hunting-down-subdomain-takeover-vulnerabilities-4870|Hunting down subdomain takeover vulnerabilities (Intigriti)]]
- [[raw/intigriti.com/shodan-and-censys-for-beginners-how-to-find-more-vulnerabilities-4869|Shodan and Censys for beginners]]
- [[raw/invadel.com/ffuf-explained-web-fuzzing-wordlists-detection-13945|ffuf explained: web fuzzing, wordlists, detection]]
- [[raw/js-recon.io/js-recon-2-1-0-alpha-2-taintwire-graph-queries-and-next-js-intercept-r-14102|JS Recon 2.1.0-alpha.2 changelog]]
- [[raw/learn.suvendudash.com/javascript-recon-for-bug-bounty-14093|JavaScript recon for bug bounty]]
- [[raw/levelup.gitconnected.com/the-tls-handshake-is-recon-most-pentesters-scroll-past-it-14519|The TLS Handshake Is Recon]]
- [[raw/medium.com/from-100k-subdomains-to-a-real-attack-surface-an-external-security-ass-14397|From 100K Subdomains to a Real Attack Surface]]
- [[raw/medium.com/from-recon-to-sensitive-key-exposure-using-nuclei-4278|From Recon to Sensitive Key Exposure Using Nuclei]]
- [[raw/medium.com/who-scans-ai-infrastructure-ollama-jupyter-mlflow-data-15095|Who scans AI infrastructure? Ollama, Jupyter, MLflow data]]
- [[raw/naveensrinivasan.com/finding-hidden-internal-apps-through-public-certificate-logs-11391|Finding Hidden Internal Apps Through Public Certificate Logs]]
- [[raw/okta.com/agentic-attack-tools-accelerate-reconnaissance-of-identity-flows-okta-15708|Agentic attack tools accelerate reconnaissance of identity flows (Okta)]]
- [[raw/projectdiscovery.io/reconnaissance-102-subdomain-enumeration-projectdiscovery-2917|ProjectDiscovery: Reconnaissance 102, Subdomain Enumeration]]
- [[raw/projectdiscovery.io/the-2026-state-of-attack-surface-management-projectdiscovery-4672|The 2026 State of Attack Surface Management]]
- [[raw/pypi.org/ctfr-reloaded-certificate-transparency-subdomain-discovery-13747|ctfr-reloaded: certificate transparency subdomain discovery]]
- [[raw/secureideas.com/shadowsaas-surface-scanner-v1-1-subdomain-takeover-recon-with-proxy-su-14106|ShadowSaaS Surface Scanner v1.1]]
- [[raw/sh.consulting/ip-snowshoeing-under-us-gov-email-via-a-whitelisted-amazonses-typo-in-13949|IP snowshoeing via AmazonSES typo in SPF]]
- [[raw/wiz.io/reconnaissance-overview-bug-bounty-masterclass-11938|Reconnaissance Overview - Bug Bounty Masterclass (Wiz)]]
- [[raw/yeswehack.com/recon-roundup-ultimate-reconnaissance-guide-3635|Recon Roundup: Ultimate Reconnaissance Guide]]
- [[raw/yeswehack.com/recon-series-4-port-scanning-methods-yeswehack-4438|Recon series #4: Port scanning methods (YesWeHack)]]
- [[raw/yeswehack.com/subdomain-enumeration-expand-attack-surface-with-active-passive-method-4464|YesWeHack: Subdomain enumeration with active and passive methods]]
- [[raw/medium.com/six-days-one-target-thirty-six-tests-a-bug-bounty-bootcamp-from-recon-15887|Six Days One Target, Thirty-Six Tests: A Bug Bounty Bootcamp From Recon to Report]]
- [[raw/iamrudhh.medium.com/day-04-bug-bounty-introduction-to-reconnaissance-15886|Day 04: Bug Bounty: Introduction to Reconnaissance]]
- [[raw/medium.com/how-i-discovered-a-blind-sql-injection-in-a-private-program-15837|How I discovered a blind SQL injection in a private program]]
- [[raw/blog.martindios.com/sqli-at-nasa-how-i-got-my-letter-of-recognition-15836|SQLi at NASA: how I got my Letter of Recognition]]
- [[raw/blog.arok.win/graphql-field-suggestion-abuse-rebuilding-a-hidden-schema-15821|GraphQL field suggestion abuse: rebuilding a hidden schema]]
- [[raw/offsecblog.com/osinthunter-building-investigation-graphs-from-a-single-identifier-15845|OsintHunter: building investigation graphs from a single identifier]]