vognik/maltego-telegram
๐ OSINT Maltego Transforms for investigating Telegram channels, groups, and users, including deanonymization via stickers, forwarded messages, similar channels, deleted posts, and more.
๐ Maltego Telegram
OSINT Transforms for Telegram investigations
Maltego Telegram is a free set of Maltego Transforms designed for OSINT investigations in the Telegram messenger.
The project originally focused on de-anonymization via stickers and emoji, but has since evolved into a full-featured toolkit for analyzing Telegram channels, groups, and user profiles.
๐ Features
With Maltego Telegram you can:
- ๐ฑ Retrieve a Telegram profile by phone number
- ๐ฅ Discover groups and chats linked to a Telegram channel
- ๐ก Get a list of Telegram group administrators
- โ๏ธ Identify authors of Telegram channels
- ๐ Collect forwarded and audience-overlapping (similar) channels
- ๐ Detect deleted posts and generate links to archived content
- ๐ Index all stickers and emoji used in a Telegram channel
- ๐งฉ Identify creators of sticker and emoji packs
More than 10 Transforms are currently available.
A full list can be found:
- in the
Transformsdirectory - directly in Maltego after importing the project
๐ง How it works
Below are some key investigation scenarios enabled by the Transforms.
๐ Stickers and their creators
Every Telegram user has a unique UID.
When a user creates a sticker pack, this UID is embedded inside the pack ID.
The Transform extracts it using the following logic:
- Request sticker pack metadata via the Telegram API
- Extract the value of the
idfield - Perform a 32-bit right binary shift
The resulting UID can be resolved to a username (for example, via the @tgdb_bot).
๐ Practical use case
If a channel author does not provide contact details, they can be de-anonymized by scanning the channel for sticker packs they have created.
Maltego Telegram performs this process automatically.
๐ Read more:
What's wrong with stickers in Telegram? Deanonymize anonymous channels in two clicks
๐ Similar channels
Telegram provides a built-in feature for discovering channels with overlapping audiences, but the results are shown only as a list.
Maltego enhances this by:
- visualizing relationships,
- revealing channel networks,
- simplifying ecosystem-level analysis.
๐ Profiles associated with a channel
Channel administrators often:
- forward their own messages,
- repost content from personal accounts.
Even if a user later restricts forwarding (Forwarded Messages = Nobody), older forwarded messages remain linked to the original profile.
This Transform:
- detects such messages,
- connects channels to real user profiles.
๐ Deleted posts and archived content
Each Telegram post has a sequential numeric ID:
- 1, 2, 3, 4 โฆ
Missing IDs indicate that posts were deleted.
This Transform:
- detects gaps in post IDs,
- checks public Telegram archives,
- generates links to preserved copies of deleted content.
โ๏ธ Installation
1๏ธโฃ Clone the repository
git clone https://github.com/vognik/maltego-telegram2๏ธโฃ Install dependencies
pip install -r requirements.txt3๏ธโฃ Configure config.ini
Set the following values:
api_idandapi_hash
https://core.telegram.org/api/obtaining_api_idbot_token
https://core.telegram.org/bots/tutorial#obtain-your-bot-token
4๏ธโฃ Log in to Telegram
python login.py5๏ธโฃ Generate Transform files
python project.py6๏ธโฃ Import into Maltego
Import the following files using Import Config in Maltego:
entities.mtztelegram.mtz
โถ๏ธ Usage
- Drag an entity from the Entity Palette
- Right-click on it
- Select the desired Transform
๐ฅ Demo:
demo.mp4
๐ License
This project is licensed under the GPL-3.0 license.
See the LICENSE file for details.





