As someone tasked with threat analysis, it is important for a threat hunter to understand how threat exposure occurs due to external factors such as user account breaches. There are many ways to analyze compromised accounts caused by malware stealers that infiltrate user devices. However, the average service provider offering user account exposure analysis tends to have a relatively high cost, making it challenging for threat analysts to provide their analysis.
OHCTI! Threat Exposure is a tool built to facilitate this function, where threat analysts and intelligence professionals can examine exposure of user accounts within the organization under analysis, or perhaps for those conducting related research. OHCTI! Threat Exposure will detect user account breaches distributed through Telegram accounts. Every new file containing user information that emerges will be automatically integrated into the OHCTI! Threat Exposure system. You can easily search for account exposure using Telegram by contacting your BOT, and the BOT will automatically provide the results of your search command.
- Git
- Docker (and Docker Compose)
- Telegram BOT token (Create Bot using Bot Father)
- Telegram Account (API_ID, API_HASH, USER_PHONE) Telegram Account
sudo apt update
sudo apt install lsb-release ca-certificates apt-transport-https software-properties-common -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
sudo apt install docker-ce
mkdir -p ~/.docker/cli-plugins/
curl -SL https://github.com/docker/compose/releases/download/v2.5.0/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose
chmod +x ~/.docker/cli-plugins/docker-compose
sudo chmod 666 /var/run/docker.sock
Use This Command To Download Script
git clone https://github.com/openhunting-io/ohcti-threatexposure
sudo chmod 777 -R ohcti-threatexposure
cd ohcti-threatexposure
mv .env.example .env
Insert your Telegram BOT Token (Bot Father) And Telegram Account (Telegram Account)
BOT_TOKEN=
## EXAMPLE
# BOT_TOKEN=6342412021:AAFr_cIgZFZYKzkdIn6NJ3UQzJ-WxrK2ayd
TELEGRAM_API_ID=
TELEGRAM_API_HASH=
TELEGRAM_PHONE_NUMBER=
## EXAMPLE
# TELEGRAM_API_ID=2172637
# TELEGRAM_API_HASH=1813a353948a0baaff99a5b59c6e5380
# TELEGRAM_PHONE_NUMBER=+628123456789
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
docker build -t ohcti-threatexposure-my-app-watcher ./app-watcher/
Then, Create Telegram Session
docker run -it --rm -v $(pwd)/app-watcher:/app -v $(pwd)/channel/telegram.txt:/channel/telegram.txt:ro -v $(pwd)/breachfiles:/breachfiles --env-file .env ohcti-threatexposure-my-app-watcher python sessiongenerate.py
here is example, if you run in Windows
docker run -it --rm -v C:/Coding/docker/oh-ctionbudget/app-watcher:/app -v C:/Coding/docker/ohcti-threatexposure/channel/telegram.txt:/channel/telegram.txt:ro -v C:/Coding/docker/ohcti-threatexposure/breachfiles:/breachfiles --env-file .env ohcti-threatexposure-my-app-watcher python sessiongenerate.py
You Have to Insert Phone Number, then get token from Telegram.
Then, Running Docker Compose
docker compose up -d
First you have to mapping sub domain /map (if your assets have many sub domain breach)
/map example.co.id
and then you can detail result by using /search, chat your telegram bot, for example
/search sub.example.co.id
Here some telegram group for monitoring account stealer (i have insert in ./channel/telegram.txt):
- https://t.me/urlloginpass666
- https://t.me/txtbases
- https://t.me/baseclouds
- https://t.me/privatemail_pass
- https://t.me/urlloginpassbase
- https://t.me/URLPASSWORD
- https://t.me/cloudtxt
- https://t.me/nusacloud
- https://t.me/chrono_cloud
- https://t.me/SansaraCloud
- https://t.me/txtbaseurl
Let's Opensource Threat Hunting Intelligence Information & Tools. Openhunting.io is Project To Make Threat Hunting Information & Tools Available for Every One