Cursor: a key held by Fireworks AI, stolen agent traces and a trojanised Claude Code extension served for 11 hours
SIGMA SysMon task or reverse SSH tunnel from the trojanised Claude Code extension (Cursor) process_creation (Windows, macOS, Linux) · high Threat Brief · experimental
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
Conversions
CommandLine IN ("*schtasks /create /tn SysMon*", "*-N -R '*:0:localhost:22'*")CommandLine:(*schtasks\ \/create\ \/tn\ SysMon* OR *\-N\ \-R\ '*\:0\:localhost\:22'*)
XQL Persistence files of the trojanised Claude Code extension (Cursor) xdr_data (files) · high Threat Brief · experimental
// Threat Brief 2026-11-15 · Cursor trojanised Claude Code extension · experimental
// Persistence files dropped by the backdoored extension.js (Windows, macOS, Linux)
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.FILE and (action_file_name in ("com.apple.sysmond.plist", "smt.cmd", ".smt", ".smtk") or (action_file_name = "sysmon.cmd" and action_file_path contains "Programs\Startup") or action_file_name contains ".stk_")
| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_file_path, action_file_name, action_file_sha256
File events on the persistence artefacts published by Cursor and Microsoft: com.apple.sysmond.plist, ~/.config/.smt and .smtk, smt.cmd, sysmon.cmd in the Startup folder and the .stk_ tunnel identity file. False positives: A file coincidentally named like one of these artefacts.
6 quotes from the sources
- “com.apple.sysmond.plist” cursor.com
- “~/.config/.smt” cursor.com
- “~/.config/.smtk” cursor.com
- “%USERPROFILE%\.config\smt.cmd” cursor.com
- “%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\sysmon.cmd” cursor.com
- “/tmp/.stk_” cursor.com
YARA Backdoored extension.js of the Claude Code extension (Cursor) JavaScript file (extension) · high Threat Brief · experimental
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