Detection rules · Sigma, Cortex XQL, YARA

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.

2 rules over 2 days · 1 repeat hidden (show) · technique T1098.004 (remove) Most recent first
DateFormatRule and topicLevelATT&CK
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 hoursalso on 31/10 high T1195.002 T1098.004
tb-2026-11-15-extension-js-pi-g-de-l-extension-claude-code-cursor.yarDownload YARA rule
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)
}
yara: compiled JavaScript file (extension) Licence DRL 1.1

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
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
tb-2026-11-03-extension-js-du-loader-claude-code-pi-g.yarDownload YARA rule
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)
}
yara: compiled JavaScript file (extension.js) Licence DRL 1.1

Strings from the injected loader prepended to extension.js: svc-telemetry key, authorized_keys, tunnel to 134.209.82.225. False positives: None known.