Information Gathering
OWASP Amass is the industry-standard in-depth network mapping and attack surface discovery tool. It uses active and passive techniques, scraping 20+ public data feeds, DNS enumeration, and certificate transparency logs to discover subdomains, IP addresses, and ASN data — making it essential for penetration testing, bug bounty hunting, and enterprise security assessments.
sudo apt install amass
amass enum [options]
Amass is an in-depth network mapping and attack surface discovery tool developed and maintained by the OWASP Foundation. It uses open source intelligence to enumerate subdomains, IP addresses, ASN data, and infrastructure details for target organizations. Amass is considered the industry standard for comprehensive asset discovery and reconnaissance.
The tool combines passive intelligence gathering from over 20 public data sources with active DNS probing techniques. Passive mode queries Certificate Transparency logs, DNS databases, web archives, and API services (Shodan, Censys, SecurityTrails) without sending any traffic to the target. Active mode directly queries DNS servers and web servers for faster, more thorough results.
Amass is written in Go, which gives it excellent performance, cross-platform compatibility, and efficient concurrent DNS query handling. It supports multiple output formats including JSON, XML, and flat text, making it easy to integrate into existing security toolchains and reconnaissance pipelines.
The tool produces detailed network visualizations using D3.js, showing relationships between domains, subdomains, IP addresses, and autonomous system numbers. These visualizations help security professionals understand complex infrastructure layouts and identify potential entry points for penetration testing and bug bounty programs.
| Command | Purpose |
|---|---|
amass -version | Display the Amass interface version. |
amass enum -d example.com -timeout 10 | Run passive enumeration with a ten-minute no-progress timeout. |
amass enum -d example.com -oA amass-example | Enumerate and write all supported output formats. |
amass enum -active -d example.com | Enable active certificate and zone-transfer techniques. |
amass enum -passive -d example.comPassive subdomain discovery using OSINT sources only — no traffic sent to targetamass enum -active -d example.comActive DNS enumeration — directly probes DNS servers and web serversamass enum -active -d example.com -bruteActive enumeration with DNS brute-forcing for comprehensive subdomain discoveryamass intel -d example.comIntelligence gathering — discover ASN, IP ranges, and infrastructure detailsamass intel -org 'Company Name'Find all domains associated with an organization nameamass intel -cidr 192.168.1.0/24Discover domains associated with an IP CIDR rangeamass viz -d3 -d example.comGenerate interactive D3.js network visualization of discovered infrastructureamass track -d example.comTrack changes in discovered assets over time between scansamass enum -passive -d example.com -oF results.txtPassive enumeration with flat file output for pipeline integrationamass enum -active -d example.com -srcActive enumeration showing the data source for each discovered subdomainamass enum -d example.com -timeout 30Enumeration with custom timeout per data source in secondsamass enum -d example.com -max-dns-requests 100Limit concurrent DNS requests to control scan speed and avoid detectionamass enum -d example.com -brute -w wordlist.txtBrute-force subdomainsamass enum -d example.com -srcShow data sourcesamass enum -d example.com -json output.jsonJSON outputamass enum -d example.com -o output.txtText file outputamass enum -passive -d example.com -timeout 3030-minute timeoutamass viz -d example.com -d3D3.js visualizationamass enum -d example.com -config config.iniCustom config fileamass enum -active -d example.com -p 80,443,8080Verify specific portsamass intel -org Target CorpOrganization intelligenceamass intel -addr 192.168.1.0/24IP range intelligenceamass enum -d example.com -provider githubUse specific provideramass enum -d example.com -max-dns-queries 1000Limit DNS queriesamass db -last 24hShow last 24h resultsamass enum -d example.com -exclude censored.comExclude domainsamass enum -d example.com -vVerbose outputDiscover all subdomains of a target domain using passive OSINT, active DNS probing, brute-force, and Certificate Transparency logs.
Map the complete external infrastructure including IPs, ASNs, hosting providers, and organizational relationships.
Leverage CT logs to find subdomains that have been publicly issued SSL certificates — often revealing hidden assets.
Gather comprehensive DNS records including A, AAAA, CNAME, MX, NS, and TXT records across all discovered subdomains.
Generate interactive D3.js network graphs showing relationships between domains, subdomains, IPs, and ASNs.
Build complete inventories of external assets for enterprise security assessments and compliance auditing.
Map autonomous system numbers and IP ranges associated with target organizations for infrastructure understanding.
Use amass intel -org to discover all domains, IPs, and infrastructure belonging to a specific organization.
Identify subdomains hosted on AWS, Azure, GCP, and other cloud providers through ASN and IP range analysis.
Find unauthorized subdomains and infrastructure using your brand or associated with your organization.
Maximize attack surface coverage for bug bounty programs by discovering staging servers, API endpoints, and forgotten subdomains.
Investigate threat actor infrastructure by mapping domains, IPs, and ASN relationships for attribution.
Passive mode (amass enum -passive) queries public data sources like certificate transparency logs, DNS databases, and search engines without sending any traffic to the target. Active mode (amass enum -active) directly probes DNS servers, web servers, and performs DNS brute-forcing, generating detectable network traffic. Use passive for stealthy recon; use active for comprehensive discovery when detection is acceptable.
Amass is a comprehensive OWASP project that supports both passive and active enumeration, DNS brute-forcing, ASN discovery, and network mapping. Subfinder is passive-only and extremely fast, ideal for a quick first pass. Use Subfinder for speed and stealth; use Amass when you need deeper, active attack-surface mapping. Many professionals run both and merge the results.
Amass runs without API keys but returns limited results from free sources. Adding API keys for services like Shodan, Censys, SecurityTrails, VirusTotal, and GitHub dramatically increases coverage. Keys are configured in the Amass configuration file (~/.config/amass/config.yaml). Free tiers are available for most services.
On Kali Linux: sudo apt update && sudo apt install amass. For the latest version, install from GitHub: go install -v github.com/owasp-amass/amass/v4/...@master. Verify the installation with amass -version. Amass requires Go 1.18+ for building from source.
amass intel discovers ASN (Autonomous System Number) data, IP ranges, and infrastructure details associated with a target organization. Use amass intel -org 'Company Name' to find all domains belonging to an organization, or amass intel -d example.com to discover ASN and IP ranges. This is useful for mapping the full network footprint before active scanning.
Yes. Amass active mode performs DNS brute-forcing and directly probes DNS servers, which can discover subdomains not listed in any public database. Subfinder is passive-only and cannot find subdomains that were never publicly logged. Combining passive (Subfinder) and active (Amass) enumeration gives the most complete subdomain list.
Information Gathering
Learn how to use Subfinder in this beginner tutorial, from installing ProjectDiscovery's passive subdomain tool to running and reading your first authorised scan. Add API keys for wider coverage, save clean results, and chain Subfinder into httpx to validate live web hosts before further testing.
Information Gathering
DNSenum is a multithreaded Perl script for DNS enumeration that discovers DNS records, attempts zone transfers, brute-forces subdomains, and performs reverse lookups. It is a foundational reconnaissance tool in Kali Linux for mapping a target domain's DNS infrastructure.
Information Gathering
Fierce is a PERL script that quickly inspects a target domain for non-contiguous IP space and hosts by combining brute force testing, reverse lookup mapping, and wildcard tracking.
Information Gathering
dig (domain information groper) is a flexible tool for interrogating DNS name servers. It performs DNS lookups and displays the answers that are returned from the name server(s).
Information Gathering
Learn how to use theHarvester in Kali Linux: gather emails, subdomains, employee names, open ports, and banners from public sources with a step-by-step first scan, API keys, and worked examples for authorized OSINT recon.
Information Gathering
Recon-ng is a full-featured Web Reconnaissance Framework focused on open source intelligence. It provides a powerful environment to conduct web-based reconnaissance quickly and thoroughly via community modules.
Master subdomain enumeration techniques using passive and active methods to discover hidden subdomains and expand attack surface mapping.
OSINT · IntermediateLearn to use Amass for comprehensive attack surface mapping including DNS enumeration, subdomain discovery, integration with APIs, and visualizations.
OSINT · IntermediateLearn how to do DNS enumeration step by step with dig, nslookup, dnsrecon and gobuster — a worked example, tool comparison and cheat sheet.
OSINT · IntermediateLearn to map external attack surfaces using OSINT tools. Master subdomain discovery, service enumeration, and asset inventory for penetration testing and bug bounty hunting.
Amass output displays discovered subdomains, IP addresses, ASN data, and infrastructure relationships. Results are organized by source and include DNS records, hosting information, and network mappings. The tool builds a comprehensive attack surface map from 20+ data sources.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.