Detailed Study Notes on Passive Footprinting and Information Gathering Techniques
- Definition: Passive footprinting involves collecting information about a target without actively engaging with the target itself. This can include gathering data from publicly available resources.
Google Dorking
- Definition: An advanced search technique used to find specific information using Google search operators.
- Key Technique: Using subdomains and specialized queries.
- Example Query: Searching for
subdomains inurl:wscubetech.com can yield results specific to the subdomain. - Advanced Operators: Utilize operators like
index of to find files and directories on web servers. For example, index of hacking books may yield links to PDFs of hacking books.
Search Operators
- Index of Operator: Useful for locating files, including specific types like PDFs.
- Example:
filetype:PDF hacking books to find hacking book PDF documents.
- Other Operators:
- site:: Searches within a specific domain (e.g.,
site:wscubetech.com hacking). - intitle:: Finds pages with certain words in the title (e.g.,
intitle:hacking).
- Combining Operators: Can enhance specificity in searches, e.g., combining
filetype:PDF with inurl: or intitle:.
- MX Lookup: A method used to check MX records for email servers linked to a domain.
- Tools such as MX Toolbox can assist with these lookups.
- DNS Records Types:
- MX Record: Mail exchange record, important for email routing.
- A Record: Links domain names to IP addresses.
- NS Record: Indicates name servers for the domain.
- TXT Record: Contains text information for various uses such as email verification.
- Using Indexing for Hacking Tools: Searches can yield results for hacking-related tools evident through targeted queries.
- Identifying Records: Use checks on records to gather data, such as reverse lookups and PTR records which can point back to a domain.
- Example use case:
PTR lookup can show the association of an IP address back to its domain name.
- Netcraft: Web application that provides insights about a website’s technology stack, including hosting and frameworks used. Can be used as a browser extension.
- Vaporizer: Another tool for analyzing and gathering information on web applications.
- Risk Analysis: Assessing the risk associated with the technologies used on a given site.
Encryption and Security
- Heartbleed Vulnerability: A well-known security flaw in certain SSL/TLS implementations. Understanding its presence is useful for security assessments.
- SSL/TLS Certificates: Ensure that communication to/from a web application is secure. Tools can check for certificates and their validity.
- Common certificate authority: Let's Encrypt.
Overall Approach
- Active vs Passive: While passive techniques focus on gathering openly available information, active techniques involve direct interaction with the target to discover vulnerabilities.
- Documentation and Reporting: Important to maintain records of all gathered data and analysis for future reference or assessment.
In Closing
- The importance of ethical practices when performing footprinting and penetration testing. Always ensure the legality of assessments conducted on external networks or systems.