5 ms·
Enumerate all the subdomains for a domain name
- Kab1r 2y agoIs this just searching certificate transparency logs?
- flemhans 2y agoI think it's a mix of different sources. Certainly, some of my subdomains there never had an SSL certificate.
- yup_sto 2y agoI'd imagine it's a combination of - CT log monitoring (https://github.com/CaliDog/CertStream-Server https://github.com/CaliDog/CertStream-Server) - Mass-Scanning across ipv4 on 80/443 at the least? - Brute-forcing subdomains on wildcards with large DNS wordlist (like something from assetnote: https://wordlists-cdn.assetnote.io/data/manual/best-dns-wordlist.txt https://wordlists-cdn.assetnote.io/data/manual/best-dns-word...) - Scraping/extracting subdomains/domains from JS But I've never attempted to enumerate subdomains on this scale before, so I could be missing something obvious
- Eikon 2y agoWell, CT logs are a data dump, they are not searchable, ingesting all that data near-real time and making it searchable in a useful and fast way (especially with wildcards) is actually quite challenging!
- stavros 2y agoWhere does one ingest them from?
- supriyo-biswas 2y agohttps://github.com/google/certificate-transparency-community-site/blob/master/docs/google/known-logs.md https://github.com/google/certificate-transparency-community...
- stavros 2y agoThanks!
- remram 2y agoI have subdomains with (non-wildcard) certificates that aren't on there.
- yup_sto 2y ago[dead]
- yup_sto 2y agoHave you considered adding a monitoring feature where a user can enter a domain to be monitored and then be notified if a "similar" domain comes across the ingestion pipeline. This would be useful for early detection of potential impersonations/typo-squatting domains typically used for phishing/scams. Something as simple as a configurable levenshtein distance/jaro-winkler similarity check across CN and SAN of all new certs maybe? (user can configure with threshold to control how "noisy" they want their feed).
- Eikon 2y agoFor sure, it was on my todo list :)
- yup_sto 2y agoAwesome, I will keep my eye on this for sure, I've spent the past few months tinkering with ingesting CT logs for bug bounty automation. Curious if you're running your own CertStream server, or just continuously polling known CT logs with your own implementation.
- Eikon 2y agoI am not using certstream as we'd lose data on the first network error. The way it's designed is more "Rsync for ct logs" than something like a stream => storage system. Btw, you can get our feed like that: curl -N 'https://api.merklemap.com/live-domains?no_throttle=true'
- yup_sto 2y agoI also noticed you are ingesting/storing flowers-to-the-world.com certs, not sure what stage of optimization you are at but blacklisting/ignoring these certs in my ingestion pipeline helped with avoiding storing unnecessary data I'm not sure but I believe that's used by Google internally for testing purposes. For example if you search google, it returns 120k+ results, and these useless results are at the front.
- 2y ago
- veb 2y agoHow strange. I just tried this out and I see two unauthorised subdomains, with one being an actual "spam" website. However, I don't even know how to delete a subdomain that doesn't show up in my domain registrar or cloudflare! Thanks for the tool.
- marginalia_nu 2y agoDoesn't seem to work if you have wildcard records, e.g. https://www.merklemap.com/search?query=marginalia.nu&page=1 https://www.merklemap.com/search?query=marginalia.nu&page=1 doesn't catch the fact that I have like 20 viable subdomains for marginalia.nu.
- bjoli 2y agoYup. I can see the ones I registered without a wildcard, but all the ones I created after that are hidden.
- roninorder 2y agoFound only 43 subdomains for *.wordpress.com.