DNS analysis

passiverecon footprinting web_information_gathering

DNS records lookup

You can use the commands nslookup/dig to query DNS servers. You can also use the website DNS dumpster, to find both domains and subdomains.

You can also check DNSRecon, but it's mainly used during discovery.

➑️ Find attack vectors: domains, subdomains, mail servers... They may also expose, with the TXT records, third-party apps and services.


WHOIS

You can use whois to dig for registrar information.

➑️ Find a (human) target to attack.

Certificate Transparency (CT)

subdomainenumeration

Another popular way to find subdomains is to study the generated certificate. A SSL certificate is generate for usually multiple domains, so we may find subdomains or other domains like this.

See SSL Tools such as crt.sh.

➑️ Find attack vectors: subdomains or other domains.


πŸ‘» To-do πŸ‘»

Stuff that I found, but never read/used yet.

$ sudo apt install subfinder
$ subfinder -d example.com