Suspicious Telegram API proxy access without Telegram User-Agent
Alerts on api.telegram.org requests where the User-Agent lacks common Telegram bot identifiers.
FreeReviewedSigma · Medium · v2
- Category
- proxy
- Author
- Florian Roth (Nextron Systems) (SigmaHQ), DRL 1.1
- Published
- 2018-06-05
- Updated
- 2026-07-31
ATT&CK techniques
C2Recon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
Exfiltration
Impact
What it detects
This rule flags proxy requests to api.telegram.org that match but do not include a User-Agent containing expected Telegram bot identifiers. Attackers may use the Telegram Bot API or related endpoints for command-and-control, blending in with normal network traffic. Detection relies on proxy telemetry fields for destination host and the client User-Agent string.
Reporting behind it
- researchcenter.paloaltonetworks.comhttps://researchcenter.paloaltonetworks.com/2018/03/unit42-telerat-another-android-trojan-leveraging-telegrams-bot-api-to-target-iranian-users/
- blog.malwarebytes.comhttps://blog.malwarebytes.com/threat-analysis/2016/11/telecrypt-the-ransomware-abusing-telegram-api-defeated/
- welivesecurity.comhttps://www.welivesecurity.com/2016/12/13/rise-telebots-analyzing-disruptive-killdisk-attacks/
- github.comhttps://github.com/SigmaHQ/sigma/blob/master/rules/web/proxy_generic/proxy_telegram_api.yml
Changelog
v2- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
suspicious-telegram-api-proxy-requests-without-telegram-user-agent-b494b165
title: Suspicious Telegram API proxy access without Telegram User-Agent
id: dc46208b-c123-41ce-a0c5-56b6ab150878
status: test
description: This rule flags proxy requests to api.telegram.org that match but do not include a User-Agent containing expected Telegram bot identifiers. Attackers may use the Telegram Bot API or related endpoints for command-and-control, blending in with normal network traffic. Detection relies on proxy telemetry fields for destination host and the client User-Agent string.
references:
- https://researchcenter.paloaltonetworks.com/2018/03/unit42-telerat-another-android-trojan-leveraging-telegrams-bot-api-to-target-iranian-users/
- https://blog.malwarebytes.com/threat-analysis/2016/11/telecrypt-the-ransomware-abusing-telegram-api-defeated/
- https://www.welivesecurity.com/2016/12/13/rise-telebots-analyzing-disruptive-killdisk-attacks/
- https://github.com/SigmaHQ/sigma/blob/master/rules/web/proxy_generic/proxy_telegram_api.yml
author: Florian Roth (Nextron Systems), Huntrule Team
date: 2018-06-05
modified: 2023-05-18
tags:
- attack.command-and-control
- attack.t1071.001
- attack.t1102.002
logsource:
category: proxy
detection:
selection:
cs-host: api.telegram.org
filter:
c-useragent|contains:
- Telegram
- Bot
condition: selection and not filter
falsepositives:
- Legitimate use of Telegram bots in the company
level: medium
license: DRL-1.1
related:
- id: b494b165-6634-483d-8c47-2026a6c52372
type: derived