UNIFIED SOC INCIDENT RESPONSE BLUEPRINT
Cursor Breach: How Hackers Poisoned Claude Code Extension
Cursor discloses a breach where hackers abused stolen Fireworks AI keys to inject a malicious Claude Code extension, exposing 5,000 developers to SSH backdoors.
Detection & Hunting Detectors (1)
[T1078] Cursor Breach Hunt QueryStandalone Rule
// Microsoft Defender for Endpoint / Sentinel Hunting Query
// Identifies Cursor IDE and child processes modifying SSH configuration or establishing unexpected outbound SSH sessions
let IdeProcesses = dynamic(["cursor.exe", "code.exe", "node.exe"]);
DeviceFileEvents
| where Timestamp >= datetime(2026-10-29T00:00:00Z)
| where InitiatingProcessFileName in~ (IdeProcesses)
| where FolderPath has ".ssh" and FileName =~ "authorized_keys"
| project Timestamp, DeviceName, ActionType, InitiatingProcessFileName, InitiatingProcessCommandLine, FolderPath, FileName, AccountName
| join kind=leftouter (
DeviceNetworkEvents
| where RemotePort in (22, 2222)
| project DeviceName, NetworkConnectionTime=Timestamp, RemoteIP, RemoteUrl
) on DeviceName
| order by Timestamp descVerified Indicators of Compromise (3)
Indicators of Compromise (IOCs)
3 Identified
FILE PATH
~/.ssh/authorized_keysMALICIOUS EXTENSION
Claude Code Extension v2.1.312MALICIOUS EXTENSION
Claude Code Extension v2.1.313