{"id":"b494b165-6634-483d-8c47-2026a6c52372","title":"Telegram API Access","description":"Detects suspicious requests to Telegram API without the usual Telegram User-Agent","author":"Florian Roth (Nextron Systems)","status":"test","level":"medium","date":"2018-06-05","modified":"2023-05-18","tags":["attack.command-and-control","attack.t1071.001","attack.t1102.002"],"technique_ids":["T1071.001","T1102.002"],"logsource":{"category":"proxy"},"falsepositives":["Legitimate use of Telegram bots in the company"],"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/"],"source_path":"rules/web/proxy_generic/proxy_telegram_api.yml","source_sha256":"821e65a82caccce507aacc6e736de44294abbac2e83b513318da0749d06af205","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/web/proxy_generic/proxy_telegram_api.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Telegram API Access\nid: b494b165-6634-483d-8c47-2026a6c52372\nstatus: test\ndescription: Detects suspicious requests to Telegram API without the usual Telegram User-Agent\nreferences:\n    - https://researchcenter.paloaltonetworks.com/2018/03/unit42-telerat-another-android-trojan-leveraging-telegrams-bot-api-to-target-iranian-users/\n    - https://blog.malwarebytes.com/threat-analysis/2016/11/telecrypt-the-ransomware-abusing-telegram-api-defeated/\n    - https://www.welivesecurity.com/2016/12/13/rise-telebots-analyzing-disruptive-killdisk-attacks/\nauthor: Florian Roth (Nextron Systems)\ndate: 2018-06-05\nmodified: 2023-05-18\ntags:\n    - attack.command-and-control\n    - attack.t1071.001\n    - attack.t1102.002\nlogsource:\n    category: proxy\ndetection:\n    selection:\n        cs-host: 'api.telegram.org' # Often used by Bots\n    filter:\n        c-useragent|contains:\n            # Used https://core.telegram.org/bots/samples for this list\n            - 'Telegram'\n            - 'Bot'\n    condition: selection and not filter\nfalsepositives:\n    - Legitimate use of Telegram bots in the company\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1071.001","id":"T1071.001","name":"Web Protocols","page":"techniques/enterprise/T1071.001/"},{"key":"enterprise/T1102.002","id":"T1102.002","name":"Bidirectional Communication","page":"techniques/enterprise/T1102.002/"}],"data_path":"data/detection-rules/b494b165-6634-483d-8c47-2026a6c52372.json","kind":"sigma"}
