Agentic AI behavior: AI Agent CLI Starts an Attack Tool · win.eventdata.image = \\nmap.exe$|\\naabu.exe$|\\masscan.exe$|\\nuclei.exe$|\\kat…, win.eventdata.parentCommandLine = shell-snapshots|CLAUDE_CODE_SHELL_LAUNCHER_SCRIPT|--provide…
Description
Agentic AI behavior: AI Agent CLI Starts an Attack Tool - $(win.eventdata.image)
Query · wazuh
field win.eventdata.image="\\nmap.exe$|\\naabu.exe$|\\masscan.exe$|\\nuclei.exe$|\\katana.exe$|\\dalfox.exe$|\\ffuf.exe$|\\gobuster.exe$|\\feroxbuster.exe$|\\sqlmap.exe$|\\nikto.exe$|\\wpscan.exe$|\\hydra.exe$|\\kerbrute.exe$|\\netexec.exe$|\\nxc.exe$|\\crackmapexec.exe$|\\bloodyAD.exe$|\\coercer.exe$|\\chisel.exe$|\\evil-winrm.exe$|\\cloudfox.exe$|\\msfconsole.exe$|\\dirsearch.exe$|\\medusa.exe$|\\enum4linux-ng.exe$|\\pwncat.exe$|\\pwncat-cs.exe$|\\responder.exe$|\\searchsploit.exe$|\\hashcat.exe$" AND field win.eventdata.parentCommandLine="shell-snapshots|CLAUDE_CODE_SHELL_LAUNCHER_SCRIPT|--provider cairn|/tmp/cairn-pi/|@anthropic-ai/claude-code|@anthropic-ai\\claude-code|@qwen-code/|@qwen-code\\|@openai/codex|@openai\\codex|opencode-ai|kimi-cli|kimi_cli"
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 Agentic AI Attacks/211000-agentic_ai_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$" -
211221Agentic AI behavior: AI Agent CLI Starts an Attack Tool · win.eventdata.image = \\nmap.exe$|\\naabu.exe$|\\masscan.exe$|\\nuclei.exe$|\\kat…, win.eventdata.parentCommandLine = shell-snapshots|CLAUDE_CODE_SHELL_LAUNCHER_SCRIPT|--provide… refinement level 10 this rulefield win.eventdata.image="\\nmap.exe$|\\naabu.exe$|\\masscan.exe$|\\nuclei.exe$|\\katana.exe$|\\dalfox.exe$|\\ffuf.exe$|\\gobuster.exe$|\\feroxbuster.exe$|\\sqlmap.exe$|\\nikto.exe$|\\wpscan.exe$|\\hydra.exe$|\\kerbrute.exe$|\\netexec.exe$|\\nxc.exe$|\\crackmapexec.exe$|\\bloodyAD.exe$|\\coercer.exe$|\\chisel.exe$|\\evil-winrm.exe$|\\cloudfox.exe$|\\msfconsole.exe$|\\dirsearch.exe$|\\medusa.exe$|\\enum4linux-ng.exe$|\\pwncat.exe$|\\pwncat-cs.exe$|\\responder.exe$|\\searchsploit.exe$|\\hashcat.exe$" AND field win.eventdata.parentCommandLine="shell-snapshots|CLAUDE_CODE_SHELL_LAUNCHER_SCRIPT|--provider cairn|/tmp/cairn-pi/|@anthropic-ai/claude-code|@anthropic-ai\\claude-code|@qwen-code/|@qwen-code\\|@openai/codex|@openai\\codex|opencode-ai|kimi-cli|kimi_cli"
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