{"id":"e66779cc-383e-4224-a3a4-267eeb585c40","title":"Bypass UAC via CMSTP","description":"Detect commandline usage of Microsoft Connection Manager Profile Installer (cmstp.exe) to install specially formatted local .INF files","author":"E.M. Anhaus (originally from Atomic Blue Detections, Endgame), oscd.community","status":"test","level":"high","date":"2019-10-24","modified":"2022-08-30","tags":["attack.privilege-escalation","attack.stealth","attack.t1548.002","attack.t1218.003"],"technique_ids":["T1218.003","T1548.002"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Legitimate use of cmstp.exe utility by legitimate user"],"references":["https://eqllib.readthedocs.io/en/latest/analytics/e584f1a1-c303-4885-8a66-21360c90995b.html","https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1218.003/T1218.003.md","https://lolbas-project.github.io/lolbas/Binaries/Cmstp/"],"source_path":"rules/windows/process_creation/proc_creation_win_uac_bypass_cmstp.yml","source_sha256":"6c28b33446b35b40892f9a2612ba1d938b5030300075df79037ffbf5e0e8aba8","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_uac_bypass_cmstp.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Bypass UAC via CMSTP\nid: e66779cc-383e-4224-a3a4-267eeb585c40\nstatus: test\ndescription: Detect commandline usage of Microsoft Connection Manager Profile Installer (cmstp.exe) to install specially formatted local .INF files\nreferences:\n    - https://eqllib.readthedocs.io/en/latest/analytics/e584f1a1-c303-4885-8a66-21360c90995b.html\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1218.003/T1218.003.md\n    - https://lolbas-project.github.io/lolbas/Binaries/Cmstp/\nauthor: E.M. Anhaus (originally from Atomic Blue Detections, Endgame), oscd.community\ndate: 2019-10-24\nmodified: 2022-08-30\ntags:\n    - attack.privilege-escalation\n    - attack.stealth\n    - attack.t1548.002\n    - attack.t1218.003\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - Image|endswith: '\\cmstp.exe'\n        - OriginalFileName: 'CMSTP.EXE'\n    selection_cli:\n        CommandLine|contains:\n            - '/s'\n            - '-s'\n            - '/au'\n            - '-au'\n            - '/ni'\n            - '-ni'\n    condition: all of selection*\nfalsepositives:\n    - Legitimate use of cmstp.exe utility by legitimate user\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1218.003","id":"T1218.003","name":"CMSTP","page":"techniques/enterprise/T1218.003/"},{"key":"enterprise/T1548.002","id":"T1548.002","name":"Bypass User Account Control","page":"techniques/enterprise/T1548.002/"}],"data_path":"data/detection-rules/e66779cc-383e-4224-a3a4-267eeb585c40.json","kind":"sigma"}
