Sysmon watchdog applied SCM restart-on-failure to Sysmon on · win.eventdata.image = (?i)^C:\\\\Windows\\\\(System32|SysWOW64)\\\\sc\.exe, win.eventdata.commandLine = (?i)^\\"C:\\\\Windows\\\\System32\\\\sc\.exe\\" (failure Sy…
Description
Sysmon watchdog applied SCM restart-on-failure to Sysmon on $(win.system.computer): $(win.eventdata.commandLine)
Query · wazuh
field win.eventdata.image="(?i)^C:\\\\Windows\\\\(System32|SysWOW64)\\\\sc\.exe$" AND field win.eventdata.commandLine="(?i)^\\"C:\\\\Windows\\\\System32\\\\sc\.exe\\" (failure Sysmon(64a?)? reset= 86400 actions= restart/60000/restart/60000/restart/300000|failureflag Sysmon(64a?)? 1)$" AND field win.eventdata.parentImage="(?i)^C:\\\\Windows\\\\(System32|SysWOW64)\\\\WindowsPowerShell\\\\v1\.0\\\\powershell\.exe$" AND field win.eventdata.parentCommandLine="(?i)\\\\ossec-agent\\\\shared\\\\sysmon_watchdog\.ps1\\"$" AND field win.eventdata.user="^NT AUTHORITY\\\\SYSTEM$"
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/sysmon_sensor_health_rules.xml ↗. Why this rule is treated this way.
Rule dependencies
Depends on
-
composes · Wazuh if_group
sysmon_event1|sysmon_eid1_detections⚠ No indexed rule declares this group, so this rule never matches.