pentesting, updated

amass

OWASP Amass: in-depth subdomain enumeration and attack-surface mapping from passive and active sources.

What it’s for

Thorough subdomain and attack-surface discovery, combining many passive sources with optional active resolution and brute forcing.

Options

Subcommands

SubcommandEffect
amass enumFind and resolve subdomains
amass intelDiscover root domains and org info for a target
amass dbQuery results stored in the local graph database

enum targeting

FlagEffect
-d example.comTarget domain (repeatable)
-df domains.txtRead target domains from a file
-passiveNo active DNS resolution — stealthier, faster
-activeResolve and allow active techniques
-bruteBrute-force subdomains
-w wordlist.txtWordlist for brute forcing
-norecursiveNo recursive brute forcing

Sources, scope and output

FlagEffect
-srcShow which source reported each name
-ip / -ipv4Show resolved addresses
-o out.txtWrite results to a file
-json out.jsonJSON output
-config config.yamlConfig file with API keys
-exclude src1,src2Disable named data sources
-max-dns-queries NRate-limit resolution

intel options

FlagEffect
-d example.comSeed domain
-whoisPull related domains via reverse WHOIS
-asn NEnumerate an ASN
-cidr 10.0.0.0/24Seed from a network block
-org "Example"Search by organisation name

Examples

Enumeration

amass enum -passive -d example.com                     # passive only, no direct target traffic
amass enum -active -d example.com -ip                  # resolve names, show addresses
amass enum -brute -w subs.txt -d example.com           # add brute forcing from a wordlist
amass enum -df domains.txt -o subs.txt                 # several domains from a file → file
amass enum -passive -d example.com -src                # tag each result with its source
amass enum -config config.yaml -d example.com          # use API keys for more sources

Intel (find the attack surface first)

amass intel -d example.com -whois                      # related domains via reverse WHOIS
amass intel -org "Example Inc"                         # domains tied to an org name
amass intel -asn 65001                                 # enumerate a whole ASN
amass intel -cidr 203.0.113.0/24                       # seed from a network block

Working with stored results

amass db -names -d example.com                         # list stored names for a domain
amass db -show -d example.com                          # full findings from the graph db

References

§ home
~/knubertus/home/
1,1 Top