T1574.011 - Hijack Execution Flow: Services Registry Permissions Weakness (Service ImagePath modified by ) · win.eventdata.eventType = (?i)^SetValue, win.eventdata.targetObject = (?i)HKLM\\\\SYSTEM\\\\CurrentControlSet\\\\Services\\\\[^\\…
Description
T1574.011 - Hijack Execution Flow: Services Registry Permissions Weakness (Service ImagePath modified by $(win.eventdata.image))
Query · wazuh
field win.eventdata.eventType="(?i)^SetValue$" AND field win.eventdata.targetObject="(?i)HKLM\\\\SYSTEM\\\\CurrentControlSet\\\\Services\\\\[^\\\\]+\\\\ImagePath" AND field win.eventdata.image="(?i)(powershell\.exe|reg\.exe|cmd\.exe|sc\.exe)$"
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 Windows_Sysmon/112101-MITRE_TECHNIQUES_FROM_SYSMON_EVENT13.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="^13$" -
112152T1574.011 - Hijack Execution Flow: Services Registry Permissions Weakness (Service ImagePath modified by ) · win.eventdata.eventType = (?i)^SetValue, win.eventdata.targetObject = (?i)HKLM\\\\SYSTEM\\\\CurrentControlSet\\\\Services\\\\[^\\… refinement level 10 this rulefield win.eventdata.eventType="(?i)^SetValue$" AND field win.eventdata.targetObject="(?i)HKLM\\\\SYSTEM\\\\CurrentControlSet\\\\Services\\\\[^\\\\]+\\\\ImagePath" AND field win.eventdata.image="(?i)(powershell\.exe|reg\.exe|cmd\.exe|sc\.exe)$"
Rule dependencies
Depends on
-
composes · Wazuh if_sid
61615