Manual enumeration
Subdomain enumeration
Put usual domain names (Seclists!) and iterate them with the bash
$ for ip in $(cat list.txt); do host $ip.domain.com; done
IP enumeration
Enumerate an IP range to find domains
$ for ip in $(seq 50 100); do host 38.100.193.$ip; done | grep -v "not found"
Zone transfer
Perform a DNS zone transfer like this:
host -l megacorpone.com ns1.megacorpone.com
Detect DNS requests e.g. via https://app.interactsh.com/
Tools
DNSenum
Performs multiple DNS enumeration strategies. A good start.
dnsenum domain.com
DNSRecon
dnsrecon is an enumeration script.
Zone transfer
dnsrecon -d domain.com -t axfr
VHost search
dnsrecon -d domain.com -D vhost_names.txt -t brt
See also here for VHost enumeration.
dig
Read information about a host
dig [@$dnsServer] host01 ANY
Dig can read a local configuration file. It can also be tried to read an arbitrary file.
dig -f /etc/passwd 127.0.0.1
Get all DNS information
dig @8.8.8.8 $target -t AXFR
DNSDumpster
Queries multiple sources and aggregates the data. Github page
python3 dnsdumpster.py -d $target
DNSTool
DNSTool Add/modify/delete Active Directory Integrated DNS records via LDAP.
Windows
Standard lookup:
nslookup domain.com
Leave a Reply
You must be logged in to post a comment.