Sigma rule: Bypass UAC via CMSTP

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-5ae22efd32b8, updated 2022-08-30T00:00:00.000Z.

Rule

Title
Bypass UAC via CMSTP
Status
test
Level
high
Author
E.M. Anhaus (originally from Atomic Blue Detections, Endgame), oscd.community
Date
2019-10-24
Modified
2022-08-30
File
rules/windows/process_creation/proc_creation_win_uac_bypass_cmstp.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detect commandline usage of Microsoft Connection Manager Profile Installer (cmstp.exe) to install specially formatted local .INF files

Log source

product
windows
category
process_creation

Detection

selection_img:
    - Image|endswith: '\cmstp.exe'
    - OriginalFileName: 'CMSTP.EXE'
selection_cli:
    CommandLine|contains:
        - '/s'
        - '-s'
        - '/au'
        - '-au'
        - '/ni'
        - '-ni'
condition: all of selection*

False positives (as the rule lists them)

  • Legitimate use of cmstp.exe utility by legitimate user

Tags

  • attack.privilege-escalation
  • attack.stealth
  • attack.t1548.002
  • attack.t1218.003

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_uac_bypass_cmstp.yml

Sources and licences

  • SigmaHQ

    "Bypass UAC via CMSTP" by E.M. Anhaus (originally from Atomic Blue Detections, Endgame), oscd.community (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_uac_bypass_cmstp.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Bypass UAC via CMSTP",
entity page, dataset version ref-5ae22efd32b8, updated 2022-08-30T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/e66779cc-383e-4224-a3a4-267eeb585c40 (accessed 2026-11-03).
Underlying source: SigmaHQ rule e66779cc-383e-4224-a3a4-267eeb585c40, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.