sublist3r

Enumerating Subdomains Using Sublist3r

Table of Contents

In the red team, enumeration is one of the important steps. Enumerating subdomains is important for discovering potential weak links or easy-to-attack areas of a web application.

Today, we will learn all about the sublist3r tool.

Sublist3r is one of the best tools to use for looking up subdomains. This is an open-source tool written in the Python programming language.

It gathers information from various sources, such as search engines, passive DNS databases, and social media platforms.


Installing Sublist3r

Sublist3r tool comes pre-packaged in Kali Linux.

We don’t need to go to a GitHub repository to install the tool and the packages required to run it.

To install sublist3r through the Kali Linux repository.

Bash
sudo apt-get install sublist3r
install-sublist3r

As you see above image, it looks like the tool is already installed in the system.


Detailed Options

FlagDescription
-dTo enumerate subdomains from the specific domain.
-bTo discover subdomains by brute-forcing possible or common names.
-p Discover subdomain by matching specific open ports
-vTo view results in real-time as they discovered.
-tSet the number of threads used during brute-forcing mode.
-eTo scan subdomain through certain search engines.
-oTo save results to a specific text file.
-hTo view available options and get a quick reference.

Usage

  1. Help page
Bash
sublist3r -h
help sublist3r

From this help page, you can get all the information about all the options that can be used by this option.

  1. Enumerate subdomains of a specific domain.
Bash
sublist3r -d cyberthreatinsider.com
specific-domain-sublist3r

Use this if you want to just find a subdomain of a specific domain.

  1. Enumerate subdomains which have open ports.
Bash
sublist3r -d cyberthreatinsider.com -p 22,80,443
ports-sublist3r

By this option, some subdomains will be eliminated if they don’t have the same open ports as mentioned in the command.

  1. View the result in the Realtime.
Bash
sublist3r -d cyberthreatinsider.com -v
realtime result sublist3r
  1. Brute forcing attack
Bash
sublist3r -d cyberthreatinsider.com -b

Sublist3r tool uses Subbrute as a module to brute-force subdomains.

  1. Use specific search engines.
Bash
sublist3r -d cyberthreatinsider.com -e ssl
specific search engine sublist3r

Conclusion

Enumerating subdomains gives valuable insights about the target. It helps to automate the process and effectively discover juicy links.

By following the article, you may get a small picture of what really a sublist3r is. Comment below if you are facing any issues or have any questions.

Share this post

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.