Detection rules · Sigma, Cortex XQL, YARA

All rules, every day

The catalogue of Threat Brief rules since day one: filter by format, period, level or ATT&CK technique, open a rule to read its code, and download the selection as one file.

5 rules over 2 days · technique T1059.004 (remove) Most recent first
DateFormatRule and topicLevelATT&CK
26/11 XQL Cairn Agent Worker or Dispatcher Command LineAgentic attack frameworks: Cortex XQL pack high T1059.004
tb-pack-agentic-frameworks-ligne-de-commande-de-worker-ou-de-dispatcher-cairn.xqlXSIAM correlation rule
BIOC
Download XQL query
// Threat Brief · Cairn · Cairn Agent Worker or Dispatcher Command Line · experimental (adapted from ThreatDefence, MIT)
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START
| filter agent_os_type = ENUM.AGENT_OS_LINUX
| filter (action_process_image_command_line contains "model_provider=\"cairn\"" or action_process_image_command_line contains "model_providers.cairn.base_url" or action_process_image_command_line contains "--provider cairn" or action_process_image_command_line contains "/tmp/cairn-pi/" or action_process_image_command_line contains "/tmp/cairn-prompts/" or action_process_image_command_line contains "cairn dispatch --config" or action_process_image_command_line contains "cairn-dispatch-" or action_process_image_command_line contains "cairn-worker-container")
| fields _time, agent_hostname, actor_effective_username, actor_process_image_path, actor_process_command_line, action_process_image_path, action_process_image_command_line
xql: reviewed, not executed xdr_data Licence DRL 1.1

Detects command lines that only Cairn produces: the Codex worker's model_provider="cairn" override, the Pi worker's --provider cairn and /tmp/cairn-pi/ agent folder, the dispatcher and server entry points, and the cairn-dispatch- worker containers. Adapted from the ThreatDefence Sigma rule (MIT licence). False positives: Authorized red team use of Cairn.

26/11 XQL PentAGI Agent Command WrapperAgentic attack frameworks: Cortex XQL pack high T1059.004
tb-pack-agentic-frameworks-wrapper-de-commande-des-agents-pentagi.xqlXSIAM correlation rule
BIOC
Download XQL query
// Threat Brief · PentAGI · PentAGI Agent Command Wrapper · experimental (adapted from ThreatDefence, MIT)
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START
| filter agent_os_type = ENUM.AGENT_OS_LINUX
| filter (action_process_image_command_line contains "trap \"\" HUP" and action_process_image_command_line contains "/proc/self/oom_score_adj" and action_process_image_command_line contains "exec sh -c \"$0\"")
| fields _time, agent_hostname, actor_effective_username, actor_process_image_path, actor_process_command_line, action_process_image_path, action_process_image_command_line
xql: reviewed, not executed xdr_data Licence DRL 1.1

Detects the shell wrapper PentAGI puts around every agent command in its Kali worker container: it ignores hangups, raises the process's oom_score_adj by one to mark the flow, then runs the command with exec sh -c "$0". Adapted from the ThreatDefence Sigma rule (MIT licence). False positives: Authorized red team use of PentAGI.

26/11 XQL HexStrike Server or MCP Client ProcessAgentic attack frameworks: Cortex XQL pack high T1059.004
tb-pack-agentic-frameworks-processus-du-serveur-hexstrike-ou-de-son-client-mcp.xqlXSIAM correlation rule
BIOC
Download XQL query
// Threat Brief · HexStrike · HexStrike Server or MCP Client Process · experimental (adapted from ThreatDefence, MIT)
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START
| filter agent_os_type = ENUM.AGENT_OS_LINUX
| filter ((action_process_image_command_line contains "hexstrike_server.py" or action_process_image_command_line contains "hexstrike_mcp.py") or actor_process_command_line contains "hexstrike_server.py")
| fields _time, agent_hostname, actor_effective_username, actor_process_image_path, actor_process_command_line, action_process_image_path, action_process_image_command_line
xql: reviewed, not executed xdr_data Licence DRL 1.1

Detects the HexStrike tool server, its MCP client, and tools started by the server. Adapted from the ThreatDefence Sigma rule (MIT licence). False positives: Authorized red team use of HexStrike.

26/11 XQL Xalgorix Agent on a HostAgentic attack frameworks: Cortex XQL pack medium T1059.004
tb-pack-agentic-frameworks-agent-xalgorix-sur-un-h-te.xqlXSIAM correlation rule
BIOC
Download XQL query
// Threat Brief · Xalgorix · Xalgorix Agent on a Host · experimental (adapted from ThreatDefence, MIT)
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START
| filter agent_os_type = ENUM.AGENT_OS_LINUX
| filter (action_process_image_path ~= "/xalgorix$" or (action_process_image_command_line contains "XALGORIX_WORKSPACE=" or action_process_image_command_line contains "__xalgorix_resolve_path" or action_process_image_command_line contains "xalgorix-scan-init" or action_process_image_command_line contains "xalgord/xalgorix" or action_process_image_command_line contains "xalgorix --web"))
| fields _time, agent_hostname, actor_effective_username, actor_process_image_path, actor_process_command_line, action_process_image_path, action_process_image_command_line
xql: reviewed, not executed xdr_data Licence DRL 1.1

Detects Xalgorix running: the binary or its container image, and the shell wrapper it puts in front of every command the agent runs (export XALGORIX_WORKSPACE=..., the __xalgorix_resolve_path function, and xalgorix-scan-init when it runs as root). Xalgorix is an autonomous penetration testing agent that needs no approval for tool calls. Adapted from the ThreatDefence Sigma rule (MIT licence). False positives: Bug bounty hunters and security teams running Xalgorix.

22/11 XQL Shell started under the MONAI Label service (Cortex XDR)MONAI Label: CVE-2026-133968 published, pre-auth path traversal to RCE exploited since September by the Cairn AI agents medium T1059.004 T1190
tb-2026-11-22-shell-lanc-sous-le-service-monai-label-cortex-xdr.xqlXSIAM correlation rule
BIOC
Download XQL query
// Threat Brief 2026-11-22 · MONAI Label CVE-2026-133968 · experimental
// Shell started under the MONAI Label service
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START
| filter causality_actor_process_command_line contains "monailabel"
| filter action_process_image_name in ("sh", "bash", "dash", "zsh")
| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_process_image_command_line, causality_actor_process_command_line
xql: reviewed, not executed xdr_data Licence DRL 1.1

Start of sh, bash, dash or zsh whose causality chain leads to a monailabel process: an unexpected process after exploitation of CVE-2026-133968. False positives: Custom MONAI Label apps or training scripts that call shell commands.

2 quotes from the sources