Claude Desktop started · win.eventdata.parentImage = (?i)\\(claude|cowork-svc)\.exe, win.eventdata.image = (?i)\\(cmd|powershell|pwsh|wscript|cscript|mshta|rundll32|r…
Description
Claude Desktop started $(win.eventdata.image): $(win.eventdata.commandLine)
Query · wazuh
field win.eventdata.parentImage="(?i)\\(claude|cowork-svc)\.exe$" AND field win.eventdata.image="(?i)\\(cmd|powershell|pwsh|wscript|cscript|mshta|rundll32|regsvr32|certutil|bitsadmin|msiexec|wmic|bash|wsl|curl|schtasks|sc|reg)\.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 Claude Desktop/202700-claude_desktop.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$" -
202704Claude Desktop started · win.eventdata.parentImage = (?i)\\(claude|cowork-svc)\.exe, win.eventdata.image = (?i)\\(cmd|powershell|pwsh|wscript|cscript|mshta|rundll32|r… anchor level 12 this rulefield win.eventdata.parentImage="(?i)\\(claude|cowork-svc)\.exe$" AND field win.eventdata.image="(?i)\\(cmd|powershell|pwsh|wscript|cscript|mshta|rundll32|regsvr32|certutil|bitsadmin|msiexec|wmic|bash|wsl|curl|schtasks|sc|reg)\.exe$"
Refined by
14 rules chain off this one, narrowing it further.
- Claude Desktop started an MCP server · win.eventdata.image = (?i)\\cmd\.exe, win.eventdata.commandLine = (?i)cmd(\.exe)?\\?"?(\s+/[a-z])+\s+\\?"?[^"]*?\b(npx|uvx|uv…
- Claude Desktop agent ran a shell command (the command text is not logged)
- Claude Desktop checked that a shell is available
- CMSTP run with /nf: possible proxy execution or UAC bypass
- Dev Drive enabled without antivirus filtering by · win.eventdata.commandLine = (?i)^(?=.*devdrv)(?=.*enable)(?=.*/disallowAv)
Rule dependencies
Depends on
-
composes · Wazuh if_sid
100100 -
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