CMSTP silently installs a profile from a user folder: proxy execution or UAC bypass
Description
CMSTP silently installs a profile from a user folder: proxy execution or UAC bypass
Query · wazuh
field win.eventdata.originalFileName="(?i)^cmstp\.exe$" AND field win.eventdata.image="(?i)\\+(System32|SysWOW64)\\+" AND field win.eventdata.parentImage="(?i)\\SystemSettings\.exe$" AND field win.eventdata.commandLine="(?i)^(?=.*[/-](s|au|ni|ns)\b)(?=.*(%Public%|%AppData%|\\+(Desktop|PerfLogs|Documents|Downloads|ProgramData)\\+|\\+Users\\+(Public|Default|All Users)\\+|\\+Windows\\+Temp\\+|\\+AppData\\+(Local|Roaming|LocalLow)\\+))"
No license declared
socfortress/Wazuh-Rules publishes no license, and without an express grant the default is all rights reserved. The query above is synthesized from the rule rather than copied out of it, so you can see what the rule matches on; the rule as written stays upstream.
Read the full rule at Endpoint Threats/203000-endpoint_threats_windows.xml ↗. Why this rule is treated this way.
Fires when
Wazuh evaluates a chain top-down. Every rule above this one must match on the same event before this rule is tested at all.
-
decoded_as=windows_eventchannel AND field win.system.providerName="\.+" -
field win.system.channel="^Microsoft-Windows-Sysmon/Operational$" -
field win.system.severityValue="^INFORMATION$" -
field win.system.eventID="^1$" -
203007CMSTP silently installs a profile from a user folder: proxy execution or UAC bypass refinement level 13 this rulefield win.eventdata.originalFileName="(?i)^cmstp\.exe$" AND field win.eventdata.image="(?i)\\+(System32|SysWOW64)\\+" AND field win.eventdata.parentImage="(?i)\\SystemSettings\.exe$" AND field win.eventdata.commandLine="(?i)^(?=.*[/-](s|au|ni|ns)\b)(?=.*(%Public%|%AppData%|\\+(Desktop|PerfLogs|Documents|Downloads|ProgramData)\\+|\\+Users\\+(Public|Default|All Users)\\+|\\+Windows\\+Temp\\+|\\+AppData\\+(Local|Roaming|LocalLow)\\+))"
Rule dependencies
Depends on
-
composes · Wazuh if_sid
61603 -
composes · Wazuh if_sid
92025 -
composes · Wazuh if_sid
92028 -
composes · Wazuh if_sid
92042 -
composes · Wazuh if_sid
92069