CmdID

CmdID / Rules / Windows

Bypass UAC via CMSTP

A Sigma rule for process creation on Windows, by E.M. Anhaus (originally from Atomic Blue Detections, Endgame), oscd.community.

high 2 ATT&CK techniques 1 program it names

What it looks for

its detection, as SigmaHQ writes it
detection:
  selection_cli:
    CommandLine|contains:
      - '/s'
      - '-s'
      - '/au'
      - '-au'
      - '/ni'
      - '-ni'
  selection_img:
    - Image|endswith: '\cmstp.exe'
    - OriginalFileName: 'CMSTP.EXE'
  condition: all of selection*

The rule’s detection, its selections and fields in order of name. The whole rule, with its references and false positives, is on SigmaHQ, by E.M. Anhaus (originally from Atomic Blue Detections, Endgame), oscd.community, under the Detection Rule License 1.1. CmdID evaluates it on a command line alone: a test on what a command line cannot show, such as the parent process or the user, is not met.

Command lines that trip it

documented abuse, read by CmdID

The commands LOLBAS or GTFOBins documents for cmstp.exe trip it: each is on its program’s page, read by CmdID.

Programs and files it names

their pages here

ATT&CK

the techniques it is tagged with
T1218.003System Binary Proxy Execution: CMSTP
T1548.002Abuse Elevation Control Mechanism: Bypass User Account Control