theTHE : The Threat Hunting Environment

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.

Installation

First, clone this repository with:

git clone https://github.com/ElevenPaths/thethe.git

Last, build the images and run the containers

docker-compose up -d

You should see thethe in http://localhost

Also Read – Nginx Log Check : Nginx Log Security Analysis Script

Default User

  • By default, there is only one user admin with password admin
  • Change the admin password as soon as you login into thethe the very first time.

API Keys

  • There are not API keys stored by default in the system.
  • To add an API key, there is an option in the user menu (right upper corner).
  • All API keys (a new API management system is in 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

What if a service must have more than one API key, secret, etc…

secret,api_value



cookie,cookie_value

and so on…

Database Backups & Restoration

MongoDB has a bind volume to ease external storage and backups in a folder mongodb_data

In any case, we have provided you 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>

Updating

Make a database backup! (look section “Database backups and restoration”)

git pull

If the source code has been changed all the mounted volumes should reflect the changes, but in certain cases (third party libraries, etc) the images must be rebuilt.

Stop the containers:

docker-compose stop

Rebuild images:

docker-compose build

Restart the system

docker-compose up -d

Development Environment

If you want to collaborate with the project a development version is provided:

Get The Repository

git clone https://github.com/ElevenPaths/thethe.git

Docker

docker-compose -f docker-compose_dev.yml up -d

Run the frontend

cd frontend
npm install
npm run serve

R K

Recent Posts

Playwright-MCP : A Powerful Tool For Browser Automation

Playwright-MCP (Model Context Protocol) is a cutting-edge tool designed to bridge the gap between AI…

2 weeks ago

JBDev : A Tool For Jailbreak And TrollStore Development

JBDev is a specialized development tool designed to streamline the creation and debugging of jailbreak…

2 weeks ago

Kereva LLM Code Scanner : A Revolutionary Tool For Python Applications Using LLMs

The Kereva LLM Code Scanner is an innovative static analysis tool tailored for Python applications…

2 weeks ago

Nuclei-Templates-Labs : A Hands-On Security Testing Playground

Nuclei-Templates-Labs is a dynamic and comprehensive repository designed for security researchers, learners, and organizations to…

2 weeks ago

SSH-Stealer : The Stealthy Threat Of Advanced Credential Theft

SSH-Stealer and RunAs-Stealer are malicious tools designed to stealthily harvest SSH credentials, enabling attackers to…

2 weeks ago

ollvm-unflattener : A Tool For Reversing Control Flow Flattening In OLLVM

Control flow flattening is a common obfuscation technique used by OLLVM (Obfuscator-LLVM) to transform executable…

2 weeks ago