National Cyber Warfare Foundation (NCWF)login

maltego-telegram for mapping Telegram channels, groups, and users in Maltego


0 user ratings
2026-10-27 03:28:08
milo
Red Team (CNA)
"maltego-telegram

maltego-telegram is a set of Maltego Transforms that pulls Telegram channel, group, and user relationships into graph form for investigators running lawful, authorized OSINT cases.








Toolvognik/maltego-telegram — Maltego transform collection for investigating Telegram channels, groups, and users
CategoryOSINT / link analysis / Maltego transforms
Primary UseExtending Maltego graphs with Telegram entities — pack owners, similar channels, linked profiles, and deleted-post detection — during authorized investigations
Safe UseLawful OSINT investigations, threat-intelligence research, and defensive attribution work by authorized professionals; the README itself states use only for lawful investigations
Telemetry NoteRuns against your own Telegram account via pyrogram and Telegram API credentials, so all queries are attributable to that account; it is read-only collection, not covert, and leaves API-side request logs tied to your api_id

maltego-telegram from vognik is a Python-based collection of Maltego Transforms focused on exactly one problem space: investigating Telegram. Rather than scattering effort across dozens of social platforms, the project deliberately narrows to Telegram channels, groups, and users, and brings that data into Maltego so investigators can explore connections and visualize relationships on a graph. With 564 stars, a GPL-3.0 license, and topics including osint, maltego, and pyrogram, it is a credible specialist addition to the OSINT toolchain rather than another general-purpose scraper. The README pitches it as built for one thing and made simple and intuitive, and the feature set backs that claim up.


The architecture follows the standard Maltego local-transform pattern. Transforms live in a transforms/ directory, and the project generates importable configuration via python project.py, producing entities.mtz and telegram.mtz files that you load into Maltego through **Import Config**. Under the hood it talks to the Telegram API using the pyrogram MTProto client library, which means it authenticates as a real Telegram account rather than hitting the web frontend. You supply your own api_id and api_hash — obtained through Telegram's official developer process — in a config.ini, then run python login.py to authenticate interactively before generating the transform files.


One of the more interesting pivots is sticker and custom emoji pack ownership. Every pack on Telegram has a creator, and maltego-telegram resolves the account associated with a pack's creation, pulls the creator's profile where accessible, and draws the pack-to-creator edge in the graph. The analytical value is structural: a creator's account can link otherwise unrelated packs, which is a classic attribution pivot when an operator runs multiple themed sticker sets across several personas or channels. For investigators tracing infrastructure behind a disinformation or fraud operation, that single join can collapse several suspects into one actor.


The similar-channels transform exploits Telegram's own recommendation feature. Telegram surfaces related channels as a list, and the tool retrieves those recommendations through the API, renders each channel as an entity, and connects them by recommendation links. Expanding recommendations from multiple seed channels reveals clusters of related outlets — useful both for mapping an influence network and, defensively, for understanding how a hostile channel ecosystem cross-promotes. Because these edges come from Telegram's own ranking logic rather than inference, they carry evidentiary weight the investigator can cite.


Forwarding metadata is another quietly powerful surface. Forwarded messages may retain references to their original authors, and the tool inspects that metadata to resolve accessible author profiles and connect them to the channel being investigated. The README makes a point worth remembering operationally: older forwards can retain author links even after the sender tightens privacy settings, so historical content sometimes preserves attribution that current settings would hide. In an authorized investigation, archived or long-running channels are therefore often richer than fresh ones.


Perhaps the most forensic of the transforms addresses deleted posts and archived content. Telegram assigns sequential numeric IDs to channel messages, which means gaps in the sequence are a signal — posts that existed and no longer do. maltego-telegram detects missing IDs in a channel's history and then checks public Telegram archives for matching channel and post IDs. Where an archive holds a copy, investigators may recover the original text, media, and publication date of content the operator tried to retract. This is classic takedown-detection work: bad actors routinely sanitize channels before pivoting to a new scheme, and the ID-gap technique makes that sanitation visible.


Installation is the standard two-step pattern: git clone https://github.com/vognik/maltego-telegram followed by pip install -r requirements.txt. From there the workflow is credential configuration, python login.py, python project.py, and importing the two .mtz files into Maltego. Once loaded, usage is conventional Maltego: drag an entity from the **Entity Palette** onto the graph, right-click it, and select a transform to run. There is no web service to stand up and no daemon; everything runs locally against your authenticated session.


A few operational caveats deserve emphasis for authorized users. First, because the tool authenticates through your own Telegram account with pyrogram, every query is attributable to that account — investigators should use dedicated, sanctioned accounts, never personal ones, and never query targets from infrastructure they cannot justify. Second, transforms only resolve what access controls permit: private profiles and restricted channels will not yield data, which is both a limitation and a feature from a compliance standpoint. Third, the README notes there are more transforms in the repository's transforms/ collection than the front page documents, so reviewers should audit that directory before relying on the advertised feature list as exhaustive.


From a defensive perspective, the tool is a consumer of public and semi-public data, not an exploit. It is directly useful to threat-intelligence teams tracking scam networks, coordinated influence operations, and fraud infrastructure that increasingly lives on Telegram. Blue teams can also reason about it from the other side: everything maltego-telegram surfaces — pack ownership, forwarding metadata, recommendation links, ID gaps — is equally visible to adversaries researching your organization's public footprint, which is a useful prompt for reviewing what your official channels leak through forwards and stickers.


The GPL-3.0 license means derivative transform work must stay open, which matters for teams considering internal forks. The project is positioned explicitly as built for the OSINT community, welcomes contributions, and closes its README with the caveat to use it responsibly and only for lawful investigations — framing consistent with its role as a professional investigator's utility. For anyone already living in Maltego day to day, maltego-telegram is a low-friction way to make Telegram a first-class node type in existing case graphs rather than a manual copy-paste exercise, and the deleted-post recovery transform alone justifies keeping it in the toolkit.



Official project repository for vognik/maltego-telegram.

Download Tool

Educational analysis for authorized security professionals. Use only in controlled, authorized environments.






Source: OffensiveSec
Source Link: https://www.offsecblog.com/2026/10/maltego-telegram-for-mapping-telegram.html


Comments
new comment
Nobody has commented yet. Will you be the first?
 
Forum
Red Team (CNA)



Copyright 2012 through 2026 - National Cyber Warfare Foundation - All rights reserved worldwide.