Skip to content

Commit 02ecc46

Browse files
committed
SOPs: sop-platform-telegram production-readiness pass (TOC + Legal block + Telegram-ID structure note)
1 parent 0904678 commit 02ecc46

1 file changed

Lines changed: 47 additions & 6 deletions

File tree

Investigations/Platforms/sop-platform-telegram.md

Lines changed: 47 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,34 @@ tags:
99
- messaging
1010
- osint
1111
created: 2024-03-24
12-
updated: 2025-08-11
12+
updated: 2026-04-27
1313
---
1414

1515
# Telegram OSINT SOP
1616

17+
> **Authorized OSINT use only.** Investigation accounts must comply with Telegram's [Terms of Service](https://telegram.org/tos) and the platform's prohibitions on bulk scraping, automated account creation, and coordinated inauthentic behavior. Review [[../Techniques/sop-legal-ethics|Legal & Ethics SOP]] and [[../Techniques/sop-opsec-plan|OPSEC Planning]] before any engagement.
18+
19+
## Table of Contents
20+
21+
1. [Access & Client Options](#1-access--client-options)
22+
2. [Discovery & Search Methods](#2-discovery--search-methods)
23+
3. [Search Operators & Methods](#3-search-operators--methods)
24+
4. [Repeatable Workflow](#4-repeatable-workflow)
25+
5. [Channel & Group Analysis](#5-channel--group-analysis)
26+
6. [User Profile Intelligence](#6-user-profile-intelligence)
27+
7. [Investigation Recipes](#7-investigation-recipes)
28+
8. [Collection & Evidence Integrity](#8-collection--evidence-integrity)
29+
9. [Advanced Techniques](#9-advanced-techniques)
30+
10. [Pivoting & Cross-Platform Correlation](#10-pivoting--cross-platform-correlation)
31+
11. [Tools & Resources](#11-tools--resources)
32+
12. [Risks & Limitations](#12-risks--limitations)
33+
13. [Quality Assurance & Verification](#13-quality-assurance--verification)
34+
14. [Real-World Scenarios](#14-real-world-scenarios)
35+
15. [Emergency Procedures](#15-emergency-procedures)
36+
16. [Legal & Ethical Considerations](#16-legal--ethical-considerations)
37+
17. [Related SOPs](#17-related-sops)
38+
18. [External Resources](#18-external-resources)
39+
1740
## 1) Access & Client Options
1841

1942
- **Web**: https://web.telegram.org (limited functionality, requires phone verification)
@@ -93,6 +116,12 @@ updated: 2025-08-11
93116
- **Last seen status**: Online indicators (if not hidden by user)
94117
- **Account creation**: Age estimation via join date of old groups
95118

119+
### Telegram User ID structure
120+
- Telegram user IDs are **monotonically increasing integers**, not timestamp-encoded snowflakes (contrast with Discord, which uses snowflake IDs whose top bits encode a millisecond-precision creation timestamp). Cross-link to a dedicated Discord SOP will be added when it lands.
121+
- A **lower** numeric ID generally indicates an **older account**; this is approximate, not exact, and cannot be converted to a creation date directly.
122+
- Public crowd-sourced lookup services (e.g., `@username_to_id_bot`, third-party "Telegram ID age" sites) provide rough age buckets — verify any time-based claim against multiple sources and flag with `[verify <date>]` in the dossier.
123+
- ID ordering is most useful as a **relative** signal: a brand-new ID alongside an old one in a coordinated channel indicates account-creation asymmetry worth investigating.
124+
96125
### Behavioral Analysis
97126
- **Message patterns**: Posting frequency, time zones, language style
98127
- **Mutual contacts**: Shared groups, common connections
@@ -368,7 +397,18 @@ with TelegramClient('session', api_id, api_hash) as client:
368397
- **National security**: State-sponsored operations, espionage, critical infrastructure threats
369398
- **Legal requirements**: Court orders, subpoenas, international law enforcement requests
370399

371-
## 16) Related SOPs
400+
## 16) Legal & Ethical Considerations
401+
402+
> Telegram OSINT sits at the intersection of platform ToS, encrypted-communications law, and (frequently) sensitive-crime evidence. The canonical source for legal posture is [[../Techniques/sop-legal-ethics|Legal & Ethics SOP]] — never re-derive it here.
403+
404+
- **Platform ToS**: bulk scraping, automated account creation, mass DM, and coordinated inauthentic behavior are prohibited by [Telegram's ToS](https://telegram.org/tos). Investigation accounts that violate ToS risk ban and evidence inadmissibility.
405+
- **Encrypted-comms law**: jurisdiction-specific. Some countries (UK Investigatory Powers Act, AU Assistance and Access Act, RU Yarovaya laws) impose obligations or restrictions on monitoring encrypted platforms even for OSINT. Confirm authorization scope before engagement.
406+
- **Joining a private channel**: lurking in a public channel is OSINT; joining a closed/invite-only channel via a sock-puppet may cross into pretexting under some legal frameworks (esp. EU GDPR Recital 47 / lawful basis). Document the legal basis in the collection log.
407+
- **Bot API discipline**: the official Bot API can read messages only after the bot is added to the chat. Using user-API libraries (Telethon, telegram-cli) under a personal account against third-party channels is a ToS gray area — flag and route to [[../Techniques/sop-legal-ethics|Legal & Ethics SOP]].
408+
- **Sensitive-crime routing**: CSAM, threat-to-life, trafficking, terrorism content found during OSINT triggers immediate hard-stop and routing per [[../Techniques/sop-sensitive-crime-intake-escalation|Sensitive Crime Escalation SOP]]. Do not download or further analyze CSAM; preserve URL + timestamp only and report to NCMEC (US) / IWF (UK) / national equivalent.
409+
- **OPSEC**: investigation phone numbers, payment methods, and devices must be isolated from the analyst's personal identity per [[../Techniques/sop-opsec-plan|OPSEC Planning SOP]]. Telegram's contact-discovery feature can leak phone numbers across mutually-saved contacts.
410+
411+
## 17) Related SOPs
372412

373413
- [[../Techniques/sop-legal-ethics|Legal & Ethics SOP]] - Review before every investigation
374414
- [[../Techniques/sop-opsec-plan|OPSEC Planning]] - Protect investigator identity (phone number, account isolation)
@@ -380,16 +420,17 @@ with TelegramClient('session', api_id, api_hash) as client:
380420
- [[../Techniques/sop-reporting-packaging-disclosure|Reporting & Disclosure]] - Final report preparation
381421
- [[../Techniques/sop-sensitive-crime-intake-escalation|Sensitive Crime Escalation]] - Law enforcement referral
382422

383-
## 17) External Resources
423+
## 18) External Resources
384424

385425
**Official Documentation:**
386426
- Telegram API Documentation: https://core.telegram.org/api
387427
- Bot API Guide: https://core.telegram.org/bots/api
388428
- Telegram Privacy Policy: https://telegram.org/privacy
429+
- Telegram Terms of Service: https://telegram.org/tos
389430

390431
**Third-Party Tools:**
391432
- Telethon Documentation: https://docs.telethon.dev
392-
- telegram-cli GitHub: https://github.com/vysheng/tg (odd)
433+
- telegram-cli GitHub: https://github.com/vysheng/tg [verify 2026-04-27 — project archival status]
393434
- Nuclei Templates: https://github.com/projectdiscovery/nuclei-templates
394435
- Social-Analyzer: https://github.com/qeeqbox/social-analyzer
395436

@@ -400,6 +441,6 @@ with TelegramClient('session', api_id, api_hash) as client:
400441

401442
---
402443

403-
**Last Updated:** 2025-08-11
404-
**Version:** 2.0 (Expanded & Standardized)
444+
**Last Updated:** 2026-04-27
445+
**Version:** 2.1 (TOC + Legal block + Telegram-ID structure note)
405446
**Review Frequency:** Yearly

0 commit comments

Comments
 (0)