Elastic Defend high stable eql

Curl to Telegram API

Detects when curl is used to access a Telegram API or web endpoint. Several malware samples have been observed utilizing Telegram as a C2, payload delivery, and domain rotation channel, including via t.me bot URLs.

View Source

Detection Logic

sequence by process.entity_id with maxspan=15s
[process where event.type == "start" and event.action == "exec" and 
  process.name in ("curl", "nscurl") and 
  not (process.parent.name == "Telegram" or process.Ext.effective_parent.name == "Telegram")]
[network where event.type == "start" and process.name in ("curl", "nscurl") and destination.domain in ("api.telegram.org", "api.telegram.org.", "t.me", "t.me.")]

Field Validations

Loading…

Comments (0)

Loading comments...