Preface#
This article mainly consists of some notes on the speech given by renowned bounty hunter @GodfatherOrwa at NahamCon2023.
Main Text#
- To find all information related to . target., first you need to determine the target organization's name. This can be done by clicking on the lock icon ------> secure connection (connection is secure) ------> certificate is valid.
2. Use the following statement to search for information related to the target:
ssl:"Organization Name"
3. If your target is a specific TLD, for example, *. target.com, use the following search:Ssl.cert.subject.CN:"target.com"
4. Searching for a large target domain will give you a massive amount of results. To filter out unnecessary results, such as "Invalid URL," use the following search:Ssl.cert.subject.CN:"target.com" -http.title:"invalid URL"
5. You can view all HTTP titles and other information related to the target in "Facet Analysis." Suppose you find pages with the title "302 Found" when filtering using http.title and you only want to view the corresponding IP addresses. In that case, use this search:Ssl.cert.subject.CN:"target.com" http.title:"302 Found"
6. Sometimes a domain may be inaccessible, but finding the corresponding IP in Shodan will provide you with real-time pages. In such cases, search for the domain in Google, Bing, URLScan, Web Archive, etc. 7. If there is a large amount of cached data for the target domain, manually check if certain directories are accessible. Try to understand the types of errors encountered when accessing certain pages and guess the web server being used. Then, you can perform content discovery (such as directory probing) on the page.-
You can also use status codes such as 302, 200, 403 in your search to find pages corresponding to them. See what discoveries can be made with pages that have a 403 status.
-
Sometimes, bypassing a WAF can be achieved by accessing the page's IP instead of the domain name. Once you have obtained an IP without a WAF, you can accordingly perform fuzz testing.
-
If there is a Windows application (target) such as IIS Web Server Page, search for more results on that domain in Bing for better results.