{
 "request_data": [
  {
   "name": "TB 2026-11-20 - Shell or network tool spawned by Puppet Server (Cortex XDR)",
   "type": "INFILTRATION",
   "severity": "SEV_030_MEDIUM",
   "comment": "Shell or download tool launched by the java process of a puppet account: likely code execution through CVE-2026-115731 on Puppet Server. Logic (process): actor_effective_username contains puppet AND actor_process_image_name = java AND action_process_image_name in sh, bash, dash, curl, wget, python3, perl. Experimental BIOC from Threat Brief (https://tlpclear.fr/detections/2026-11-20), DRL 1.1: test before enabling.",
   "status": "disabled",
   "is_xql": false,
   "indicator": {
    "runOnCGO": true,
    "investigationType": "PROCESS_EXECUTION_EVENT",
    "investigation": {
     "PROCESS_EXECUTION_EVENT": {
      "filter": {
       "AND": [
        {
         "SEARCH_FIELD": "actor_effective_username",
         "SEARCH_TYPE": "CONTAINS",
         "SEARCH_VALUE": "puppet"
        },
        {
         "SEARCH_FIELD": "actor_process_image_name",
         "SEARCH_TYPE": "EQ",
         "SEARCH_VALUE": "java"
        },
        {
         "OR": [
          {
           "SEARCH_FIELD": "action_process_image_name",
           "SEARCH_TYPE": "EQ",
           "SEARCH_VALUE": "sh"
          },
          {
           "SEARCH_FIELD": "action_process_image_name",
           "SEARCH_TYPE": "EQ",
           "SEARCH_VALUE": "bash"
          },
          {
           "SEARCH_FIELD": "action_process_image_name",
           "SEARCH_TYPE": "EQ",
           "SEARCH_VALUE": "dash"
          },
          {
           "SEARCH_FIELD": "action_process_image_name",
           "SEARCH_TYPE": "EQ",
           "SEARCH_VALUE": "curl"
          },
          {
           "SEARCH_FIELD": "action_process_image_name",
           "SEARCH_TYPE": "EQ",
           "SEARCH_VALUE": "wget"
          },
          {
           "SEARCH_FIELD": "action_process_image_name",
           "SEARCH_TYPE": "EQ",
           "SEARCH_VALUE": "python3"
          },
          {
           "SEARCH_FIELD": "action_process_image_name",
           "SEARCH_TYPE": "EQ",
           "SEARCH_VALUE": "perl"
          }
         ]
        }
       ]
      }
     }
    }
   },
   "mitre_tactic_id_and_name": [
    "TA0001 - Initial Access",
    "TA0002 - Execution"
   ],
   "mitre_technique_id_and_name": [
    "T1190 - Exploit Public-Facing Application",
    "T1059.004 - Command and Scripting Interpreter: Unix Shell"
   ]
  },
  {
   "name": "TB 2026-11-20 - settings.php written by the PHP web process (Drupal)",
   "type": "INFILTRATION",
   "severity": "SEV_030_MEDIUM",
   "comment": "settings.php written by php-fpm or the web server: in production this only happens at install time, so it signals a reinstall through /core/install.php (CVE-2026-132165). Logic (file): action_file_name = settings.php AND (actor_process_image_name contains php OR actor_process_image_name in httpd, apache2). Experimental BIOC from Threat Brief (https://tlpclear.fr/detections/2026-11-20), DRL 1.1: test before enabling.",
   "status": "disabled",
   "is_xql": false,
   "indicator": {
    "runOnCGO": true,
    "investigationType": "FILE_EVENT",
    "investigation": {
     "FILE_EVENT": {
      "filter": {
       "AND": [
        {
         "SEARCH_FIELD": "action_file_name",
         "SEARCH_TYPE": "EQ",
         "SEARCH_VALUE": "settings.php"
        },
        {
         "OR": [
          {
           "SEARCH_FIELD": "actor_process_image_name",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "php"
          },
          {
           "SEARCH_FIELD": "actor_process_image_name",
           "SEARCH_TYPE": "EQ",
           "SEARCH_VALUE": "httpd"
          },
          {
           "SEARCH_FIELD": "actor_process_image_name",
           "SEARCH_TYPE": "EQ",
           "SEARCH_VALUE": "apache2"
          }
         ]
        }
       ]
      }
     }
    }
   },
   "mitre_tactic_id_and_name": [
    "TA0001 - Initial Access",
    "TA0003 - Persistence"
   ],
   "mitre_technique_id_and_name": [
    "T1190 - Exploit Public-Facing Application",
    "T1505 - Server Software Component"
   ]
  }
 ]
}