Skip to main content
UNIFIED SOC INCIDENT RESPONSE BLUEPRINT

Telegram Widgets: How to Detect & Block WebRAT Infiltration

Flaws in Telegram's newly launched widgets enable zero-click RCE to deliver WebRAT infostealer via PowerShell. Hunt Telegram child processes with KQL.

Detection & Hunting Detectors (2)

[T1059.001] Telegram Desktop Spawning Command InterpreterStandalone Rule
DeviceProcessEvents
| where Timestamp >= ago(7d)
| where InitiatingProcessFileName =~ "Telegram.exe"
| where FileName in~ ("powershell.exe", "pwsh.exe", "cmd.exe", "mshta.exe")
| project Timestamp, DeviceName, InitiatingProcessFileName, FileName, ProcessCommandLine
[T1555] Unauthorized Access to Telegram Session Files (tdata)Standalone Rule
DeviceFileEvents
| where Timestamp >= ago(7d)
| where FolderPath has @"Telegram Desktop\tdata"
| where not(InitiatingProcessFileName =~ "Telegram.exe")
| project Timestamp, DeviceName, InitiatingProcessFileName, FolderPath, FileName

Verified Indicators of Compromise (3)

Indicators of Compromise (IOCs)
3 Identified
FILE PATH%APPDATA%\Telegram Desktop\tdata
MALWARE FAMILYWebRAT / Salat Stealer (Rust-based RAT)
VULNERABLE COMPONENTTelegram interactive message widgets & mini-app webview