{"schema_version":1,"scope":"sélection","license":"DRL 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License","status":"experimental","disclaimer":"Experimental rule, provided without warranty: test and validate in your environment before any production use; do not block on it alone.","count":4,"rules":[{"id":"0dc2e2ef-6902-4e4c-a857-dea895cb0309","date":"2026-11-15","format":"sigma","title":"SysMon task or reverse SSH tunnel from the trojanised Claude Code extension (Cursor)","description":"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.","level":"high","attack":["T1053.005","T1572","T1098.004"],"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/"],"falsepositives":["Administrator-created task genuinely named SysMon","Legitimate reverse SSH tunnels using the same remote forwarding syntax"],"content":"title: Cursor trojanised Claude Code extension, SysMon task or reverse SSH tunnel\nid: 0dc2e2ef-6902-4e4c-a857-dea895cb0309\nstatus: experimental\ndescription: 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.\nreferences:\n  - https://cursor.com/blog/claude-code-extension-security-notice\n  - https://www.microsoft.com/en-us/security/blog/2026/10/30/inside-malicious-claude-code-branded-cursor-extension-persistent-ssh-backdoor/\nauthor: Threat Brief (tlpclear.fr)\ndate: 2026-11-15\ntags:\n  - attack.persistence\n  - attack.t1053.005\n  - attack.command-and-control\n  - attack.t1572\nlogsource:\n  category: process_creation\ndetection:\n  selection_task:\n    CommandLine|contains: 'schtasks /create /tn SysMon'\n  selection_tunnel:\n    CommandLine|contains: \"-N -R '*:0:localhost:22'\"\n  condition: 1 of selection_*\nfalsepositives:\n  - Administrator-created task genuinely named SysMon\n  - Legitimate reverse SSH tunnels using the same remote forwarding syntax\nlevel: high\n","topic":"Cursor: a key held by Fireworks AI, stolen agent traces and a trojanised Claude Code extension served for 11 hours","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-15"},{"id":"eb97060c-943d-42aa-b329-0cab9f65b68b","date":"2026-11-03","format":"sigma","title":"Reverse SSH tunnel to localhost:22 from Cursor or Node","description":"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.","level":"high","attack":["T1572","T1098.004"],"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/"],"falsepositives":["Reverse tunnel opened intentionally from the integrated terminal"],"content":"title: Reverse SSH tunnel to localhost:22 spawned from Cursor or Node (weaponised Claude Code extension)\nid: eb97060c-943d-42aa-b329-0cab9f65b68b\nstatus: experimental\ndescription: 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.\nreferences:\n  - https://opensourcemalware.com/blog/trojanized-claude-code-extension-plants-persistent-ssh-backdoor\n  - https://www.helpnetsecurity.com/2026/10/30/claude-code-extension-ssh-backdoor/\nauthor: Threat Brief (tlpclear.fr)\ndate: 2026-11-03\ntags:\n  - attack.command-and-control\n  - attack.t1572\n  - attack.persistence\n  - attack.t1098.004\nlogsource:\n  category: process_creation\ndetection:\n  selection_ssh:\n    Image|endswith:\n      - '/ssh'\n      - '\\ssh.exe'\n    CommandLine|contains: ' -R '\n  selection_target:\n    CommandLine|contains: 'localhost:22'\n  selection_parent:\n    ParentImage|contains:\n      - 'Cursor'\n      - 'node'\n  selection_ioc:\n    CommandLine|contains: 'tunnel@134.209.82.225'\n  condition: (selection_ssh and selection_target and selection_parent) or selection_ioc\nfalsepositives:\n  - Developers manually opening a reverse tunnel from the editor integrated terminal\nlevel: high\n","topic":"Trojanised \"Claude Code\" extension on the Cursor marketplace: SSH backdoor","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-03"},{"id":"b6da2ef5-2f58-4443-b686-469168e677d8","date":"2026-11-02","format":"sigma","title":"~/.config/.smt and .smtk created","description":"Backdoor disk artefacts reported by edition sources (immediate hunt recommended).","level":"high","attack":["T1098.004","T1564.001"],"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"],"falsepositives":["Legitimate tool using the same filename"],"content":"title: .smt / .smtk files from the trojanised Claude Code extension backdoor\nid: b6da2ef5-2f58-4443-b686-469168e677d8\nstatus: experimental\ndescription: Creation of ~/.config/.smt or ~/.config/.smtk, SSH backdoor artefacts from the trojanised anthropic.claude-code extension on the Cursor marketplace.\nreferences:\n  - https://www.microsoft.com/en-us/security/blog/2026/10/30/inside-malicious-claude-code-branded-cursor-extension-persistent-ssh-backdoor/\n  - https://opensourcemalware.com/blog/trojanized-claude-code-extension-plants-persistent-ssh-backdoor\nauthor: Threat Brief (tlpclear.fr)\ndate: 2026-11-02\ntags:\n  - attack.persistence\n  - attack.t1098.004\nlogsource:\n  category: file_event\ndetection:\n  selection:\n    TargetFilename|endswith:\n      - '/.config/.smt'\n      - '/.config/.smtk'\n  condition: selection\nfalsepositives:\n  - Legitimate tool using the same hidden filename, verify\nlevel: high\n","topic":"Trojanised \"Claude Code\" extension on the Cursor marketplace: persistent SSH backdoor","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-02"},{"id":"9f2989bf-f6e0-46fd-90db-e78371716124","date":"2026-10-31","format":"sigma","title":"ssh/autossh -R *:0:localhost:22 (trojanised Claude Code extension)","description":"Detects the reverse SSH tunnel opened by the trojanised extension loader, or any ssh connection to tunnel@134.209.82.225.","level":"high","attack":["T1572","T1098.004"],"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"],"falsepositives":["legitimate administrative reverse SSH tunnels"],"content":"title: Reverse SSH tunnel from trojanised Claude Code extension (Cursor)\nid: 9f2989bf-f6e0-46fd-90db-e78371716124\nstatus: experimental\ndescription: 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.\nreferences:\n  - https://www.microsoft.com/en-us/security/blog/2026/10/30/inside-malicious-claude-code-branded-cursor-extension-persistent-ssh-backdoor/\n  - https://opensourcemalware.com/blog/trojanized-claude-code-extension-plants-persistent-ssh-backdoor\nauthor: Threat Brief (tlpclear.fr)\ndate: 2026-10-31\ntags:\n  - attack.command-and-control\n  - attack.t1572\n  - attack.persistence\n  - attack.t1098.004\nlogsource:\n  category: process_creation\ndetection:\n  selection_img:\n    Image|endswith:\n      - '/ssh'\n      - '/autossh'\n      - '\\ssh.exe'\n      - '\\autossh.exe'\n  selection_tunnel:\n    CommandLine|contains|all:\n      - '-R'\n      - ':0:localhost:22'\n  selection_ioc:\n    CommandLine|contains: 'tunnel@134.209.82.225'\n  condition: selection_img and (selection_tunnel or selection_ioc)\nfalsepositives:\n  - Legitimate administrative or support reverse SSH tunnels exposing local sshd\nlevel: high\n","topic":"Trojanised \"Claude Code\" extension on the Cursor marketplace: persistent SSH backdoor","status":"experimental","page":"https://tlpclear.fr/detections/2026-10-31"}]}