Skip to main content

Installation and use of subfinder

What is subfinder?

Subfinder is a subdomain discovery tool that is part of the Kali Linux toolkit. It is designed to find valid subdomains for websites by using passive online sources and APIs. This tool is widely used in the reconnaissance phase of penetration testing, as it helps in identifying potential entry points in a target domain by discovering its subdomains.

Uses of Subfinder in Kali Linux:

  • Subdomain Enumeration: Subfinder scans various data sources to gather a comprehensive list of subdomains associated with a target domain. This is crucial for understanding the attack surface of a domain.

  • Passive Scanning: Unlike active scanning tools, Subfinder primarily relies on passive sources, meaning it gathers information without directly interacting with the target domain. This reduces the risk of detection by the target.

  • Integration with Other Tools: Subfinder can be used in combination with other tools like Amass or Assetfinder to enhance subdomain discovery efforts. It can also output results in formats compatible with other tools for further analysis.

  • API Integration: The tool supports various APIs (e.g., VirusTotal, Shodan, and Censys) to improve its discovery capabilities. By configuring API keys, users can leverage these services for more extensive subdomain enumeration.

  • Automation in Reconnaissance Workflows: 

    Subfinder can be easily integrated into automated reconnaissance workflows. It can be scripted to run periodically or as part of a CI/CD pipeline to keep track of subdomain changes over time.

first we need go lang  for the installation if you don't have go lang then read  blog :Installation and use of go

Steps for install subfinder:

  • type go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest in terminal for install subfinder.
  • then type cd go/bin/
  • then type sudo mv subfinder /usr/local/bin/ 
  • then type subfinder -h for help menu of subfinder.
  • then type subfinder -d geeksforgeeks.org

Comments

Popular posts from this blog

OWASP Top 10 : Understanding Broken Access Control

What is broken access control? Broken access control is a security issue where users can access data or perform actions that they shouldn't be allowed to. This happens when the system fails to properly enforce rules about what users can and cannot do. Types of access controls :  1 . Vertical privilege escalation:  Vertical privilege escalation happens when a normal user gains access to functionalities reserved for higher-privileged users. Example:  A normal user can change the policies of the company.  2. Horizontal privilege escalation:  Horizontal privilege escalation allows a user to switch their access to another user's account, essentially impersonating them. Example:  A normal user can switch their account to admin.  3 . Insecure direct object reference ( IDOR):  IDOR occurs when an application exposes a reference to an internal implementation object, such as a file, directory, or database key. Example:  Suppose...

OWASP Top 10 :Understanding Software and Data Integrity Failures

   What are Software and Data Integrity Failures? Software and Data Integrity Failures refer to issues that compromise the accuracy, consistency, and trustworthiness of software and data. These failures can result from various factors, including malicious attacks, software bugs, or misconfigurations. Key Types of Software and Data Integrity Failures: 1. Input Validation Failures : Occur when the software does not properly validate input data. Examples : Buffer overflows, SQL injection, and cross-site scripting (XSS). 2. Authentication and Authorization Failures : Occur when there are weaknesses in verifying user identities or controlling user permissions. Examples : Broken authentication mechanisms, and improper access controls. 3. Cryptographic Failures : Involve weaknesses or misconfigurations in cryptographic mechanisms. Examples : Use of weak encryption algorithms, and improper key management. 4. Configuration and Deployment Failures : Arise from incorrect software or...

Intruder - Sniper Attack

Purpose:  The Sniper attack type is designed to test one input position at a time, allowing you to see how a single variable affects the outcome of a request. This is particularly useful for brute-force attacks on parameters like usernames, passwords, session tokens, etc. How It Works: Single Position Testing:  In a Sniper attack, you identify a single position in your request where the payloads will be inserted one by one. Each request only varies by this one position. Payload Iteration:  Burp Suite will go through the list of payloads you provide and substitute them at the designated position, sending a new HTTP request for each payload. Steps: 1.Capture the Request: Use Burp Suite’s Proxy tab to intercept the login request. For example, the intercepted HTTP POST request might look like this :                                       ...