Sublert
Sublert Description
Sublert is a security and intelligence tool written in Python to use Certificate Transparency for the sole purpose of monitoring new subdomains deployed by specific organizations and the issued TLS/SSL certificate for this new subdomain. It is assumed that the tool should be run on a schedule at a certain time, at certain dates or intervals (ideally, every day). Newly identified subdomains will be sent to the Slack workspace with a notification. In addition, the tool performs DNS resolution to identify working subdomains.
Sublert can be started manually. When adding a new domain, Sublert will show the working subdomains. When starting Sublert without adding new domains, the domains previously added to monitoring will be checked for new subdomains.
GitHub: https://github.com/yassineaboukir/sublert
Author: Yassine Aboukir
License: MIT
Sublert Help
Usage:
sublert.py [-h] [-u TARGET] [-q true|false] [-d REMOVE_DOMAIN] [-t THREADS] [-r] [-l] [-a] [-m]
Options:
-h, --help show this help message and exit -u TARGET, --url TARGET Domain to monitor. E.g: yahoo.com (default: None) -q true|false, --question true|false Disable user input questions (default: True) -d DOMAIN, --delete DOMAIN Domain to remove from the monitored list. E.g: yahoo.com (default: None) -t THREADS, --threads THREADS Number of concurrent threads to use. (default: 10) -r, --resolve Perform DNS resolution. -l, --logging Enable Slack-based error logging. -a [LISTING], --list [LISTING] Listing all monitored domains. -m, --reset Reset everything.
Sublert Usage Example
Adding the yandex.ru domain to monitor the emergence of new subdomains:
sudo sublert -u yandex.ru
Search for new subdomains for all monitored domains:
sudo sublert
How to install Sublert
Important: for any installation method, the script needs to be modified, otherwise the program simply does not work. For details on modifying the script, see the instructions at the link below.
Installation on Kali Linux
sudo apt install git python3 python3-termcolor python3-tld python3-requests python3-dnspython python3-psycopg2 python3-tld git clone https://github.com/yassineaboukir/sublert && cd sublert python3 sublert.py -u paypal.com
If an error occurs
Traceback (most recent call last): File "/home/mial/bin/sublert/sublert.py", line 16, in <module> from tld.utils import update_tld_names ImportError: cannot import name 'update_tld_names' from 'tld.utils' (/usr/lib/python3/dist-packages/tld/utils.py)
Then run the following commands:
sudo apt install python3-pip sudo pip3 install tld==0.9.6
Installation on Debian, Linux Mint, Ubuntu
sudo apt update sudo apt install git python3 python3-termcolor python3-tld python3-requests python3-dnspython python3-psycopg2 python3-tld git clone https://github.com/yassineaboukir/sublert && cd sublert python3 sublert.py -u paypal.com
If an error occurs
Traceback (most recent call last): File "/home/mial/bin/sublert/sublert.py", line 16, in <module> from tld.utils import update_tld_names ImportError: cannot import name 'update_tld_names' from 'tld.utils' (/usr/lib/python3/dist-packages/tld/utils.py)
Then run the following commands:
sudo apt install python3-pip sudo pip3 install tld==0.9.6
Installation on BlackArch
The program is pre-installed on BlackArch. To install in minimal builds run:
sudo pacman -S sublert
Sublert Screenshots
Comments are Closed