Règles de détection · Sigma, Cortex XQL, YARA

Toutes les règles, tous les jours

Le catalogue des règles Threat Brief depuis le début : filtrez par format, période, niveau ou technique ATT&CK, ouvrez une règle pour lire son code, et récupérez la sélection en un fichier.

5 règles sur 3 jours · technique T1059.004 (retirer) Plus récentes d'abord
DateFormatRègle et sujetNiveauATT&CK
26/11 XQL Ligne de commande de worker ou de dispatcher CairnFrameworks d'attaque agentiques : pack Cortex XQL élevé T1059.004
tb-pack-agentic-frameworks-ligne-de-commande-de-worker-ou-de-dispatcher-cairn.xqlRègle de corrélation XSIAM
BIOC
Télécharger la requête XQL
// 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 : relue, non exécutée xdr_data Licence DRL 1.1

Lignes de commande propres à Cairn : surcharge model_provider="cairn" du worker Codex, --provider cairn du worker Pi, dossiers /tmp/cairn-*. Adaptée de la règle Sigma ThreatDefence (licence MIT). Faux positifs : Usage autorisé de Cairn en red team.

26/11 XQL Wrapper de commande des agents PentAGIFrameworks d'attaque agentiques : pack Cortex XQL élevé T1059.004
tb-pack-agentic-frameworks-wrapper-de-commande-des-agents-pentagi.xqlRègle de corrélation XSIAM
BIOC
Télécharger la requête XQL
// 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 : relue, non exécutée xdr_data Licence DRL 1.1

Enveloppe shell que PentAGI place autour de chaque commande d'agent dans son conteneur Kali. Adaptée de la règle Sigma ThreatDefence (licence MIT). Faux positifs : Usage autorisé de PentAGI en red team.

26/11 XQL Processus du serveur HexStrike ou de son client MCPFrameworks d'attaque agentiques : pack Cortex XQL élevé T1059.004
tb-pack-agentic-frameworks-processus-du-serveur-hexstrike-ou-de-son-client-mcp.xqlRègle de corrélation XSIAM
BIOC
Télécharger la requête XQL
// 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 : relue, non exécutée xdr_data Licence DRL 1.1

Serveur d'outils HexStrike, son client MCP et les outils qu'il lance. Adaptée de la règle Sigma ThreatDefence (licence MIT). Faux positifs : Usage autorisé de HexStrike en red team.

24/11 SIGMA Exécution des outils BONESAW, SAWSNAKE ou BEARBONES depuis /tmp, ou gdb piloté par /tmp/gdb_fileVMware vCenter : Mandiant attribue l'exploitation zero-day de CVE-2026-123890 à ARMORY CASTLE, avec vol de la clé SAML et Golden SAML élevé T1059.004 T1606.002 T1003
tb-2026-11-24-ex-cution-des-outils-bonesaw-sawsnake-ou-bearbones-depuis-tm.ymlTélécharger la règle Sigma
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 : analysée et convertie (splunk, lucene) linux process_creation (auditd, VCSA) Licence DRL 1.1

Processus lancé depuis /tmp/123, /tmp/sss ou /tmp/dbr, ou gdb avec --command=/tmp/gdb_file, sur une appliance vCenter : chaîne d'ARMORY CASTLE décrite par Mandiant (vol de la clé SAML, Golden SAML, porte dérobée). Faux positifs : binaire légitime déposé sous l'un de ces noms dans /tmp (rare) ; débogage par gdb avec un fichier de commandes du même nom.

4 citations des 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 Processus déguisé en crond -i /tmp/.log ou reverse shell nc vers l'infrastructure GoodCloudGL.iNet : une faille de la plateforme cloud GoodCloud a servi à installer backdoors et reverse shells root sur routeurs et KVM élevé T1036.005 T1059.004 T1571
tb-2026-11-23-processus-d-guis-en-crond-i-tmp-log-ou-reverse-shell-nc-vers.ymlTélécharger la règle Sigma
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 : analysée et convertie (splunk, lucene) linux process_creation Licence DRL 1.1

Processus malveillant déguisé en « crond -i /tmp/.log », indicateur publié par GL.iNet, ou reverse shell nc vers les adresses relevées sur les routeurs et KVM compromis. Faux positifs : Aucun attendu ; nécessite une télémétrie processus (auditd ou équivalent) sur les appareils OpenWrt.

2 citations des sources