Detection rules · Sigma, Cortex XQL, YARA

All rules, every day

The catalogue of Threat Brief rules since day one: filter by format, period, level or ATT&CK technique, open a rule to read its code, and download the selection as one file.

3 rules over 3 days · technique T1098.004 (remove) Most recent first
DateFormatRule and topicLevelATT&CK
10/11 XQL SSH session reading /etc/shadow, touching authorized_keys or querying cloud metadataSSHole (CVE-2026-123158): confirmed exploitation, root and TAC Agent implant high T1003.008 T1098.004 T1552.005 T1071.001
tb-2026-11-10-session-ssh-qui-lit-etc-shadow-touche-authorized-keys-ou-int.xqlXSIAM correlation rule
BIOC
Download XQL query
// Threat Brief 2026-11-10 · SSHole (CVE-2026-123158) · experimental
// Post-exploitation described by GreyNoise: reading /etc/shadow, authorized_keys, cloud metadata, TAC Agent C2
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START
| filter causality_actor_process_image_name = "sshd"
| filter action_process_image_command_line contains "/etc/shadow" or action_process_image_command_line contains "authorized_keys" or action_process_image_command_line contains "169.254.169" or action_process_image_command_line contains "tac.vpnla.org"
| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, action_process_image_name, action_process_image_command_line
xql: reviewed, not executed xdr_data, Linux processes Licence DRL 1.1

Processes spawned under sshd whose command line targets /etc/shadow, authorized_keys, the 169.254.169.254 metadata service or the TAC Agent C2. New item from 09/11: post-exploitation strings described by GreyNoise. False positives: administrators managing authorized_keys over SSH ; cloud inventory scripts executed via SSH.

03/11 XQL Write to authorized_keys by the Cursor or Node process treeTrojanised "Claude Code" extension on the Cursor marketplace: SSH backdoor medium T1098.004
tb-2026-11-03-criture-dans-authorized-keys-par-la-cha-ne-cursor-ou-node.xqlXSIAM correlation rule
BIOC
Download XQL query
// Threat Brief 2026-11-03 · weaponised Claude Code extension (Cursor) · experimental
// Write to authorized_keys by a process in the Cursor or Node process tree
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.FILE
| filter action_file_path contains "authorized_keys"
| filter causality_actor_process_image_name contains "cursor" or actor_process_image_name contains "node"
| fields _time, agent_hostname, actor_effective_username, causality_actor_process_image_name, actor_process_image_name, actor_process_command_line, action_file_path
xql: reviewed, not executed xdr_data (FILE) Licence DRL 1.1

The loader appends the svc-telemetry key to authorized_keys: editor or Node writes to this file are anomalous. False positives: Node provisioning tools managing SSH keys.

01/11 XQL authorized_keys modified from CursorTrojanised 'Claude Code' extension on Cursor Marketplace high T1098.004
tb-2026-11-01-authorized-keys-modifi-depuis-cursor.xqlXSIAM correlation rule
BIOC
Download XQL query
// Threat Brief 2026-11-01 · trojanised Claude Code extension (Cursor) · experimental
// Write to authorized_keys by a process chain originating from Cursor
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.FILE and action_file_path contains "authorized_keys"
| filter causality_actor_process_image_name contains "cursor" or actor_process_command_line contains "anthropic.claude-code"
| fields _time, agent_hostname, actor_effective_username, causality_actor_process_image_name, actor_process_image_name, actor_process_command_line, action_file_path
| sort desc _time
xql: reviewed, not executed xdr_data Licence DRL 1.1

Loader adds svc-telemetry Ed25519 key to authorized_keys from the extension: writing to this file under Cursor is anomalous. False positives: Developer manually adding a key from Cursor's integrated terminal.