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.com
Conversions
splunk
Image IN ("*/ssh", "*/autossh", "*\\ssh.exe", "*\\autossh.exe") (CommandLine="*-R*" CommandLine="*:0:localhost:22*") OR CommandLine="*tunnel@134.209.82.225*"lucene
(Image:(*\/ssh OR *\/autossh OR *\\ssh.exe OR *\\autossh.exe)) AND ((CommandLine:*\-R* AND CommandLine:*\:0\:localhost\:22*) OR CommandLine:*tunnel@134.209.82.225*)