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.
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
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
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
- « schtasks /create /tn SysMon » cursor.com
- « ssh -N -R '*:0:localhost:22' » cursor.com
15/11 YARA extension.js piégé de l'extension Claude Code (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é T1195.002 T1098.004
rule TB_20261115_Cursor_ClaudeCode_extension_js
{
meta:
author = "Threat Brief (tlpclear.fr)"
date = "2026-11-15"
reference = "https://cursor.com/blog/claude-code-extension-security-notice"
description = "Backdoored extension.js of the trojanised Anthropic.claude-code 2.1.312 and 2.1.313 extension (Cursor marketplace, 29 October 2026)"
status = "experimental"
strings:
$key = "svc-telemetry" ascii
$ip = "134.209.82.225" ascii
$tun = ":0:localhost:22" ascii
condition:
filesize < 15MB and $key and ($ip or $tun)
}
Script contenant le commentaire de clé SSH svc-telemetry avec l'IP de l'attaquant ou la chaîne de redirection du tunnel inverse, d'après la description de l'extension.js malveillant par Cursor. Faux positifs : rapports de sécurité ou scripts de remédiation citant ces indicateurs.
2 citations des sources
- « svc-telemetry » cursor.com
- « ssh -N -R '*:0:localhost:22' » cursor.com
10/11 XQL Session SSH qui lit /etc/shadow, touche authorized_keys ou interroge les métadonnées cloudSSHole (CVE-2026-123158) : exploitation confirmée, root et implant TAC Agent élevé T1003.008 T1098.004 T1552.005 T1071.001
// Threat Brief 2026-11-10 · SSHole (CVE-2026-123158) · experimental // Post-exploitation described by GreyNoise: reading /etc/shadow, authorized_keys, cloud metadata, TAC Agent C2 config case_sensitive = false | dataset = xdr_data | filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START | filter causality_actor_process_image_name = "sshd" | filter action_process_image_command_line contains "/etc/shadow" or action_process_image_command_line contains "authorized_keys" or action_process_image_command_line contains "169.254.169" or action_process_image_command_line contains "tac.vpnla.org" | fields _time, agent_hostname, actor_effective_username, actor_process_image_name, action_process_image_name, action_process_image_command_line
Processus lancés sous sshd dont la ligne de commande vise /etc/shadow, authorized_keys, le service de métadonnées 169.254.169.254 ou le C2 TAC Agent. Élément nouveau du 9/11 : chaînes de post exploitation décrites par GreyNoise. Faux positifs : administrateurs qui gèrent authorized_keys en SSH ; scripts d'inventaire cloud lancés par SSH.
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
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
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é.
opensourcemalware.comwww.helpnetsecurity.comVoir le 03/11 avec son édition →
03/11 YARA extension.js du loader Claude Code piégéExtension « Claude Code » trojanisée sur le marketplace Cursor : backdoor SSH élevé T1195.002 T1098.004
rule TB_20261103_ClaudeCode_Cursor_extension_loader
{
meta:
author = "Threat Brief (tlpclear.fr)"
date = "2026-11-03"
reference = "https://opensourcemalware.com/blog/trojanized-claude-code-extension-plants-persistent-ssh-backdoor"
description = "Weaponised extension.js from anthropic.claude-code extension (Cursor marketplace): svc-telemetry key, authorized_keys, and reverse SSH tunnel"
status = "experimental"
strings:
$k1 = "svc-telemetry" ascii
$k2 = "authorized_keys" ascii
$k3 = "134.209.82.225" ascii
$k4 = "localhost:22" ascii
$k5 = "child_process" ascii
condition:
filesize < 30MB and $k5 and 3 of ($k1, $k2, $k3, $k4)
}
Chaînes du loader injecté en tête de extension.js : clé svc-telemetry, authorized_keys, tunnel vers 134.209.82.225. Faux positifs : aucun connu.
opensourcemalware.comwww.helpnetsecurity.comVoir le 03/11 avec son édition →
03/11 XQL Écriture dans authorized_keys par la chaîne Cursor ou NodeExtension « Claude Code » trojanisée sur le marketplace Cursor : backdoor SSH moyen T1098.004
// Threat Brief 2026-11-03 · weaponised Claude Code extension (Cursor) · experimental // Write to authorized_keys by a process in the Cursor or Node process tree config case_sensitive = false | dataset = xdr_data | filter event_type = ENUM.FILE | filter action_file_path contains "authorized_keys" | filter causality_actor_process_image_name contains "cursor" or actor_process_image_name contains "node" | fields _time, agent_hostname, actor_effective_username, causality_actor_process_image_name, actor_process_image_name, actor_process_command_line, action_file_path
Le loader ajoute la clé svc-telemetry à authorized_keys : une écriture de ce fichier par l'éditeur ou Node est anormale. Faux positifs : outils de provisioning en Node qui gèrent les clés SSH.
opensourcemalware.comwww.helpnetsecurity.comVoir le 03/11 avec son édition →
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
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
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.
www.microsoft.comopensourcemalware.comVoir le 02/11 avec son édition →
01/11 XQL authorized_keys modifié depuis CursorExtension « Claude Code » trojanisée sur le Cursor Marketplace élevé T1098.004
// Threat Brief 2026-11-01 · trojanised Claude Code extension (Cursor) · experimental // Write to authorized_keys by a process chain originating from Cursor config case_sensitive = false | dataset = xdr_data | filter event_type = ENUM.FILE and action_file_path contains "authorized_keys" | filter causality_actor_process_image_name contains "cursor" or actor_process_command_line contains "anthropic.claude-code" | fields _time, agent_hostname, actor_effective_username, causality_actor_process_image_name, actor_process_image_name, actor_process_command_line, action_file_path | sort desc _time
Le loader ajoute une clé Ed25519 svc-telemetry à authorized_keys depuis l'extension : une écriture de ce fichier sous Cursor est anormale. Faux positifs : développeur ajoutant lui-même une clé depuis le terminal intégré de Cursor.
www.microsoft.comopensourcemalware.comVoir le 01/11 avec son édition →
31/10 YARA extension.js piégé de l'extension Claude Code (Cursor)Extension « Claude Code » trojanisée sur le marketplace Cursor : backdoor SSH persistante élevé T1195.002 T1098.004
import "hash"
rule TB_20261031_ClaudeCode_Cursor_trojanized_extension
{
meta:
author = "Threat Brief (tlpclear.fr)"
date = "2026-10-31"
reference = "https://www.microsoft.com/en-us/security/blog/2026/10/30/inside-malicious-claude-code-branded-cursor-extension-persistent-ssh-backdoor/"
description = "Trojanised extension.js from anthropic.claude-code 2.1.312/2.1.313 (Cursor marketplace): svc-telemetry key, tunnel to 134.209.82.225, LaunchAgent com.apple.sysmond"
status = "experimental"
strings:
$k = "svc-telemetry" ascii
$ip = "134.209.82.225" ascii
$la = "com.apple.sysmond" ascii
$t = "localhost:22" ascii
condition:
filesize < 20MB and ( hash.sha256(0, filesize) == "ecb58cb29078d9646ad1dcdbe51526f2d9cfea06be5fb2ab183e8ecc3ab6bf15" or ( $ip and 2 of ($k, $la, $t) ) )
}
Reconnaît le loader en tête d'extension.js (chaînes de la clé svc-telemetry, de l'IP du tunnel, du LaunchAgent) ou le SHA256 publié. Faux positifs : copies de rapports ou d'IOC citant ces chaînes.
www.microsoft.comopensourcemalware.comVoir le 31/10 avec son édition →
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
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
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.
www.microsoft.comopensourcemalware.comVoir le 31/10 avec son édition →