Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Fierce – DNS reconnaissance tool for locating non-contiguous IP space

  • Last Updated : 14 Sep, 2021

Understanding the network structure of the organization is very important. So to locate targets both inside and outside a corporate network there is a tool designed in the Python Language known as Fierce. This tool is different from other tools as its main objective is to locate non-contiguous IP spaces and hostnames against specified domains or subdomains. The Fierce tool doesn’t scan the total internet for our results but the results which it finds are really helpful in the process. This tool is open-source and free to use. The Fierce tool is very easier to use due to its tags of flags features.

Note: Make Sure You have Python Installed on your System, as this is a python-based tool. Click to check the Installation process: Python Installation Steps on Linux

Installation of Fierce Tool on Kali Linux

Step 1: Check whether Python Environment is Established or not, use the following command.

python3

Step 2: Open up your Kali Linux terminal and move to the Desktop directory using the following command.



cd Desktop

Step 3: You are on Desktop now, create a new directory called Fierce using the following command. In this directory, we will complete the installation of the Fierce tool.

mkdir Fierce 

Step 4: Now switch to the Fierce directory using the following command.

cd Fierce 

Step 5: Now you have to install the tool. You have to clone the tool from Github.

git clone git clone https://github.com/mschwager/fierce.git

Step 6: The tool has been downloaded successfully in the Fierce directory. Now list out the contents of the tool by using the below command.



ls

Step 7: You can observe that there is a new directory created for the Fierce tool that has been generated while we were installing the tool. Now move to that directory using the below command:

cd fierce 

Step 8: Once again to discover the contents of the tool, use the below command.

ls

Step 9: Download the required packages for running the tool, use the following command.

pip3 install -r requirements.txt

Step 10: Now we are done with our installation, Use the below command to view the help (gives a better understanding of the tool) index of the tool.

python3 fierce/fierce.py -h

Attributes

  1. The fierce tool has the attributes to perform Reverse Lookups for the specified range of IP addresses.  [–dns-file] option is used.
  2. The fierce tool has the attribute to enumerate Domain Name System Records on the Target domain. [–dns-servers] option is used
  3. The fierce tool has the attribute of performing Internal as well as External IP ranges Enumeration. [–range] option is used.
  4. Class C IP addresses are also supported by the Fierce tool. [–traverse] option is used.
  5. The fierce tool has the attribute to Scan Name Server Directory and also Zone Transfer attack.

How does Fierce  Tool perform Scanning?

The fierce tool is the most helpful tool for the Reconnaissance, Information Gathering, and Scanning phase in the process of Penetration Testing or Network Testing. The working of this tool is very simple. At the very first stage, the tool performs scanning with brute-forcing attacks and can also perform zone transfer attacks on the target is possible. There are massive word lists that contain possible words, through which subdomains of the target can be enumerated. If the subdomain is not in the list, then there is no chance of detection of the subdomain on the target.



Additional Features and Functions

1. Saving

Unfortunately, there is no inbuilt function available for storing the results of the Fierce scan on the target at your disk. Although no saving function is available, so there is no feature to save the output in various formats. But you can redirect the output of the scan into any text file with some Linux skills and terminal commands.

2. Range Scan

One of the amazing functions or features of the Fierce tool is the Range scan. You can scan the range of IP address with a single click. –the range is the option that is mandatory while performing a range scan. You need to specify the IP address; like ( 192.168.28.4/24).

3. Dictionary file

A brute-forcing attack or method approach is used for enumeration or detection of subdomains associated with the target domain. The inbuilt wordlist file is activated when the installation of the Fierce tool is done on the system. But Fierce tool allows users to use custom subdomains wordlists with a massive number of possible subdomains words. –subdomain-file is the option for using the custom wordlists for brute-forcing.

Working with Fierce Tool on Kali Linux

Example 1: Basic

fierce --domain geeksforgeeks.org --subdomains write admin videos

In this Example, We are performing a simple scan using the subdomain words which include write, admin, videos. We have chosen geeksfoegeeks.org as our target.

Example 2: Traverse IPs near discovered domains to search for contiguous blocks with the –traverse flag

fierce --domain geeksforgeeks.org --subdomains videos --traverse 10

In this Example, We are scanning domains near discovered records. Our target domain is geeksforgeeks.org

Example 3: Attempt an HTTP connection on domains discovered with the –connect flag



fierce --domain stackoverflow.com --subdomains mail --connect

In this Example, We are attempting HTTP connection on the domains using the connect flag. We have chosen a different target for this Example, which is stackoverflow.com.

Example 4: Exchange speed for breadth with the –wide flag, which looks for nearby domains on all IPs of the /24 of a discovered domain

fierce --domain geeksforgeeks.org --wide

In this example, We will scan the entire class of discovered records. (Full Detailed Scan)

Example 5: Zone transfers are rare these days, but they give us the keys to the DNS castle.

fierce --domain geeksforgeeks.org

In this Example, We are performing a basic scan without any arguments on geeksforgeeks.org




My Personal Notes arrow_drop_up
Recommended Articles
Page :