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.

4 règles sur 4 jours · technique T1098.004 (retirer) Plus récentes d'abord
DateFormatRègle et sujetNiveauATT&CK
15/11 SIGMA Tâche SysMon ou tunnel SSH inverse de l'extension Claude Code piégée (Cursor)Cursor : une clé confiée à Fireworks AI, des traces d'agents volées et une extension Claude Code piégée pendant 11 heures élevé T1053.005 T1572 T1098.004
tb-2026-11-15-t-che-sysmon-ou-tunnel-ssh-inverse-de-l-extension-claude-cod.ymlTélécharger la règle Sigma
title: Cursor trojanised Claude Code extension, SysMon task or reverse SSH tunnel
id: 0dc2e2ef-6902-4e4c-a857-dea895cb0309
status: experimental
description: Detects the scheduled task SysMon and the reverse SSH tunnel command line used by the trojanised Anthropic.claude-code 2.1.312 and 2.1.313 extension served by the Cursor marketplace on 29 October 2026.
references:
  - https://cursor.com/blog/claude-code-extension-security-notice
  - https://www.microsoft.com/en-us/security/blog/2026/10/30/inside-malicious-claude-code-branded-cursor-extension-persistent-ssh-backdoor/
author: Threat Brief (tlpclear.fr)
date: 2026-11-15
tags:
  - attack.persistence
  - attack.t1053.005
  - attack.command-and-control
  - attack.t1572
logsource:
  category: process_creation
detection:
  selection_task:
    CommandLine|contains: 'schtasks /create /tn SysMon'
  selection_tunnel:
    CommandLine|contains: "-N -R '*:0:localhost:22'"
  condition: 1 of selection_*
falsepositives:
  - Administrator-created task genuinely named SysMon
  - Legitimate reverse SSH tunnels using the same remote forwarding syntax
level: high
sigma : analysée et convertie (splunk, lucene) process_creation (Windows, macOS, Linux) Licence DRL 1.1

Création de la tâche planifiée SysMon ou du tunnel SSH inverse ssh -N -R '*:0:localhost:22' décrits par Cursor pour l'extension Anthropic.claude-code 2.1.312 et 2.1.313 piégée. Faux positifs : tâche réellement nommée SysMon créée par un administrateur ; tunnels SSH inverses légitimes utilisant la même syntaxe.

2 citations des sources
03/11 SIGMA Tunnel SSH inverse vers localhost:22 depuis Cursor ou NodeExtension « Claude Code » trojanisée sur le marketplace Cursor : backdoor SSH élevé T1572 T1098.004
tb-2026-11-03-tunnel-ssh-inverse-vers-localhost-22-depuis-cursor-ou-node.ymlTélécharger la règle Sigma
title: Reverse SSH tunnel to localhost:22 spawned from Cursor or Node (weaponised Claude Code extension)
id: eb97060c-943d-42aa-b329-0cab9f65b68b
status: experimental
description: ssh process opening a reverse tunnel to local port 22, spawned by Cursor or Node, or targeting tunnel@134.209.82.225, matching the loader in anthropic.claude-code extension 2.1.312 and 2.1.313 from the Cursor marketplace.
references:
  - https://opensourcemalware.com/blog/trojanized-claude-code-extension-plants-persistent-ssh-backdoor
  - https://www.helpnetsecurity.com/2026/10/30/claude-code-extension-ssh-backdoor/
author: Threat Brief (tlpclear.fr)
date: 2026-11-03
tags:
  - attack.command-and-control
  - attack.t1572
  - attack.persistence
  - attack.t1098.004
logsource:
  category: process_creation
detection:
  selection_ssh:
    Image|endswith:
      - '/ssh'
      - '\ssh.exe'
    CommandLine|contains: ' -R '
  selection_target:
    CommandLine|contains: 'localhost:22'
  selection_parent:
    ParentImage|contains:
      - 'Cursor'
      - 'node'
  selection_ioc:
    CommandLine|contains: 'tunnel@134.209.82.225'
  condition: (selection_ssh and selection_target and selection_parent) or selection_ioc
falsepositives:
  - Developers manually opening a reverse tunnel from the editor integrated terminal
level: high
sigma : analysée et convertie (splunk, lucene) process_creation (Windows, macOS, Linux) Licence DRL 1.1

ssh -R vers le port 22 local lancé par l'éditeur ou Node, ou visant tunnel@134.209.82.225 : tunnel de la porte dérobée de l'extension piégée. Faux positifs : tunnel inverse ouvert volontairement depuis le terminal intégré.

02/11 SIGMA ~/.config/.smt et .smtk créésExtension « Claude Code » piégée sur le marketplace Cursor : backdoor SSH persistante élevé T1098.004 T1564.001
tb-2026-11-02-config-smt-et-smtk-cr-s.ymlTélécharger la règle Sigma
title: .smt / .smtk files from the trojanised Claude Code extension backdoor
id: b6da2ef5-2f58-4443-b686-469168e677d8
status: experimental
description: Creation of ~/.config/.smt or ~/.config/.smtk, SSH backdoor artefacts from the trojanised anthropic.claude-code extension on the Cursor marketplace.
references:
  - https://www.microsoft.com/en-us/security/blog/2026/10/30/inside-malicious-claude-code-branded-cursor-extension-persistent-ssh-backdoor/
  - https://opensourcemalware.com/blog/trojanized-claude-code-extension-plants-persistent-ssh-backdoor
author: Threat Brief (tlpclear.fr)
date: 2026-11-02
tags:
  - attack.persistence
  - attack.t1098.004
logsource:
  category: file_event
detection:
  selection:
    TargetFilename|endswith:
      - '/.config/.smt'
      - '/.config/.smtk'
  condition: selection
falsepositives:
  - Legitimate tool using the same hidden filename, verify
level: high
sigma : analysée et convertie (splunk, lucene) file_event (Linux, macOS) Licence DRL 1.1

Artefacts disque de la backdoor signalés par les sources de l'édition (hunt immédiat recommandé). Faux positifs : outil légitime portant le même nom de fichier.

31/10 SIGMA ssh/autossh -R *:0:localhost:22 (extension Claude Code piégée)Extension « Claude Code » trojanisée sur le marketplace Cursor : backdoor SSH persistante élevé T1572 T1098.004
tb-2026-10-31-ssh-autossh-r-0-localhost-22-extension-claude-code-pi-g-e.ymlTélécharger la règle Sigma
title: Reverse SSH tunnel from trojanised Claude Code extension (Cursor)
id: 9f2989bf-f6e0-46fd-90db-e78371716124
status: experimental
description: Execution of ssh or autossh opening a reverse tunnel to local port 22, backdoor pattern of the anthropic.claude-code 2.1.312/2.1.313 extension from the Cursor marketplace.
references:
  - https://www.microsoft.com/en-us/security/blog/2026/10/30/inside-malicious-claude-code-branded-cursor-extension-persistent-ssh-backdoor/
  - https://opensourcemalware.com/blog/trojanized-claude-code-extension-plants-persistent-ssh-backdoor
author: Threat Brief (tlpclear.fr)
date: 2026-10-31
tags:
  - attack.command-and-control
  - attack.t1572
  - attack.persistence
  - attack.t1098.004
logsource:
  category: process_creation
detection:
  selection_img:
    Image|endswith:
      - '/ssh'
      - '/autossh'
      - '\ssh.exe'
      - '\autossh.exe'
  selection_tunnel:
    CommandLine|contains|all:
      - '-R'
      - ':0:localhost:22'
  selection_ioc:
    CommandLine|contains: 'tunnel@134.209.82.225'
  condition: selection_img and (selection_tunnel or selection_ioc)
falsepositives:
  - Legitimate administrative or support reverse SSH tunnels exposing local sshd
level: high
sigma : analysée et convertie (splunk, lucene) process_creation (Linux, macOS, Windows) Licence DRL 1.1

Détecte le tunnel SSH inverse ouvert par le loader de l'extension piégée, ou toute connexion ssh vers tunnel@134.209.82.225. Faux positifs : tunnels SSH inverses d'administration légitimes.