You are a Threat Hunter. While investigating, did you find yourself with more than 20 tabs opened in your browser, scattered .txt files with data and some terminals showing up in the background?
theTHE centralizes all the information on an investigation in a single project and shares its results with your team (and with nobody else). theTHE caches your API responses, so you don't need to repeat the requests. Don’t share your keys, let the users make calls to the services.
theTHE also contains some command-line tools integrated so you don't have to open a terminal and pipe the results in a .txt file.
Your feedback is welcome.
First, clone this repository with:
git clone https://github.com/ElevenPaths/thethe.git
Then, build the images and run the containers
docker-compose up -d
You should see thethe in https://localhost after a ☕
By default, there is a single user admin with password admin
Change the admin password as soon as you log into thethe the very first time.
There are not API keys stored by default on the system.
To add an API key, there is an option in the user menu (upper-right corner).
All API keys (a new API management system is being development) must be written as CSV values:
service_name_1,api_value_1
service_name_2,api_value_2
...
service_name_n,api_value_n
If a service must have more than one API key, secret, etc...
secret,api_value
...
cookie,cookie_value
and so on...
Mongodb has a bind volume to ease external storage and backups in a folder mongodb_data
In any case, we have provided you with a couple of scripts to backup (a compressed file) and restore data from your mongo container.
Inside utils folder:
Make a backup
backup_thethe_db.sh <mongodb_container_name>
Restore from a backup
restore_thethe_db.sh <mongodb_container_name>
Make a database backup! (check the section "Database Backups and Restoration")
git pull
If the source code has been changed all the mounted volumes should reflect such changes. However in certain cases (third party libraries, etc) the images will have to be rebuilt.
Stop the containers:
docker-compose stop
Rebuild images:
docker-compose build
Restart the system
docker-compose up -d
If you want to collaborate with the project, a development version is provided:
git clone https://github.com/ElevenPaths/thethe.git
docker-compose -f docker-compose_dev.yml up -d
cd frontend
npm install
npm run serve
Website: https://thethe.e-paths.com
License: https://raw.githubusercontent.com/ElevenPaths/thethe/master/LICENSE