Agentic AI behavior: AI Agent CLI Starts an Attack Tool · win.eventdata.image = \\python|\\ruby|\\perl, win.eventdata.commandLine = /sqlmap |/nikto |/wpscan |/netexec |/nxc |/crackmapexec |/b…


Description

Agentic AI behavior: AI Agent CLI Starts an Attack Tool - $(win.eventdata.image)

field win.eventdata.image="\\python|\\ruby|\\perl" AND field win.eventdata.commandLine="/sqlmap |/nikto |/wpscan |/netexec |/nxc |/crackmapexec |/bloodyAD |/coercer |/evil-winrm |/msfconsole |/dirsearch |/enum4linux-ng |/pwncat |/pwncat-cs |/responder |/sqlmap.py|\\sqlmap.py| sqlmap.py|/nikto.pl|\\nikto.pl| nikto.pl|/bloodyAD.py|\\bloodyAD.py| bloodyAD.py|/dirsearch.py|\\dirsearch.py| dirsearch.py|/enum4linux-ng.py|\\enum4linux-ng.py| enum4linux-ng.py|/Coercer/Coercer.py| Coercer/Coercer.py|\\Coercer\\Coercer.py| Coercer\\Coercer.py|/Responder/Responder.py| Responder/Responder.py|\\Responder\\Responder.py| Responder\\Responder.py|/sqlmap$|/nikto$|/wpscan$|/netexec$|/nxc$|/crackmapexec$|/bloodyAD$|/coercer$|/evil-winrm$|/msfconsole$|/dirsearch$|/enum4linux-ng$|/pwncat$|/pwncat-cs$|/responder$" 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.

  1. decoded_as=windows_eventchannel AND field win.system.providerName="\.+"
  2. field win.system.channel="^Microsoft-Windows-Sysmon/Operational$"
  3. field win.system.severityValue="^INFORMATION$"
  4. field win.system.eventID="^1$"
  5. 211223 Agentic AI behavior: AI Agent CLI Starts an Attack Tool · win.eventdata.image = \\python|\\ruby|\\perl, win.eventdata.commandLine = /sqlmap |/nikto |/wpscan |/netexec |/nxc |/crackmapexec |/b… refinement level 10 this rule
    field win.eventdata.image="\\python|\\ruby|\\perl" AND field win.eventdata.commandLine="/sqlmap |/nikto |/wpscan |/netexec |/nxc |/crackmapexec |/bloodyAD |/coercer |/evil-winrm |/msfconsole |/dirsearch |/enum4linux-ng |/pwncat |/pwncat-cs |/responder |/sqlmap.py|\\sqlmap.py| sqlmap.py|/nikto.pl|\\nikto.pl| nikto.pl|/bloodyAD.py|\\bloodyAD.py| bloodyAD.py|/dirsearch.py|\\dirsearch.py| dirsearch.py|/enum4linux-ng.py|\\enum4linux-ng.py| enum4linux-ng.py|/Coercer/Coercer.py| Coercer/Coercer.py|\\Coercer\\Coercer.py| Coercer\\Coercer.py|/Responder/Responder.py| Responder/Responder.py|\\Responder\\Responder.py| Responder\\Responder.py|/sqlmap$|/nikto$|/wpscan$|/netexec$|/nxc$|/crackmapexec$|/bloodyAD$|/coercer$|/evil-winrm$|/msfconsole$|/dirsearch$|/enum4linux-ng$|/pwncat$|/pwncat-cs$|/responder$" 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

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.