![]() |
VOOZH | about |
Reconnaissance (Recon) is the initial phase of ethical hacking that focuses on gathering information about a target system, network or organization to understand its attack surface and identify potential vulnerabilities.
It focuses on observation rather than engagement, making it stealthy but less detailed than active methods.
Information gathering without directly interacting with the target systems.
Example: Like researching a company through newspaper articles and public records without ever calling them.
It involves hands-on probing of a target, trading stealth for more precise and up-to-date intelligence.
Direct interaction with target systems to gather information.
Example: Similar to contacting a company directly to inquire about its services or physically visiting its office to gather information.
These reconnaissance techniques help security professionals and attackers alike map out targets, identify weaknesses and plan further exploitation steps effectively.
Physical observation and social engineering techniques.
Methods:
Example: A security tester finds employee badges in a company's trash, revealing the badge format and employee naming conventions.
Using advanced Google search operators to find sensitive information.
Common Dorks:
GATE site:geeksforgeeks.org filetype:pdf cache:geeksforgeeks.orgEnter this command to get GATE related PDF filetypes on the website of geeksforgeeks.org
Gathering information from websites, web applications and online services.
Techniques:
Example: Discovering a forgotten subdomain
dev.company.comthat contains development databases with test data.
Information gathering using IP addresses and network infrastructure.
Methods:
Example: WHOIS lookup reveals that
company.comuses AWS servers in Virginia, helping narrow down the infrastructure setup.
Extracting information from social media platforms.
Target Information:
Example: LinkedIn reveals that the company's IT manager recently posted about migrating to Microsoft Azure, indicating their cloud infrastructure.
Information gathering from physical devices and infrastructure.
Methods:
Example: Discovering an unsecured printer on the network that stores copies of all printed documents or Weak Wi-Fi signal Strength.
Gathering information through email addresses and email infrastructure.
Techniques:
Example: Finding that a company uses
firstname.lastname@company.comformat helps create targeted phishing campaigns.
Analyzing digital traces left by targets.
Sources:
Example: A PDF on the company website contains metadata showing it was created by "John.Smith" on a Windows 10 machine, revealing an employee name and OS information.
Leveraging compromised data from previous breaches.
Sources:
Example: Discovering that several company email addresses were compromised in the 2019 Collection #1 breach, potentially providing password patterns.
Deep analysis of DNS infrastructure and configurations.
Methods:
| Category | Tool | Purpose |
|---|---|---|
| WHOIS/DNS | whois.net, dnsdumpster.com | Domain information and DNS records |
| Subdomains | sublist3r.online, crt.sh | Subdomain discovery |
| Google Dorking | google.com, dorksearch.com | Advanced search queries |
| Social Media | sherlock-project.github.io | Username searches across platforms |
| hunter.io, have-i-been-pwned.com | Email discovery and breach checking | |
| Website Analysis | builtwith.com, wappalyzer.com | Technology stack identification |
| Archives | web.archive.org | Historical website data |
| IP Intelligence | shodan.io, censys.io | Internet-connected device search |
| Leaked Databases | intelx.io, cracking.org | Access to leaked databases and forum data |
dnsrecon -d example.com -t std
dig example.com ANY
fierce -dns example.comsublist3r -d example.com
nmap -sS -A XX.XX.XX.XX
masscan -p1-65535 XX.XX.XX.XX --rate=10000Web Application Reconnaissance
dirb http://example.com///
gobuster dir -u http://example.com/// -w /usr/share/wordlists/dirb/common.txt
dirsearch -u http://example.com///👁 dirsearchwhatweb http://example.com///
wapiti -u http://example.com///wget --spider --recursive --no-verbose --output-file=spider.log http://example.com///Social Media & OSINT
sherlock usernametheharvester -d example.com -l 500 -b google
maltego (GUI-based OSINT framework)exiftool document.pdf
metagoofil -d example.com -t pdf -l 100 -n 25 -o results/Specialized Tools
whois example.comsslscan target.com
sslyze target.comshodan host 192.XX.XX.XXFramework Tools
recon-ngspiderfoot -s example.comgit clone https://github.com/bahaabdelwahed/killshot%3C/span>Note: Killshot is an open-source tool that integrates various pentesting tools. You may need to visit GitHub and refer to the README.txt file to understand its functionality and commands.