YUNOVA · Ethical Hacking

Module 4: Reconnaissance

Notes for offline study · 30 November 2026

Passive versus active recon

Key points

  • Passive recon में आप target से सीधे interact किए बिना public sources (search engines, WHOIS, social media) से जानकारी जुटाते हैं।
  • Active recon में आप target systems से सीधे संपर्क करते हैं, जैसे ping या port scan; यह target के logs में दिख सकता है।
  • Active recon सिर्फ़ written permission और तय scope के अंदर ही करें।
  • आम तौर पर पहले passive recon होता है, फिर active।

Open-source intelligence basics

Key points

  • OSINT (Open-Source Intelligence) का मतलब है publicly उपलब्ध जानकारी से target की तस्वीर बनाना।
  • Sources में company website, job postings, social media, public records, DNS records और search engines शामिल हैं।
  • theHarvester, Maltego और Shodan जैसे tools OSINT में इस्तेमाल होते हैं।
  • Public जानकारी भी सिर्फ़ authorised assessment के उद्देश्य से इकट्ठा करें और किसी की privacy का दुरुपयोग न करें।

WHOIS and DNS enumeration

Key points

  • WHOIS से domain का registrar, registration और expiry dates और name servers जैसी जानकारी मिलती है।
  • DNS records के आम प्रकार: A (IPv4 address), AAAA (IPv6), MX (mail server), NS (name server), CNAME (alias), TXT (text जैसे SPF)।
  • nslookup और dig से DNS records query किए जाते हैं।
  • गलत configured DNS server zone transfer (AXFR) से पूरी zone लीक कर सकता है; यह check सिर्फ़ scope में दिए domains पर करें।

Google dorking on your own scope

Key points

  • Google dorking का मतलब है advanced search operators से ऐसी जानकारी ढूँढना जो गलती से public हो गई हो।
  • आम operators: site: (एक domain तक सीमित), filetype: (file का प्रकार), intitle: और inurl: (title या URL में शब्द)।
  • Google Hacking Database (GHDB) में ऐसे queries के उदाहरण मिलते हैं।
  • Dorks सिर्फ़ अपने या authorised scope के domains पर चलाएँ, और मिली sensitive files को download या इस्तेमाल न करें बल्कि report करें।

Subdomain discovery

Key points

  • Subdomains (जैसे dev.example.com) पर अक्सर पुराने या कम सुरक्षित applications चलते हैं, इसलिए उनकी सूची बनाना ज़रूरी है।
  • Passive तरीकों में certificate transparency logs (जैसे crt.sh) और search engines शामिल हैं।
  • Subfinder, Amass और Sublist3r जैसे tools subdomain discovery में इस्तेमाल होते हैं।
  • हर मिला subdomain scope में है या नहीं, यह test करने से पहले confirm करें।

Building a target picture

Key points

  • Recon से मिली जानकारी (domains, IPs, technologies, लोग, email format) को एक जगह व्यवस्थित करें।
  • यह target picture बताती है कि attack surface कहाँ है और अगले phase में क्या scan करना है।
  • हर जानकारी के साथ उसका source और तारीख note करें।
  • Scope से बाहर की चीज़ें अलग mark करें ताकि गलती से उन्हें test न करें।

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.