[
 {
  "rule_id": null,
  "name": "TB 2026-11-03 - Write to authorized_keys by the Cursor or Node process tree",
  "severity": "SEV_030_MEDIUM",
  "xql_query": "config case_sensitive = false\n| dataset = xdr_data\n| filter event_type = ENUM.FILE\n| filter action_file_path contains \"authorized_keys\"\n| filter causality_actor_process_image_name contains \"cursor\" or actor_process_image_name contains \"node\"\n| fields _time, agent_hostname, actor_effective_username, causality_actor_process_image_name, actor_process_image_name, actor_process_command_line, action_file_path",
  "is_enabled": false,
  "description": "The loader appends the svc-telemetry key to authorized_keys: editor or Node writes to this file are anomalous. Experimental rule from Threat Brief (https://tlpclear.fr/detections/2026-11-03), DRL 1.1: test and tune before enabling. References: https://opensourcemalware.com/blog/trojanized-claude-code-extension-plants-persistent-ssh-backdoor https://www.helpnetsecurity.com/2026/10/30/claude-code-extension-ssh-backdoor/",
  "alert_name": "Threat Brief - Write to authorized_keys by the Cursor or Node process tree",
  "alert_category": "PERSISTENCE",
  "alert_type": null,
  "alert_description": "The loader appends the svc-telemetry key to authorized_keys: editor or Node writes to this file are anomalous.",
  "alert_domain": "DOMAIN_SECURITY",
  "alert_fields": {
   "agent_hostname": "agent_hostname",
   "actor_effective_username": "actor_effective_username",
   "actor_process_image_name": "actor_process_image_name",
   "actor_process_command_line": "actor_process_command_line"
  },
  "execution_mode": "SCHEDULED",
  "search_window": "10 minutes",
  "simple_schedule": "10 minutes",
  "timezone": "Europe/Paris",
  "crontab": "*/10 * * * *",
  "suppression_enabled": true,
  "suppression_duration": "24 hours",
  "suppression_fields": [
   "agent_hostname",
   "actor_effective_username"
  ],
  "dataset": "alerts",
  "user_defined_severity": null,
  "user_defined_category": null,
  "mitre_defs": {
   "TA0003 - Persistence": [
    "T1098.004 - Account Manipulation: SSH Authorized Keys"
   ],
   "TA0004 - Privilege Escalation": [
    "T1098.004 - Account Manipulation: SSH Authorized Keys"
   ]
  },
  "investigation_query_link": "",
  "drilldown_query_timeframe": "ALERT",
  "mapping_strategy": "CUSTOM",
  "action": "ALERTS",
  "lookup_mapping": []
 }
]