Dış Recon Pipeline
recon difficulty: kolay-orta
Dış recon’un amacı doğrulanmış bir varlık listesi üretmektir. Önce keşfet, sonra canlı HTTP’yi süz, en sonda port/CVE tar — gürültüyü ve yanlış pozitifleri azaltır.
Ön koşullar
Section titled “Ön koşullar”- Kök domain(ler) ve yazılı kapsam- Resolver listesi, API anahtarları (opsiyonel: SecurityTrails, GitHub, Shodan)- Araçlar: bbot, subfinder, httpx, katana, naabu, nuclei, purednsPipeline
Section titled “Pipeline”-
Pasif toplama — CT, DNS, OSINT, kod/depo, e-posta, cloud bucket ipuçları.
-
Aktif doğrulama — çözümleme, wildcard eleme, httpx ile canlı kümeleme.
-
Yüzey genişletme — katana (JS/XHR), vhost, arşiv, takeover adayları.
-
Port & template — naabu + nuclei yalnızca doğrulanmış canlı sete.
-
Daralt & screenshot — ilginç hostlarda ikinci geçiş; bulguları triage et.
1) Toplu varlık keşfi
Section titled “1) Toplu varlık keşfi”bbot -t hedef.com -p subdomain-enum cloud-enum code-enum email-enum spider -o ./bbot_outsubfinder -d hedef.com -all -o subs_subfinder.txtamass enum -passive -d hedef.com -o subs_amass.txtassetfinder --subs-only hedef.com | tee subs_af.txtcurl -s "https://crt.sh/?q=%25.hedef.com&output=json" | jq -r '.[].name_value' | sed 's/\*\.//g' | sort -u > subs_ct.txtcat subs_*.txt | sort -u > subs_all.txtGitHub / sızan secret ve geniş kaynak kod araması OSINT fazını tamamlar (anahtar kelime + org dork’ları). Veritabanı sızıntıları varsa kullanıcı/e-posta listesini spray için ayır.
2) Çözümleme ve brute
Section titled “2) Çözümleme ve brute”puredns resolve subs_all.txt -r resolvers.txt -w resolved.txtpuredns bruteforce dns_wordlist.txt hedef.com -r resolvers.txt -w brute_res.txtdnsx -l resolved.txt -a -aaaa -cname -resp -o dnsx.txtdig axfr @ns1.hedef.com hedef.com3) Canlı HTTP doğrulama (httpx)
Section titled “3) Canlı HTTP doğrulama (httpx)”httpx -l resolved.txt -sc -title -td -favicon -jarm -asn -jsonl -o httpx.jsonlhttpx -l resolved.txt -silent -o live_hosts.txtjq -r 'select(.status_code==200) | .url' httpx.jsonl | sort -u > interesting_urls.txtFavicon/JARM/ASN ile kümeleme triage’ı hızlandırır; CDN’li edge’leri naabu’da
--exclude-cdn ile ayır.
4) Crawl & endpoint (katana)
Section titled “4) Crawl & endpoint (katana)”katana -list live_hosts.txt -jc -js-crawl -kf all -xhr -fx -jsonl -o katana.jsonlkatana -u https://app.hedef.com -d 3 -jc -o katana_app.txtjq -r '.request.endpoint // .url // empty' katana.jsonl | sort -u > endpoints.txtSPA’larda JS ve XHR çıkarımı klasik spider’dan daha değerlidir. Web dizin brute için ayrıca İçerik Keşfi.
5) Port tarama (naabu / nmap)
Section titled “5) Port tarama (naabu / nmap)”naabu -list live_hosts.txt -top-ports 1000 -exclude-cdn -json -o naabu.jsonlnaabu -list live_hosts.txt -p - -exclude-cdn -rate 2000 -json -o naabu_full.jsonlnmap -sV -sC -iL live_ips.txt --top-ports 1000 -oA nmap_top6) Template taraması (nuclei)
Section titled “6) Template taraması (nuclei)”nuclei -list live_hosts.txt -as -jsonl -o nuclei.jsonlnuclei -list live_hosts.txt -tags cve,misconfig,exposure -severity medium,high,critical -jsonl -o nuclei_prio.jsonlnuclei -l interesting_urls.txt -t http/exposures/ -jsonl -o exposures.jsonl7) Screenshot & takeover adayları
Section titled “7) Screenshot & takeover adayları”httpx -l interesting_hosts.txt -ss -jsonl -o httpx-screenshots.jsonlsubzy run --targets resolved.txt --hide_failsnuclei -l resolved.txt -t http/takeovers/ -jsonl -o takeovers.jsonlDetay: Subdomain Takeover.
Komut üreteci
Section titled “Komut üreteci”bbot · subdomain-enum
embedded toolbbot -t hedef.com -p subdomain-enum cloud-enum code-enum email-enum spider -o ./bbot_outbbot · subdomain-enum
Section titled “bbot · subdomain-enum”JSONL disiplini
Section titled “JSONL disiplini”bbot → hosts → httpx.jsonl (canlı + tech) → katana.jsonl (endpoint) → naabu.jsonl + nuclei.jsonl → auth sonrası yeniden koşYeni credential veya session gelince yalnızca canlı + auth fazını tekrar koşmak, tüm DNS brute’unu yeniden yapmaktan ucuzdur.
Zincir örneği
Section titled “Zincir örneği”CT + subfinder + bbot → puredns → httpx kümele → katana JS → naabu top-1000 → nuclei → takeover / exposed panel → Web veya phishing