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…
Description
Claude Desktop started an MCP server: $(win.eventdata.commandLine)
Query · wazuh
field win.eventdata.image="(?i)\\cmd\.exe$" AND field win.eventdata.commandLine="(?i)cmd(\.exe)?\\?"?(\s+/[a-z])+\s+\\?"?[^"]*?\b(npx|uvx|uv|node|python3?|py|docker|bunx|deno)(\.cmd|\.exe)?\^?\\?"?\s"
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 12field 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$" -
202705Claude 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… refinement level 5 this rulefield win.eventdata.image="(?i)\\cmd\.exe$" AND field win.eventdata.commandLine="(?i)cmd(\.exe)?\\?"?(\s+/[a-z])+\s+\\?"?[^"]*?\b(npx|uvx|uv|node|python3?|py|docker|bunx|deno)(\.cmd|\.exe)?\^?\\?"?\s"