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.

8 rules over 4 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.

24/11 SIGMA BONESAW, SAWSNAKE or BEARBONES run from /tmp, or gdb driven by /tmp/gdb_fileVMware vCenter: Mandiant attributes the CVE-2026-123890 zero-day to ARMORY CASTLE, with SAML key theft and Golden SAML high T1059.004 T1606.002 T1003
tb-2026-11-24-ex-cution-des-outils-bonesaw-sawsnake-ou-bearbones-depuis-tm.ymlDownload Sigma rule
title: ARMORY CASTLE tooling executed from /tmp on vCenter (BONESAW, SAWSNAKE, BEARBONES)
id: d5e59c83-9b7b-437c-9860-b2aeb7edab6c
status: experimental
description: Detects execution of /tmp/123 (BONESAW), /tmp/sss (SAWSNAKE) or /tmp/dbr (BEARBONES), or gdb run with --command=/tmp/gdb_file, as described by Mandiant for the CVE-2026-123890 intrusions.
references:
  - https://cloud.google.com/blog/topics/threat-intelligence/armory-castle-exploits-vsphere
author: Threat Brief (tlpclear.fr)
date: 2026-11-24
tags:
  - attack.execution
  - attack.t1059.004
  - attack.credential-access
  - attack.t1606.002
  - cve.2026-123890
logsource:
  product: linux
  category: process_creation
detection:
  selection_tools:
    Image:
      - '/tmp/123'
      - '/tmp/sss'
      - '/tmp/dbr'
  selection_gdb:
    CommandLine|contains: '--command=/tmp/gdb_file'
  condition: selection_tools or selection_gdb
falsepositives:
  - Legitimate binary dropped in /tmp under one of these names (rare)
  - gdb debugging session using a command file with the same name
level: high
sigma: parsed and converted (splunk, lucene) linux process_creation (auditd, VCSA) Licence DRL 1.1

Process started from /tmp/123, /tmp/sss or /tmp/dbr, or gdb with --command=/tmp/gdb_file, on a vCenter appliance: the ARMORY CASTLE chain described by Mandiant (SAML key theft, Golden SAML, backdoor). False positives: legitimate binary dropped under one of these names in /tmp (rare) ; gdb debugging with a command file of the same name.

4 quotes from the sources
  • “Tracked as BONESAW, /tmp/123 is a remote exploitation utility written in Golang” cloud.google.com
  • “staged and deployed an additional utility /tmp/sss tracked as SAWSNAKE” cloud.google.com
  • “leveraged an additional backdoor /tmp/dbr tracked as BEARBONES.” cloud.google.com
  • “/usr/bin/gdb -pid 113757 --command=/tmp/gdb_file” cloud.google.com
23/11 SIGMA Process disguised as crond -i /tmp/.log or nc reverse shell to the GoodCloud attacker infrastructureGL.iNet: a GoodCloud platform flaw was used to plant backdoors and root reverse shells on routers and KVM devices high T1036.005 T1059.004 T1571
tb-2026-11-23-processus-d-guis-en-crond-i-tmp-log-ou-reverse-shell-nc-vers.ymlDownload Sigma rule
title: GL.iNet GoodCloud implant disguised as crond or nc reverse shell to attacker infrastructure
id: 15572306-27c5-4a2d-9dbf-abb73cdb8d8c
status: experimental
description: Detects the GL.iNet GoodCloud malware process disguised as "crond -i /tmp/.log" (IOC published by GL.iNet) and nc reverse shells to the attacker addresses reported on compromised GL.iNet routers and KVM devices.
references:
  - https://www.bleepingcomputer.com/news/security/hackers-exploit-glinet-cloud-flaw-to-infect-routers-kvm-devices/
author: Threat Brief (tlpclear.fr)
date: 2026-11-23
tags:
  - attack.persistence
  - attack.defense-evasion
  - attack.t1036.005
  - attack.command-and-control
  - attack.t1059.004
logsource:
  product: linux
  category: process_creation
detection:
  selection_masquerade:
    CommandLine|contains: 'crond -i /tmp/.log'
  selection_nc_image:
    Image|endswith: '/nc'
  selection_nc_ip:
    CommandLine|contains:
      - '170.39.226.219'
      - '66.245.219.252'
      - '65.20.71.131'
  condition: selection_masquerade or (selection_nc_image and selection_nc_ip)
falsepositives:
  - None expected; process telemetry from OpenWrt based devices requires auditd or an equivalent collector
level: high
sigma: parsed and converted (splunk, lucene) linux process_creation Licence DRL 1.1

Malicious process disguised as "crond -i /tmp/.log", the indicator published by GL.iNet, or an nc reverse shell to the addresses seen on compromised routers and KVM devices. False positives: None expected; requires process telemetry (auditd or equivalent) from the OpenWrt based devices.

2 quotes from the sources
22/11 SIGMA Shell spawned by the MONAI Label serviceMONAI 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-par-le-service-monai-label.ymlDownload Sigma rule
title: Shell spawned by the MONAI Label service (CVE-2026-133968)
id: 4e65dc92-c7c0-4e29-a6d2-08e1ff4806ae
status: experimental
description: Detects a shell started by a process whose command line references monailabel, the unusual child process expected after exploitation of the MONAI Label datastore path traversal (CVE-2026-133968), which the Cairn agents turned into a root shell.
references:
  - https://buttondown.com/exploit-bulletin/archive/the-exploit-bulletin-saturday-november-21-2026-2/
  - https://securityaffairs.com/203664/ai/cairn-ai-framework-used-in-autonomous-zero-day-exploitation.html
author: Threat Brief (tlpclear.fr)
date: 2026-11-22
tags:
  - attack.execution
  - attack.t1059.004
  - attack.initial-access
  - attack.t1190
  - cve.2026-133968
logsource:
  product: linux
  category: process_creation
detection:
  selection_parent:
    ParentCommandLine|contains: 'monailabel'
  selection_child:
    Image|endswith:
      - '/sh'
      - '/bash'
      - '/dash'
      - '/zsh'
  condition: all of selection_*
falsepositives:
  - Custom MONAI Label apps or training scripts that call shell commands (baseline the service first)
level: medium
sigma: parsed and converted (splunk, lucene) linux process_creation Licence DRL 1.1

Shell whose parent command line references monailabel: an unexpected child process after exploitation of CVE-2026-133968, which the Cairn agents turned into a root shell. False positives: Custom MONAI Label apps or training scripts that call shell commands (baseline the service first).

2 quotes from the sources
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