[
 {
  "rule_id": null,
  "name": "TB 2026-11-12 - RelayTrap artefacts, Defender exclusions pushed by ScreenConnect, traffic to relay",
  "severity": "SEV_040_HIGH",
  "xql_query": "config case_sensitive = false\n| dataset = xdr_data\n| filter (event_type = ENUM.FILE and action_file_path contains \"\\programdata\\relaytrap\")  or (event_type = ENUM.PROCESS and action_process_image_command_line contains \"trapwatch\")  or (event_type = ENUM.PROCESS and causality_actor_process_image_name = \"screenconnect.clientservice.exe\" and action_process_image_command_line contains \"add-mppreference\" and action_process_image_command_line contains \"exclusion\")  or (event_type = ENUM.NETWORK and action_remote_ip = \"185.99.255.28\")\n| fields _time, agent_hostname, event_type, causality_actor_process_image_name, actor_process_image_name, action_process_image_command_line, action_file_path, action_remote_ip, action_remote_port\n| sort desc _time",
  "is_enabled": false,
  "description": "Searches for the C:\\ProgramData\\RelayTrap directory, the TrapWatch task, Defender exclusions added by a process spawned by the ScreenConnect service, and connections to relay 185.99.255.28. Experimental rule from Threat Brief (https://tlpclear.fr/detections/2026-11-12), DRL 1.1: test and tune before enabling. References: https://thehackernews.com/2026/11/screenconnect-attacks-target-at-least.html https://cyberpress.org/sckit-worm-connectwise-screenconnect/ https://www.bleepingcomputer.com/news/security/active-screenconnect-attacks-breach-msps-impact-dozens-of-organizations/",
  "alert_name": "Threat Brief - RelayTrap artefacts, Defender exclusions pushed by ScreenConnect, traffic to relay",
  "alert_category": "EXECUTION",
  "alert_type": null,
  "alert_description": "Searches for the C:\\ProgramData\\RelayTrap directory, the TrapWatch task, Defender exclusions added by a process spawned by the ScreenConnect service, and connections to relay 185.99.255.28.",
  "alert_domain": "DOMAIN_SECURITY",
  "alert_fields": {
   "agent_hostname": "agent_hostname",
   "action_remote_ip": "action_remote_ip",
   "action_remote_port": "action_remote_port",
   "actor_process_image_name": "actor_process_image_name",
   "actor_process_command_line": "action_process_image_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",
   "action_remote_ip"
  ],
  "dataset": "alerts",
  "user_defined_severity": null,
  "user_defined_category": null,
  "mitre_defs": {
   "TA0002 - Execution": [
    "T1053.005 - Scheduled Task/Job: Scheduled Task"
   ],
   "TA0003 - Persistence": [
    "T1053.005 - Scheduled Task/Job: Scheduled Task"
   ],
   "TA0004 - Privilege Escalation": [
    "T1053.005 - Scheduled Task/Job: Scheduled Task"
   ],
   "TA0011 - Command and Control": [
    "T1219 - Remote Access Tools"
   ]
  },
  "investigation_query_link": "",
  "drilldown_query_timeframe": "ALERT",
  "mapping_strategy": "CUSTOM",
  "action": "ALERTS",
  "lookup_mapping": []
 }
]