title: CMSTP Execution status: experimental description: Detects various indicators of Microsoft Connection Manager Profile Installer execution author: Nik Seetharaman status: Stable references: - http://www.endurant.io/cmstp/detecting-cmstp-enabled-code-execution-and-uac-bypass-with-sysmon/ logsource: product: windows service: sysmon detection: # CMSTP Spawning Child Process selection1: EventID: 1 ParentImage: '*\cmstp.exe' # Registry Object Add selection2: EventID: 12 TargetObject: '*\cmmgr32.exe*' # Registry Object Value Set selection3: EventID: 13 TargetObject: '*\cmmgr32.exe*' # Process Access Call Trace selection4: EventID: 10 CallTrace: '*cmlua.dll*' condition: 1 of them fields: - CommandLine - ParentCommandLine - Details falsepositives: - Legitimate CMSTP use (unlikely in modern enterprise environments) level: high