Recursive Enumeration
Last updated
Last updated
Through various testing and trying out new things for subdomain enumeration, my friend Six2dez came across a technique where running the subdomain enumeration tools again on each of the subdomains found yields in getting more subdomains in total
In easy words, we again run tools like Amass, Subfinder, Assetfinder again each of the subdomains that were found.
If you have set up API keys, this technique may consume your entire querying quota.
For a better understanding look at the image below:
This technique is only useful when your target has a large number of multi-level subdomains(not effective for small & medium scope targets).
It is recommended to execute this technique as the final step, exclusively on a validated list of subdomains that you have collected through other Passive + Active techniques.
This techniques may consume all your passive DNS service's API keys quota(if they are configured).
This techniques takes time to return the final results.
Read the list of subdomains from the file "subdomains.txt".
Process the subdomains in two steps:
a) Find the Top-10 most frequent occuring Second-Level Domain names with the help of tools like cut, sort, rev, uniq, etc. b) Find the Top-10 most frequent occuring Third-Level domains.
Now run passive subdomain enumeration on these 10 Second-level domain names and 10 Third-level domain names using tools like amass, subfinder, assetfinder, findomain.
Keep appending the results to passive_recursive.txt
file.
Now after finding out the a list of domain names, run puredns to DNS resolve them and find the alive subdomains.
Replace subdomains.txt
with the filename of your subdomains list.