Amass
Learn Amass (Attack Surface Mapping Tool)
Understand how to discover subdomains and map the full attack surface of a target.
Link -> https://github.com/owasp-amass/amass
Tool: Amass
Description: Amass is a powerful tool used for attack surface mapping and asset discovery.
It combines:
- OSINT (passive data collection)
- Active reconnaissance
- DNS enumeration
It helps you:
- Discover subdomains
- Identify related domains
- Map external infrastructure
- Visualize relationships
Used in:
- Bug bounty hunting
- Red teaming
- Advanced reconnaissance
Installation / Check
Check if installed:
which amass
Install Amass:
sudo apt install amass
Basic Syntax
amass enum -d <domain>
Common Commands
Passive Enumeration
Command:
amass enum -d example.com
- What it does: Performs passive subdomain enumeration.
- When to use: To safely discover subdomains without direct interaction.
Active Enumeration
Command:
amass enum -active -d example.com
- What it does: Performs active subdomain enumeration.
- When to use: For deeper discovery with direct probing.
Intelligence Gathering
Command:
amass intel -d example.com
- What it does: Gathers intelligence about related domains.
- When to use: To find associated domains and assets.
Visualization
Command:
amass viz -d3 -d example.com
- What it does: Generates a visual graph of discovered assets.
- When to use: For graphical mapping of domain relationships.
Step-by-Step Guide
- Start with passive scan:
amass enum -d <domain>
- Analyze discovered subdomains
- Run active scan for deeper results:
amass enum -active -d <domain>
- Gather intelligence:
amass intel -d <domain>
- Export or visualize data:
amass viz -d3 -d <domain>
- Save results for reporting
Understanding Output
Amass shows:
- Subdomains → Discovered domains
- Data Sources → Where info came from
- IP Addresses → Resolved targets
- Relationships → Domain connections
Active Mode Adds:
- DNS resolution results
- More accurate mapping
⚠️ Important Warnings
- Active mode sends direct DNS queries
- Large scans may take significant time
- Some sources may have rate limits
- Always respect target scope and permissions
🚨 Legal Notice
⚠️ Use Kali Linux tools only on systems you own or have permission to test. Unauthorized scanning or mapping may lead to legal consequences.