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.
15/11 SIGMA SysMon task or reverse SSH tunnel from the trojanised Claude Code extension (Cursor)Cursor: a key held by Fireworks AI, stolen agent traces and a trojanised Claude Code extension served for 11 hours high 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
Process creation of the SysMon scheduled task or of the ssh -N -R '*:0:localhost:22' reverse tunnel described by Cursor for the trojanised Anthropic.claude-code 2.1.312 and 2.1.313 extension. False positives: Administrator-created task genuinely named SysMon ; Legitimate reverse SSH tunnels using the same remote forwarding syntax.
2 quotes from the sources
- “schtasks /create /tn SysMon” cursor.com
- “ssh -N -R '*:0:localhost:22'” cursor.com
15/11 YARA Backdoored extension.js of the Claude Code extension (Cursor)Cursor: a key held by Fireworks AI, stolen agent traces and a trojanised Claude Code extension served for 11 hours high 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 containing the svc-telemetry SSH key comment together with the attacker IP or the reverse tunnel forwarding string, as described by Cursor for the malicious extension.js. False positives: Security reports or remediation scripts quoting these indicators.
2 quotes from the sources
- “svc-telemetry” cursor.com
- “ssh -N -R '*:0:localhost:22'” cursor.com
10/11 XQL SSH session reading /etc/shadow, touching authorized_keys or querying cloud metadataSSHole (CVE-2026-123158): confirmed exploitation, root and TAC Agent implant high 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
Processes spawned under sshd whose command line targets /etc/shadow, authorized_keys, the 169.254.169.254 metadata service or the TAC Agent C2. New item from 09/11: post-exploitation strings described by GreyNoise. False positives: administrators managing authorized_keys over SSH ; cloud inventory scripts executed via SSH.
03/11 SIGMA Reverse SSH tunnel to localhost:22 from Cursor or NodeTrojanised "Claude Code" extension on the Cursor marketplace: SSH backdoor high 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 to local port 22 spawned by the editor or Node, or targeting tunnel@134.209.82.225: backdoor tunnel from the weaponised extension. False positives: Reverse tunnel opened intentionally from the integrated terminal.
opensourcemalware.comwww.helpnetsecurity.comSee 03/11 with its edition →
03/11 YARA extension.js of the weaponised Claude Code loaderTrojanised "Claude Code" extension on the Cursor marketplace: SSH backdoor high 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)
}
Strings from the injected loader prepended to extension.js: svc-telemetry key, authorized_keys, tunnel to 134.209.82.225. False positives: None known.
opensourcemalware.comwww.helpnetsecurity.comSee 03/11 with its edition →
03/11 XQL Write to authorized_keys by the Cursor or Node process treeTrojanised "Claude Code" extension on the Cursor marketplace: SSH backdoor medium 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
The loader appends the svc-telemetry key to authorized_keys: editor or Node writes to this file are anomalous. False positives: Node provisioning tools managing SSH keys.
opensourcemalware.comwww.helpnetsecurity.comSee 03/11 with its edition →
02/11 SIGMA ~/.config/.smt and .smtk createdTrojanised "Claude Code" extension on the Cursor marketplace: persistent SSH backdoor high 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
Backdoor disk artefacts reported by edition sources (immediate hunt recommended). False positives: Legitimate tool using the same filename.
www.microsoft.comopensourcemalware.comSee 02/11 with its edition →
01/11 XQL authorized_keys modified from CursorTrojanised 'Claude Code' extension on Cursor Marketplace high 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
Loader adds svc-telemetry Ed25519 key to authorized_keys from the extension: writing to this file under Cursor is anomalous. False positives: Developer manually adding a key from Cursor's integrated terminal.
www.microsoft.comopensourcemalware.comSee 01/11 with its edition →
31/10 YARA Trojanised extension.js in Claude Code extension (Cursor)Trojanised "Claude Code" extension on the Cursor marketplace: persistent SSH backdoor high 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) ) )
}
Detects the loader prepended to extension.js (strings for svc-telemetry key, tunnel IP, LaunchAgent) or the published SHA256. False positives: copies of reports or IOCs referencing these strings.
www.microsoft.comopensourcemalware.comSee 31/10 with its edition →
31/10 SIGMA ssh/autossh -R *:0:localhost:22 (trojanised Claude Code extension)Trojanised "Claude Code" extension on the Cursor marketplace: persistent SSH backdoor high 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
Detects the reverse SSH tunnel opened by the trojanised extension loader, or any ssh connection to tunnel@134.209.82.225. False positives: legitimate administrative reverse SSH tunnels.
www.microsoft.comopensourcemalware.comSee 31/10 with its edition →