// sigma convert -t kusto -p sentinel_asim, pack v1.1.0 (15 Nov 2026). NOT run against a live tenant.
// ===== claude_code_ext_2_1_312_cursor_folder.yml (-p sentinel_asim)
imFileEvent
| where TargetFileName contains "/.cursor/extensions/anthropic.claude-code-2.1.312" or TargetFileName contains "/.cursor-server/extensions/anthropic.claude-code-2.1.312" or TargetFileName contains "\\.cursor\\extensions\\anthropic.claude-code-2.1.312" or TargetFileName contains "\\.cursor-server\\extensions\\anthropic.claude-code-2.1.312"

// ===== claude_code_ext_authorized_keys_by_editor.yml (-p sentinel_asim)
imFileEvent
| where (TargetFileName endswith "/.ssh/authorized_keys" or TargetFileName endswith "\\.ssh\\authorized_keys" or TargetFileName endswith "\\ssh\\administrators_authorized_keys") and (TargetFilePath endswith "\\Cursor.exe" or TargetFilePath endswith "\\Code.exe" or TargetFilePath endswith "\\Code - Insiders.exe" or TargetFilePath endswith "\\Windsurf.exe" or TargetFilePath endswith "\\node.exe" or TargetFilePath endswith "\\powershell.exe" or TargetFilePath endswith "\\cmd.exe" or TargetFilePath endswith "/Cursor" or TargetFilePath endswith "/Code Helper (Plugin)" or TargetFilePath endswith "/Cursor Helper (Plugin)" or TargetFilePath endswith "/node" or TargetFilePath endswith "/code" or TargetFilePath endswith "/cursor" or TargetFilePath endswith "/sh" or TargetFilePath endswith "/bash" or TargetFilePath endswith "/zsh")

// ===== claude_code_ext_linux_editor_persistence.yml (-p sentinel_asim)
imProcessCreate
| where (((ParentProcessName contains "/Cursor.app/" or ParentProcessName contains "/Visual Studio Code.app/" or ParentProcessName contains "/Visual Studio Code - Insiders.app/" or ParentProcessName contains "/Windsurf.app/" or ParentProcessName contains "/usr/share/code/" or ParentProcessName contains "/usr/share/cursor/" or ParentProcessName contains "/opt/Cursor/" or ParentProcessName contains "/opt/cursor/" or ParentProcessName contains "/.mount_Cursor") or (ActingProcessName contains "/Cursor.app/" or ActingProcessName contains "/Visual Studio Code.app/" or ActingProcessName contains "/Visual Studio Code - Insiders.app/" or ActingProcessName contains "/Windsurf.app/" or ActingProcessName contains "/usr/share/code/" or ActingProcessName contains "/usr/share/cursor/" or ActingProcessName contains "/opt/Cursor/" or ActingProcessName contains "/opt/cursor/" or ActingProcessName contains "/.mount_Cursor")) or ActingProcessCommandLine contains "extensionHost") and ((TargetProcessName endswith "/launchctl" and (TargetProcessCommandLine contains "load" or TargetProcessCommandLine contains "bootstrap" or TargetProcessCommandLine contains "com.apple.sysmond")) or TargetProcessName endswith "/crontab" or TargetProcessCommandLine contains "-setremotelogin on" or ((TargetProcessName endswith "/ssh" or TargetProcessName endswith "/autossh") and TargetProcessCommandLine contains " -R "))

// ===== claude_code_ext_macos_editor_persistence.yml (-p sentinel_asim)
imProcessCreate
| where (((ParentProcessName contains "/Cursor.app/" or ParentProcessName contains "/Visual Studio Code.app/" or ParentProcessName contains "/Visual Studio Code - Insiders.app/" or ParentProcessName contains "/Windsurf.app/" or ParentProcessName contains "/usr/share/code/" or ParentProcessName contains "/usr/share/cursor/" or ParentProcessName contains "/opt/Cursor/" or ParentProcessName contains "/opt/cursor/" or ParentProcessName contains "/.mount_Cursor") or (ActingProcessName contains "/Cursor.app/" or ActingProcessName contains "/Visual Studio Code.app/" or ActingProcessName contains "/Visual Studio Code - Insiders.app/" or ActingProcessName contains "/Windsurf.app/" or ActingProcessName contains "/usr/share/code/" or ActingProcessName contains "/usr/share/cursor/" or ActingProcessName contains "/opt/Cursor/" or ActingProcessName contains "/opt/cursor/" or ActingProcessName contains "/.mount_Cursor")) or ActingProcessCommandLine contains "extensionHost") and ((TargetProcessName endswith "/launchctl" and (TargetProcessCommandLine contains "load" or TargetProcessCommandLine contains "bootstrap" or TargetProcessCommandLine contains "com.apple.sysmond")) or TargetProcessName endswith "/crontab" or TargetProcessCommandLine contains "-setremotelogin on" or ((TargetProcessName endswith "/ssh" or TargetProcessName endswith "/autossh") and TargetProcessCommandLine contains " -R "))

// ===== claude_code_ext_malicious_version_folder.yml (-p sentinel_asim)
imFileEvent
| where TargetFileName contains "/anthropic.claude-code-2.1.313" or TargetFileName contains "\\anthropic.claude-code-2.1.313"

// ===== claude_code_ext_network_attacker_ip.yml (-p sentinel_asim)
imNetworkSession
| where DstIpAddr =~ "134.209.82.225"

// ===== claude_code_ext_payload_files.yml (-p sentinel_asim)
imFileEvent
| where (TargetFileName endswith "/.config/.smt" or TargetFileName endswith "/.config/.smtk" or TargetFileName endswith "\\.config\\smt.cmd" or TargetFileName endswith "\\.config\\smtk" or TargetFileName endswith "/Library/LaunchAgents/com.apple.sysmond.plist" or TargetFileName endswith "\\Start Menu\\Programs\\Startup\\sysmon.cmd") or TargetFileName matches regex "[/\\\\]\\.stk_[0-9a-f]{10}$"

// ===== claude_code_ext_proxy_beacon.yml (-p sentinel_asim)
imWebSession
| where Url contains "134.209.82.225" or Url contains ":8099/beacon"

// ===== claude_code_ext_smt_script_execution.yml (-p sentinel_asim)
imProcessCreate
| where TargetProcessCommandLine matches regex "[/\\\\]\\.config[/\\\\]\\.smt(\\s|\"|$)" or (TargetProcessCommandLine contains "\\.config\\smt.cmd" or TargetProcessCommandLine contains "\\Start Menu\\Programs\\Startup\\sysmon.cmd")

// ===== claude_code_ext_ssh_reverse_tunnel.yml (-p sentinel_asim)
imProcessCreate
| where (TargetProcessName endswith "/ssh" or TargetProcessName endswith "\\ssh.exe" or TargetProcessName endswith "/autossh" or TargetProcessName endswith "\\autossh.exe") and ((TargetProcessCommandLine contains "tunnel@134.209.82.225" or TargetProcessCommandLine contains "134.209.82.225") or (TargetProcessCommandLine contains " -R " and TargetProcessCommandLine matches regex "[*:]0:localhost:22") or (TargetProcessCommandLine contains " -R " and TargetProcessCommandLine contains "StrictHostKeyChecking=no" and TargetProcessCommandLine contains "UserKnownHostsFile=/dev/null" and TargetProcessCommandLine contains "ExitOnForwardFailure=yes") or TargetProcessCommandLine matches regex "\\.stk_[0-9a-f]{10}|\\.config[/\\\\]\\.?smtk")

// ===== claude_code_ext_windows_editor_persistence.yml (-p sentinel_asim)
imProcessCreate
| where (((ParentProcessName endswith "\\Cursor.exe" or ParentProcessName endswith "\\Code.exe" or ParentProcessName endswith "\\Code - Insiders.exe" or ParentProcessName endswith "\\Windsurf.exe" or ParentProcessName endswith "\\node.exe") or (ActingProcessName endswith "\\Cursor.exe" or ActingProcessName endswith "\\Code.exe" or ActingProcessName endswith "\\Code - Insiders.exe" or ActingProcessName endswith "\\Windsurf.exe" or ActingProcessName endswith "\\node.exe")) and ((TargetProcessName endswith "\\schtasks.exe" and TargetProcessCommandLine contains "/create") or (TargetProcessCommandLine contains "Add-WindowsCapability" and TargetProcessCommandLine contains "OpenSSH.Server") or (TargetProcessCommandLine contains "Set-Service sshd" or TargetProcessCommandLine contains "Set-Service -Name sshd" or TargetProcessCommandLine contains "Start-Service sshd" or TargetProcessCommandLine contains "sc config sshd" or TargetProcessCommandLine contains "sc.exe config sshd" or TargetProcessCommandLine contains "net start sshd") or (TargetProcessName endswith "\\ssh.exe" and TargetProcessCommandLine contains " -R "))) or (TargetProcessName endswith "\\schtasks.exe" and (TargetProcessCommandLine contains "/create" and TargetProcessCommandLine contains "SysMon") and (TargetProcessCommandLine contains "smt.cmd" or TargetProcessCommandLine contains ".config"))

