Recon Checklist (Keşif Kontrol Listesi)
Recon (Keşif) , bir hedef sistem hakkında saldırı yüzeyini anlamak için bilgi toplama sürecidir. Bug bounty ve pentest'lerin en kritik aşamasıdır. İyi bir recon, zafiyet tespit başarısını doğrudan etkiler.
Recon Aşamaları:
A. Passive Recon (Pasif Keşif) - Hedefle Doğrudan Temas Yok
1. Domain ve Subdomain Keşfi:
Ana domain belirleme
Subdomain enumeration
DNS kayıtları (A, CNAME, MX, TXT, NS)
Reverse DNS sorguları
2. OSINT (Açık Kaynak İstihbaratı):
Google Dorking
GitHub dorking
Shodan / Censys / FOFA
LinkedIn / Twitter / GitHub profilleri
WHOIS sorgusu
Pastebin ve benzeri siteler
3. Tarihsel Veri Toplama:
Wayback Machine (archive.org)
SecurityTrails
DNS history
Certificate transparency logs (crt.sh)
4. Teknoloji Tespiti:
Wappalyzer / BuiltWith
WhatRuns
StackShare
B. Active Recon (Aktif Keşif) - Hedefle Doğrudan Temas
1. Port Tarama:
Nmap / Masscan ile port tarama
Servis versiyon tespiti
OS fingerprinting
2. Web Keşfi:
Directory brute force (ffuf, gobuster, dirsearch)
File extension brute force
Parameter discovery (param miner, ffuf)
JavaScript dosyası analizi
API endpoint discovery
3. Screenshot ve Visual Keşif:
httpx / gowitness / aquatone ile screenshot
Web teknolojisi tespiti
Login paneli tespiti
4. Cloud Keşfi:
S3 bucket enumeration
Azure blob storage
Google Cloud Storage
Cloudflare / Akamai tespiti
5. API Keşfi:
Swagger / OpenAPI endpoint'leri
GraphQL endpoint'leri
API versiyon tespiti
6. Technology Fingerprinting:
Web sunucu tespiti (Nginx, Apache, IIS)
Framework tespiti (Django, Flask, Express, Spring)
CMS tespiti (WordPress, Joomla, Drupal)
JavaScript framework tespiti (React, Vue, Angular)
7. Vulnerability Scanning:
Nuclei ile tarama
WPScan ile WordPress taraması
Nikto ile web sunucu taraması
C. Automation (Otomasyon)
1. Scope Management:
Hedef domain'leri listeleme
Out-of-scope domain'leri filtreleme
IP aralıklarını belirleme
2. Tool Integration:
Araç zinciri oluşturma
Otomatik raporlama
Veri toplama ve analiz
3. Monitoring:
Yeni subdomain'lerin takibi
Yeni endpoint'lerin tespiti
Certificate transparency log takibi
Değişiklik tespiti
Recon Araçları (Hızlı Başvuru):
Araç Kullanım Alanı
Subfinder Subdomain enumeration
Amass Subdomain enumeration (daha kapsamlı)
Httpx HTTP probe (canlı host tespiti)
Nuclei Vulnerability scanning
FFUF Directory brute force
Gobuster Directory/DNS brute force
Dirsearch Directory brute force
Katana Web crawler
Hakrawler Web crawler (API endpoint)
Paramspider Parameter discovery
Waybackurls Wayback Machine URL'leri
Gau GetAllUrls (Wayback, CommonCrawl)
Nmap Port scanning
Masscan Hızlı port scanning
Shodan IoT/Banner search
Censys Internet-wide scanning
CRT.sh Certificate transparency logs
SecurityTrails DNS history
Recon Checklist (Detaylı):
Phase 1: Domain & Subdomain
bash
# Subdomain enumeration
subfinder -d hedef.com -silent -o subdomains.txt
amass enum -d hedef.com -o subdomains_amass.txt
assetfinder --subs-only hedef.com >> subdomains.txt
# DNS lookup
dnsx -l subdomains.txt -a -cname -txt -mx -ns -silent
# Subdomain takeover check
subzy run --target hedef.com
Phase 2: Live Host Detection
bash
# Canlı subdomain tespiti
httpx -l subdomains.txt -silent -o live_hosts.txt -title -tech-detect -status-code
# Screenshot
gowitness file -f live_hosts.txt
Phase 3: URL Discovery
bash
# Wayback URL'leri
waybackurls hedef.com > urls.txt
gau --subs hedef.com >> urls.txt
# Parametre keşfi
paramspider -d hedef.com
Phase 4: Content Discovery
bash
# Directory brute force
ffuf -u https://hedef.com/FUZZ -w wordlist.txt
gobuster dir -u https://hedef.com -w wordlist.txt
dirsearch -u https://hedef.com -w wordlist.txt
# File extension brute force
ffuf -u https://hedef.com/FUZZ -w extensions.txt
Phase 5: JS Recon
bash
# JavaScript dosyalarını topla
katana -u hedef.com -jc -c 50 -o js_urls.txt
hakrawler -url hedef.com -js -subs > js.txt
# JS dosyalarını analiz et
# URL'leri çıkar
# API endpoint'leri bul
# Secret anahtarları ara
Phase 6: Vulnerability Scanning
bash
# Nuclei taraması
nuclei -l live_hosts.txt -t cves/ -t exposures/ -t misconfiguration/ -severity critical,high
# API endpoint taraması
nuclei -l api_urls.txt -t api/
Phase 7: Cloud Discovery
bash
# AWS S3 bucket enumeration
cloud_enum -k hedef.com
# Cloudflare tespiti
dnsx -l subdomains.txt -txt -silent | grep cloudflare
Recon Automation (Full Pipeline):
bash
#!/bin/bash
# Full recon pipeline
DOMAIN=$1
OUTPUT_DIR="recon_$DOMAIN"
mkdir -p $OUTPUT_DIR
echo "[1] Subdomain Enumeration"
subfinder -d $DOMAIN -silent > $OUTPUT_DIR/subdomains.txt
amass enum -d $DOMAIN -o $OUTPUT_DIR/subdomains_amass.txt
cat $OUTPUT_DIR/subdomains*.txt | sort -u > $OUTPUT_DIR/all_subdomains.txt
echo "[2] Live Host Detection"
httpx -l $OUTPUT_DIR/all_subdomains.txt -silent -o $OUTPUT_DIR/live_hosts.txt -title -tech-detect
echo "[3] URL Discovery"
cat $OUTPUT_DIR/live_hosts.txt | while read url; do
echo $url | gau --subs >> $OUTPUT_DIR/all_urls.txt
echo $url | waybackurls >> $OUTPUT_DIR/all_urls.txt
done
echo "[4] Parameter Discovery"
cat $OUTPUT_DIR/all_urls.txt | unfurl --unique keys > $OUTPUT_DIR/parameters.txt
echo "[5] JS File Discovery"
cat $OUTPUT_DIR/all_urls.txt | grep "\.js" > $OUTPUT_DIR/js_files.txt
echo "[6] Vulnerability Scanning"
nuclei -l $OUTPUT_DIR/live_hosts.txt -t cves/ -t exposures/ -t misconfiguration/ -severity critical,high -o $OUTPUT_DIR/nuclei_results.txt
echo "[7] Reporting"
# Output: Subdomain list, live hosts, URLs, parameters, vulnerabilities
Recon Checklist (Güvenlik Ekipleri için):
A. Pasif Keşif:
Subdomain enumeration yapıldı mı?
DNS kayıtları toplandı mı?
Whois sorgusu yapıldı mı?
SSL/TLS sertifikaları analiz edildi mi?
Wayback machine tarandı mı?
GitHub repo'ları tarandı mı?
Shodan/Censys sorgusu yapıldı mı?
B. Aktif Keşif:
Port taraması yapıldı mı?
Canlı host'lar tespit edildi mi?
Screenshot'lar alındı mı?
Teknoloji stack belirlendi mi?
Directory brute force yapıldı mı?
API endpoint'leri tespit edildi mi?
JavaScript dosyaları analiz edildi mi?
C. Güvenlik Taraması:
CVE taraması yapıldı mı?
Misconfiguration taraması yapıldı mı?
Exposed dosyalar tespit edildi mi?
Cloud bucket'lar kontrol edildi mi?
Recon (Keşif) , bir hedef sistem hakkında saldırı yüzeyini anlamak için bilgi toplama sürecidir. Bug bounty ve pentest'lerin en kritik aşamasıdır. İyi bir recon, zafiyet tespit başarısını doğrudan etkiler.
Recon Aşamaları:
A. Passive Recon (Pasif Keşif) - Hedefle Doğrudan Temas Yok
1. Domain ve Subdomain Keşfi:
Ana domain belirleme
Subdomain enumeration
DNS kayıtları (A, CNAME, MX, TXT, NS)
Reverse DNS sorguları
2. OSINT (Açık Kaynak İstihbaratı):
Google Dorking
GitHub dorking
Shodan / Censys / FOFA
LinkedIn / Twitter / GitHub profilleri
WHOIS sorgusu
Pastebin ve benzeri siteler
3. Tarihsel Veri Toplama:
Wayback Machine (archive.org)
SecurityTrails
DNS history
Certificate transparency logs (crt.sh)
4. Teknoloji Tespiti:
Wappalyzer / BuiltWith
WhatRuns
StackShare
B. Active Recon (Aktif Keşif) - Hedefle Doğrudan Temas
1. Port Tarama:
Nmap / Masscan ile port tarama
Servis versiyon tespiti
OS fingerprinting
2. Web Keşfi:
Directory brute force (ffuf, gobuster, dirsearch)
File extension brute force
Parameter discovery (param miner, ffuf)
JavaScript dosyası analizi
API endpoint discovery
3. Screenshot ve Visual Keşif:
httpx / gowitness / aquatone ile screenshot
Web teknolojisi tespiti
Login paneli tespiti
4. Cloud Keşfi:
S3 bucket enumeration
Azure blob storage
Google Cloud Storage
Cloudflare / Akamai tespiti
5. API Keşfi:
Swagger / OpenAPI endpoint'leri
GraphQL endpoint'leri
API versiyon tespiti
6. Technology Fingerprinting:
Web sunucu tespiti (Nginx, Apache, IIS)
Framework tespiti (Django, Flask, Express, Spring)
CMS tespiti (WordPress, Joomla, Drupal)
JavaScript framework tespiti (React, Vue, Angular)
7. Vulnerability Scanning:
Nuclei ile tarama
WPScan ile WordPress taraması
Nikto ile web sunucu taraması
C. Automation (Otomasyon)
1. Scope Management:
Hedef domain'leri listeleme
Out-of-scope domain'leri filtreleme
IP aralıklarını belirleme
2. Tool Integration:
Araç zinciri oluşturma
Otomatik raporlama
Veri toplama ve analiz
3. Monitoring:
Yeni subdomain'lerin takibi
Yeni endpoint'lerin tespiti
Certificate transparency log takibi
Değişiklik tespiti
Recon Araçları (Hızlı Başvuru):
Araç Kullanım Alanı
Subfinder Subdomain enumeration
Amass Subdomain enumeration (daha kapsamlı)
Httpx HTTP probe (canlı host tespiti)
Nuclei Vulnerability scanning
FFUF Directory brute force
Gobuster Directory/DNS brute force
Dirsearch Directory brute force
Katana Web crawler
Hakrawler Web crawler (API endpoint)
Paramspider Parameter discovery
Waybackurls Wayback Machine URL'leri
Gau GetAllUrls (Wayback, CommonCrawl)
Nmap Port scanning
Masscan Hızlı port scanning
Shodan IoT/Banner search
Censys Internet-wide scanning
CRT.sh Certificate transparency logs
SecurityTrails DNS history
Recon Checklist (Detaylı):
Phase 1: Domain & Subdomain
bash
# Subdomain enumeration
subfinder -d hedef.com -silent -o subdomains.txt
amass enum -d hedef.com -o subdomains_amass.txt
assetfinder --subs-only hedef.com >> subdomains.txt
# DNS lookup
dnsx -l subdomains.txt -a -cname -txt -mx -ns -silent
# Subdomain takeover check
subzy run --target hedef.com
Phase 2: Live Host Detection
bash
# Canlı subdomain tespiti
httpx -l subdomains.txt -silent -o live_hosts.txt -title -tech-detect -status-code
# Screenshot
gowitness file -f live_hosts.txt
Phase 3: URL Discovery
bash
# Wayback URL'leri
waybackurls hedef.com > urls.txt
gau --subs hedef.com >> urls.txt
# Parametre keşfi
paramspider -d hedef.com
Phase 4: Content Discovery
bash
# Directory brute force
ffuf -u https://hedef.com/FUZZ -w wordlist.txt
gobuster dir -u https://hedef.com -w wordlist.txt
dirsearch -u https://hedef.com -w wordlist.txt
# File extension brute force
ffuf -u https://hedef.com/FUZZ -w extensions.txt
Phase 5: JS Recon
bash
# JavaScript dosyalarını topla
katana -u hedef.com -jc -c 50 -o js_urls.txt
hakrawler -url hedef.com -js -subs > js.txt
# JS dosyalarını analiz et
# URL'leri çıkar
# API endpoint'leri bul
# Secret anahtarları ara
Phase 6: Vulnerability Scanning
bash
# Nuclei taraması
nuclei -l live_hosts.txt -t cves/ -t exposures/ -t misconfiguration/ -severity critical,high
# API endpoint taraması
nuclei -l api_urls.txt -t api/
Phase 7: Cloud Discovery
bash
# AWS S3 bucket enumeration
cloud_enum -k hedef.com
# Cloudflare tespiti
dnsx -l subdomains.txt -txt -silent | grep cloudflare
Recon Automation (Full Pipeline):
bash
#!/bin/bash
# Full recon pipeline
DOMAIN=$1
OUTPUT_DIR="recon_$DOMAIN"
mkdir -p $OUTPUT_DIR
echo "[1] Subdomain Enumeration"
subfinder -d $DOMAIN -silent > $OUTPUT_DIR/subdomains.txt
amass enum -d $DOMAIN -o $OUTPUT_DIR/subdomains_amass.txt
cat $OUTPUT_DIR/subdomains*.txt | sort -u > $OUTPUT_DIR/all_subdomains.txt
echo "[2] Live Host Detection"
httpx -l $OUTPUT_DIR/all_subdomains.txt -silent -o $OUTPUT_DIR/live_hosts.txt -title -tech-detect
echo "[3] URL Discovery"
cat $OUTPUT_DIR/live_hosts.txt | while read url; do
echo $url | gau --subs >> $OUTPUT_DIR/all_urls.txt
echo $url | waybackurls >> $OUTPUT_DIR/all_urls.txt
done
echo "[4] Parameter Discovery"
cat $OUTPUT_DIR/all_urls.txt | unfurl --unique keys > $OUTPUT_DIR/parameters.txt
echo "[5] JS File Discovery"
cat $OUTPUT_DIR/all_urls.txt | grep "\.js" > $OUTPUT_DIR/js_files.txt
echo "[6] Vulnerability Scanning"
nuclei -l $OUTPUT_DIR/live_hosts.txt -t cves/ -t exposures/ -t misconfiguration/ -severity critical,high -o $OUTPUT_DIR/nuclei_results.txt
echo "[7] Reporting"
# Output: Subdomain list, live hosts, URLs, parameters, vulnerabilities
Recon Checklist (Güvenlik Ekipleri için):
A. Pasif Keşif:
Subdomain enumeration yapıldı mı?
DNS kayıtları toplandı mı?
Whois sorgusu yapıldı mı?
SSL/TLS sertifikaları analiz edildi mi?
Wayback machine tarandı mı?
GitHub repo'ları tarandı mı?
Shodan/Censys sorgusu yapıldı mı?
B. Aktif Keşif:
Port taraması yapıldı mı?
Canlı host'lar tespit edildi mi?
Screenshot'lar alındı mı?
Teknoloji stack belirlendi mi?
Directory brute force yapıldı mı?
API endpoint'leri tespit edildi mi?
JavaScript dosyaları analiz edildi mi?
C. Güvenlik Taraması:
CVE taraması yapıldı mı?
Misconfiguration taraması yapıldı mı?
Exposed dosyalar tespit edildi mi?
Cloud bucket'lar kontrol edildi mi?
🔒 Bu içeriği görmek için giriş yapın