Reconnaissance Tools
Reconnaissance is the process of collecting information about a target before performing security assessments or penetration testing. It helps security professionals understand the target's domain, subdomains, DNS records, IP addresses, technologies, and publicly available information.
This section covers tools used for passive and active reconnaissance in authorized cybersecurity assessments.
What You'll Learn
- Understand passive and active reconnaissance.
- Discover domains and subdomains.
- Identify DNS records and IP addresses.
- Gather publicly available information about targets.
- Identify technologies used by websites.
- Organize reconnaissance findings for further security testing.
Tools Covered
| Tool | Description |
|---|---|
whois | Retrieve domain registration information when publicly available. |
dig | Query DNS records, including A, AAAA, MX, NS, and TXT records. |
nslookup | Perform DNS lookups for domains and hostnames. |
theHarvester | Collect publicly available emails, hosts, and related information from supported sources. |
Amass | Discover and map external attack surfaces, including domains and subdomains. |
Subfinder | Discover subdomains using supported passive sources. |
assetfinder | Find domains and subdomains associated with a target. |
WhatWeb | Identify technologies used by websites. |
Wappalyzer | Identify website technologies through its browser extension or other supported interfaces. |
httpx | Probe web services and collect HTTP response and technology information. |
recon-ng | Perform structured reconnaissance using a modular framework. |
Maltego | Investigate relationships between domains, people, organizations, and other entities using available data sources. |
Types of Reconnaissance
1. Passive Reconnaissance
Collect information from public sources without directly interacting with the target's systems in a probing manner.
Examples:
- Public DNS and domain records
- Search engines and public datasets
- Certificate transparency records
- Publicly indexed subdomains
2. Active Reconnaissance
Interact directly with authorized target infrastructure to collect information.
Examples:
- DNS queries
- HTTP requests
- Checking whether discovered hosts respond
- Identifying publicly exposed web services
Active reconnaissance may be logged or detected by the target.
Learning Path
- Domain Information — Start with
whois,dig, andnslookup. - Subdomain Discovery — Learn
Subfinder,assetfinder, andAmass. - Public Information Gathering — Explore
theHarvesterandrecon-ng. - Technology Identification — Practice with
WhatWeb,Wappalyzer, andhttpx. - Relationship Mapping — Understand how Maltego visualizes connections between entities.
- Reporting — Document findings and prepare an organized list of assets for further assessment.
Basic Examples
Check DNS Records
dig example.com dig example.com MX dig example.com NS
Retrieve Domain Registration Information
whois example.com
Discover Subdomains
subfinder -d example.com
Identify Website Technologies
whatweb https://example.com
Replace example.com with a domain you own or are explicitly authorized to assess. Tool availability and options may vary by installation and version.
Prerequisites
- Basic Linux terminal knowledge.
- Understanding of domains, IP addresses, and DNS.
- Familiarity with HTTP and HTTPS.
- A Kali Linux or other Linux environment.
Practice and Safety
Use reconnaissance tools only within the scope of an authorized security assessment. Prefer passive sources when possible, and obtain permission before conducting active testing against systems you do not own.
Next Steps
After reconnaissance, continue to:
- Network Tools — Understand network communication and diagnostic utilities.
- Port Scanning — Identify open ports and accessible services on authorized targets.
- Web Enumeration — Discover web directories, endpoints, and application resources within an approved scope.
Ugenz Academy — Learn • Build • Protect • Grow.