Skip to content

OWASP Amass

17 commands

In-depth attack-surface mapping: discovers subdomains through passive sources, DNS brute-forcing and permutation, and graphs the results.

  • subdomains
  • DNS
  • attack surface

Install OWASP Amass

sudo apt install amass

Enumeration10

amass enum -passive -d <domain>

Passive subdomain discovery from certificate logs, DNS datasets and APIs — no traffic reaches the target.

Link
amass enum -d <domain>

Default enumeration: passive sources plus DNS resolution of what it finds.

Link
amass enum -active -d <domain>

Active mode: zone-transfer attempts and TLS certificate grabbing on the given ports.

Link
amass enum -brute -d <domain>

Adds DNS brute-forcing with the built-in wordlist.

Link
amass enum -brute -w <wordlist> -d <domain>

Brute-forces with your own wordlist.

Link
amass enum -df <file>

Enumerates many root domains from a file.

Link
amass enum -d <domain> -o <file>

Writes discovered names to a file.

Link
amass enum -d <domain> -timeout <minutes>

Stops after a time limit.

Link
amass enum -d <domain> -rf <resolvers>

Uses a trusted resolver list for more reliable results.

Link
amass enum -d <domain> -config <file>

Loads API keys for sources such as Shodan, Censys and SecurityTrails, which greatly improves passive coverage.

Link

Intelligence4

amass intel -org "<name>"

Finds ASNs and network ranges registered to an organisation.

Link
amass intel -asn <asn>

Finds root domains hosted in an autonomous system.

Link
amass intel -cidr <cidr>

Reverse lookups across a network range to find domains.

Link
amass intel -d <domain> -whois

Finds related domains through reverse WHOIS.

Link

Results3

amass subs -names -d <domain>

Lists names stored in the local Amass database from earlier runs (v4+).

Link
amass viz -d3 -d <domain>

Renders the discovered graph as an interactive HTML visualisation.

Link
amass enum -passive -d <domain> | httpx -silent

Pipes subdomains into httpx to find live web servers.

Link