[
 {
  "rule_id": null,
  "name": "TB 2026-11-24 - osk.exe started outside System32, or dotnet running MSBuildAnalyzer.dll (Cortex XDR)",
  "severity": "SEV_030_MEDIUM",
  "xql_query": "config case_sensitive = false\n| dataset = xdr_data\n| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START\n| filter (action_process_image_name = \"osk.exe\" and action_process_image_path not contains \"system32\") or action_process_image_command_line contains \"MSBuildAnalyzer.dll\"\n| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, causality_actor_process_image_name, action_process_image_path, action_process_image_command_line",
  "is_enabled": false,
  "description": "Copy of the On-Screen Keyboard osk.exe started outside System32 (side-loading pair with OskSupport.dll under %LOCALAPPDATA%\\osk) or a command line running MSBuildAnalyzer.dll, the stager of the NuGet packages described by Socket. Experimental rule from Threat Brief (https://tlpclear.fr/detections/2026-11-24), DRL 1.1: test and tune before enabling. References: https://socket.dev/blog/malicious-nuget-packages-fake-job-assessments",
  "alert_name": "Threat Brief - osk.exe started outside System32, or dotnet running MSBuildAnalyzer.dll (Cortex XDR)",
  "alert_category": "INFILTRATION",
  "alert_type": null,
  "alert_description": "Copy of the On-Screen Keyboard osk.exe started outside System32 (side-loading pair with OskSupport.dll under %LOCALAPPDATA%\\osk) or a command line running MSBuildAnalyzer.dll, the stager of the NuGet packages described by Socket.",
  "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_image_path": "action_process_image_path",
   "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": {
   "TA0001 - Initial Access": [
    "T1195.001 - Supply Chain Compromise: Compromise Software Dependencies and Development Tools"
   ],
   "TA0005 - Stealth": [
    "T1127.001 - Trusted Developer Utilities Proxy Execution: MSBuild"
   ],
   "TA0002 - Execution": [
    "T1127.001 - Trusted Developer Utilities Proxy Execution: MSBuild"
   ]
  },
  "investigation_query_link": "",
  "drilldown_query_timeframe": "ALERT",
  "mapping_strategy": "CUSTOM",
  "action": "ALERTS",
  "lookup_mapping": []
 }
]