cmstpexe_execution_detector_sysmon_behavior


Description

This content detects usage of the Microsoft Connection Manager Profile as detected by Sysmon. License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md.

Query · yara_l

events:
(($selection1.target.process.file.full_path = "C:\\Windows\\System32\\cmstp.exe" and (($selection1.metadata.product_event_type = "1" and re.regex($selection1.target.process.command_line, `cmstp\.exe /s .*\.inf`)) or ($selection1.metadata.product_event_type = "13" and re.regex($selection1.target.registry.registry_key, `.*\\cmstp\.exe`)))) or ($selection1.metadata.product_event_type = "11" and $selection1.target.process.file.full_path = "C:\\WINDOWS\\ssytem32\\cmstp.exe"))

  condition:
    $selection1
Raw source cmstpexe_execution_detector_sysmon_behavior · YARA-L
Esc
Published by chronicle/detection-rules ↗, licensed under Apache 2.0 ↗. Reproduced here unmodified.
rule cmstpexe_execution_detector_sysmon_behavior {
 meta:
    author = "Lee Archinal"
    description = "This content detects usage of the Microsoft Connection Manager Profile as detected by Sysmon.  License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md."
    reference = "https://tdm.socprime.com/tdm/info/Ix6E5rYxh3Jj"
    version = "0.01"
    created = "2019/09/16"
    product = "windows"
    service = "sysmon"
    mitre = "execution, t1191"

  events:
(($selection1.target.process.file.full_path = "C:\\Windows\\System32\\cmstp.exe" and (($selection1.metadata.product_event_type = "1" and re.regex($selection1.target.process.command_line, `cmstp\.exe /s .*\.inf`)) or ($selection1.metadata.product_event_type = "13" and re.regex($selection1.target.registry.registry_key, `.*\\cmstp\.exe`)))) or ($selection1.metadata.product_event_type = "11" and $selection1.target.process.file.full_path = "C:\\WINDOWS\\ssytem32\\cmstp.exe"))

  condition:
    $selection1
}

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.