Inside a malicious Claude Code-branded extension and its persistent SSH backdoor
ID: cf1efc84-f304-532e-8600-ead5ed653608
STIX ID: report--cf1efc84-f304-532e-8600-ead5ed653608
Feed Name: Microsoft Security
Microsoft analyzed a tampered Claude Code extension distributed via the Cursor extension marketplace (versions 2.1.313 and 2.1.312) that contained injected JavaScript acting as a loader to perform host reconnaissance, append an attacker-controlled SSH public key, enable local SSH, create reverse SSH forwarding to attacker infrastructure, and configure cross-platform persistence (macOS LaunchAgents, Linux cron, Windows scheduled tasks/Startup). The report notes the malicious packages were limited to Cursor’s marketplace, not Microsoft or Anthropic systems, details IOCs and advanced-hunting queries, maps observed behaviors to MITRE ATT&CK techniques, and provides platform-specific detection, containment, and remediation guidance including evidence preservation and credential rotation.
Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.
