abusing_windows_telemetry_compattelrunnerexeaudit_rule


Description

Detects abusing of CompatTelRunner.exe for persistance. License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md.

Query · yara_l

events:
($selection.metadata.product_event_type = "4657" and (re.regex($selection.target.registry.registry_value_data, `.*SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\TelemetryController.*\\Command.*`) or re.regex($selection.target.file.full_path, `.*SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\TelemetryController.*\\Command.*`)))

  condition:
    $selection
Raw source abusing_windows_telemetry_compattelrunnerexeaudit_rule · YARA-L
Esc
Published by chronicle/detection-rules ↗, licensed under Apache 2.0 ↗. Reproduced here unmodified.
rule abusing_windows_telemetry_compattelrunnerexeaudit_rule {
 meta:
    author = "Den Iuzvyk"
    description = "Detects abusing of CompatTelRunner.exe for persistance.  License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md."
    reference = "https://tdm.socprime.com/tdm/info/0ZXi5CE8Zkwb"
    version = "0.01"
    created = "2020/04/09"
    category = "sysmon"
    product = "windows"
    mitre = "persistence, t1053"

  events:
($selection.metadata.product_event_type = "4657" and (re.regex($selection.target.registry.registry_value_data, `.*SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\TelemetryController.*\\Command.*`) or re.regex($selection.target.file.full_path, `.*SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\TelemetryController.*\\Command.*`)))

  condition:
    $selection
}

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.