CMSTP App Paths Registry Key Modification

stablehigh
log source: windows · registry_eventauthor Nik Seetharamandate 2018-07-16
01

description

What this is, in brief.

Detects modifications to the CMSTP App Paths registry key. This may indicate abuse of Microsoft Connection Manager Profile Installer (CMSTP) for arbitrary code execution or UAC bypass.

02

tags

attack.executionattack.stealthattack.t1218.003attack.g0069car.2019-04-001
03

rule source (YAML)

title: CMSTP App Paths Registry Key Modification
id: b6d235fc-1d38-4b12-adbe-325f06728f37
status: stable
description: |
    Detects modifications to the CMSTP App Paths registry key. This may indicate abuse of
    Microsoft Connection Manager Profile Installer (CMSTP) for arbitrary code execution or UAC bypass.
references:
    - https://lolbas-project.github.io/lolbas/Binaries/Cmstp/
    - https://web.archive.org/web/20190720093911/http://www.endurant.io/cmstp/detecting-cmstp-enabled-code-execution-and-uac-bypass-with-sysmon/
    - https://web.archive.org/web/20190722224110/https://oddvar.moe/2017/08/15/research-on-cmstp-exe/
author: Nik Seetharaman
date: 2018-07-16
modified: 2026-08-27
tags:
    - attack.execution
    - attack.stealth
    - attack.t1218.003
    - attack.g0069
    - car.2019-04-001
logsource:
    category: registry_event
    product: windows
detection:
    selection:
        TargetObject|contains: 'SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\cmmgr32.exe\'
    filter_main_cmcfg32:
        TargetObject|endswith: 'SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\cmmgr32.exe\CmstpExtensionDll'
        Details:
            - 'C:\Windows\System32\cmcfg32.dll'
            - 'C:\Windows\SysWOW64\cmcfg32.dll'
    filter_main_empty:
        Details: '(Empty)'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Legitimate CMSTP use (unlikely in modern enterprise environments)
level: high
04

detects techniques (1)

ATT&CK techniques this enables or maps to.

05

groups named (1)

Threat groups associated with this.

06

references

External citations — patches, advisories, analysis.