Subfinder
Subfinder is a subdomain discovery tool that finds valid subdomains for websites using passive online sources. It features a simple modular architecture optimized for speed.
Description
Subfinder is designed exclusively for passive subdomain enumeration, leveraging various online sources to identify valid subdomains efficiently. It avoids active scanning, focusing instead on intelligence gathered from public databases and services, making it ideal for reconnaissance phases in penetration testing and security assessments.
Use cases include mapping attack surfaces during bug bounty hunting, domain reconnaissance in red team engagements, and initial information gathering for vulnerability research. Its speed and modularity allow users to target specific sources or use all available ones for comprehensive enumeration.
The tool supports filtering, rate limiting, and output customization, enabling tailored workflows. It integrates well with other Kali tools for further analysis of discovered subdomains.
How It Works
Subfinder operates by querying passive online sources such as certificate transparency logs, GitHub, and other providers to collect subdomain data without directly interacting with target domains. It uses a modular architecture where each source is independent, allowing selective or full enumeration. Resolvers validate subdomains, with options for active resolution via goroutines. Rate limits per provider prevent detection, and recursive sources handle nested subdomain discovery.
Installation
sudo apt install subfinderFlags
Examples
subfinder -hsubfinder -d example.comsubfinder -dL domains.txtsubfinder -s crtsh,github -d example.comsubfinder -all -d example.comsubfinder -es alienvault,zoomeyeapi -d example.comsubfinder -o output.txt -d example.comsubfinder -ls