Art of Reconnaissance (original) (raw)

Last Updated : 25 May, 2026

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.

Types of Reconnaissance

1. Passive Reconnaissance

It focuses on observation rather than engagement, making it stealthy but less detailed than active methods.

passive

Information gathering without directly interacting with the target systems.

**Example: Like researching a company through newspaper articles and public records without ever calling them.

2. Active Reconnaissance

It involves hands-on probing of a target, trading stealth for more precise and up-to-date intelligence.

personal_data

Direct interaction withtarget systems to gather information.

**Example: Similar to contacting a company directly to inquire about its services or physically visiting its office to gather information.

Reconnaissance Categories

These reconnaissance techniques help security professionals and attackers alike map out targets, identify weaknesses and plan further exploitation steps effectively.

1. In-Person Reconnaissance (Human Intelligence)

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.

2. Google Dorking (Search Engine Intelligence)

Using advanced Google search operators to find sensitive information.

**Common Dorks:

GATE site:geeksforgeeks.org filetype:pdf cache:geeksforgeeks.org

Enter this command to get GATE related PDF filetypes on the website of geeksforgeeks.org

google_dork

3. Web-Based Reconnaissance

Gathering information from websites, web applications and online services.

**Techniques:

**Example: Discovering a forgotten subdomain **dev.company.com**that contains development databases with test data.

4. IP Address-Based Reconnaissance

Information gathering using IP addresses and network infrastructure.

**Methods:

**Example: WHOIS lookup reveals that company.com uses 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.

linkedIn_GFG

6. Physical Device Reconnaissance

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.

airmongng

7. Email Intelligence (EMAILINT)

Gathering information through email addresses and email infrastructure.

**Techniques:

**Example: Finding that a company uses firstname.lastname@company.com format helps create targeted phishing campaigns.

8. Digital Footprints & Metadata Analysis

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.

geo_tag_image

9. Data Breach & Leaked Database Analysis

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.

inteliX

10. DNS Intelligence

Deep analysis of DNS infrastructure and configurations.

**Methods:

Web-Based Tools

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
Email 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

Kali Linux CLI Tools

Network & DNS Reconnaissance

dnsrecon -d example.com -t std dig example.com ANY fierce -dns example.com

dnsrecon

sublist3r -d example.com

sublister

nmap -sS -A XX.XX.XX.XX masscan -p1-65535 XX.XX.XX.XX --rate=10000

nmap_GFG

**Web Application Reconnaissance

dirb http://example.com/// gobuster dir -u http://example.com/// -w /usr/share/wordlists/dirb/common.txt dirsearch -u http://example.com///

dirsearch

whatweb http://example.com/// wapiti -u http://example.com///

wget --spider --recursive --no-verbose --output-file=spider.log http://example.com///

**Social Media & OSINT

sherlock username

sherlock

theharvester -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/

exiftool

**Specialized Tools

whois example.com

sslscan target.com sslyze target.com

shodan host 192.XX.XX.XX

**Framework Tools

recon-ng

spiderfoot -s example.com

git 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.