{
 "request_data": [
  {
   "name": "TB 2026-11-28 - wp-media-*.php file written under wp-content (WP Rocket, Cortex XDR)",
   "type": "INFILTRATION",
   "severity": "SEV_040_HIGH",
   "comment": "Creation of a wp-media-*.php file under wp-content on a WordPress server: a vulnerable WP Rocket downloads remote content and saves it as a PHP file. Single-event query, BIOC-ready. Logic (file): action_file_path contains wp-content/ AND action_file_name ~= ^wp-media-.*.php$. Experimental BIOC from Threat Brief (https://tlpclear.fr/detections/2026-11-28), 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_path",
         "SEARCH_TYPE": "CONTAINS",
         "SEARCH_VALUE": "wp-content/"
        },
        {
         "SEARCH_FIELD": "action_file_name",
         "SEARCH_TYPE": "REGEX",
         "SEARCH_VALUE": "(?i)wp-media-.*.php"
        }
       ]
      }
     }
    }
   },
   "mitre_tactic_id_and_name": [
    "TA0001 - Initial Access",
    "TA0003 - Persistence"
   ],
   "mitre_technique_id_and_name": [
    "T1190 - Exploit Public-Facing Application",
    "T1505.003 - Server Software Component: Web Shell"
   ]
  },
  {
   "name": "TB 2026-11-27 - .php file written under a modules directory by Apache (Drupal, Cortex XDR)",
   "type": "PERSISTENCE",
   "severity": "SEV_040_HIGH",
   "comment": "Creation of a .php file under a /modules/ directory by the Apache process: this is how the reopened installer plants a SQLite database named .php (e.g. web/modules/x.php) that holds PHP code. Complements the 20/11 query on settings.php. Logic (file): action_file_path contains /modules/ AND action_file_name ~= .php$ AND actor_process_image_name in apache2, httpd. Experimental BIOC from Threat Brief (https://tlpclear.fr/detections/2026-11-27), 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_path",
         "SEARCH_TYPE": "CONTAINS",
         "SEARCH_VALUE": "/modules/"
        },
        {
         "SEARCH_FIELD": "action_file_name",
         "SEARCH_TYPE": "REGEX",
         "SEARCH_VALUE": "(?i).*.php"
        },
        {
         "OR": [
          {
           "SEARCH_FIELD": "actor_process_image_name",
           "SEARCH_TYPE": "EQ",
           "SEARCH_VALUE": "apache2"
          },
          {
           "SEARCH_FIELD": "actor_process_image_name",
           "SEARCH_TYPE": "EQ",
           "SEARCH_VALUE": "httpd"
          }
         ]
        }
       ]
      }
     }
    }
   },
   "mitre_tactic_id_and_name": [
    "TA0003 - Persistence",
    "TA0001 - Initial Access"
   ],
   "mitre_technique_id_and_name": [
    "T1505.003 - Server Software Component: Web Shell",
    "T1190 - Exploit Public-Facing Application"
   ]
  },
  {
   "name": "TB 2026-11-22 - sitecustomize.py written by the MONAI Label service (Cortex XDR)",
   "type": "PERSISTENCE",
   "severity": "SEV_040_HIGH",
   "comment": "sitecustomize.py, loaded by Python at every start, written under the monailabel service: the Python reverse shell persistence planted by the Cairn agents through CVE-2026-133968. Logic (file): action_file_name = sitecustomize.py AND causality_actor_process_command_line contains monailabel. Experimental BIOC from Threat Brief (https://tlpclear.fr/detections/2026-11-22), 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": "sitecustomize.py"
        },
        {
         "SEARCH_FIELD": "causality_actor_process_command_line",
         "SEARCH_TYPE": "CONTAINS",
         "SEARCH_VALUE": "monailabel"
        }
       ]
      }
     }
    }
   },
   "mitre_tactic_id_and_name": [
    "TA0003 - Persistence",
    "TA0004 - Privilege Escalation",
    "TA0001 - Initial Access"
   ],
   "mitre_technique_id_and_name": [
    "T1546.018 - Event Triggered Execution: Python Startup Hooks",
    "T1190 - Exploit Public-Facing Application"
   ]
  },
  {
   "name": "TB 2026-11-13 - xvd persistence or XMRig miner on the N-central appliance",
   "type": "PERSISTENCE",
   "severity": "SEV_040_HIGH",
   "comment": "New compared with the nable rules of 10 and 12/11: artefacts reported by Huntback after 4EverAble2Shell (/tmp/.xvd or /var/tmp/.xvd files, xvd.service) and the XMRig miner. Logic (process): action_process_image_command_line contains /tmp/.xvd OR action_process_image_command_line contains xvd.service OR action_process_image_name contains xmrig. Experimental BIOC from Threat Brief (https://tlpclear.fr/detections/2026-11-13), DRL 1.1: test before enabling.",
   "status": "disabled",
   "is_xql": false,
   "indicator": {
    "runOnCGO": true,
    "investigationType": "PROCESS_EXECUTION_EVENT",
    "investigation": {
     "PROCESS_EXECUTION_EVENT": {
      "filter": {
       "AND": [
        {
         "OR": [
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "/tmp/.xvd"
          },
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "xvd.service"
          },
          {
           "SEARCH_FIELD": "action_process_image_name",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "xmrig"
          }
         ]
        }
       ]
      }
     }
    }
   },
   "mitre_tactic_id_and_name": [
    "TA0003 - Persistence",
    "TA0004 - Privilege Escalation",
    "TA0040 - Impact"
   ],
   "mitre_technique_id_and_name": [
    "T1543.002 - Create or Modify System Process: Systemd Service",
    "T1496 - Resource Hijacking",
    "T1190 - Exploit Public-Facing Application"
   ]
  },
  {
   "name": "TB 2026-10-31 - Suspicious shell spawned by a PHP worker",
   "type": "INFILTRATION",
   "severity": "SEV_040_HIGH",
   "comment": "PHP2Shell post-exploitation: shell child of php-fpm, php-cgi, lsphp, or Apache with curl, wget, /dev/tcp, or base64 -d (Elastic and Unit 42 logic). Logic (process): (actor_process_image_name in php-fpm, php-cgi, lsphp, frankenphp, httpd, apache2 OR actor_process_image_name ~= ^php-fpm) AND action_process_image_name in sh, bash, dash, zsh, ksh AND (action_process_image_command_line contains curl OR action_process_image_command_line contains wget OR action_process_image_command_line contains /dev/tcp OR action_process_image_command_line contains base64 -d OR action_process_image_command_line contains /etc/shadow). Experimental BIOC from Threat Brief (https://tlpclear.fr/detections/2026-10-31), DRL 1.1: test before enabling.",
   "status": "disabled",
   "is_xql": false,
   "indicator": {
    "runOnCGO": true,
    "investigationType": "PROCESS_EXECUTION_EVENT",
    "investigation": {
     "PROCESS_EXECUTION_EVENT": {
      "filter": {
       "AND": [
        {
         "OR": [
          {
           "SEARCH_FIELD": "actor_process_image_name",
           "SEARCH_TYPE": "EQ",
           "SEARCH_VALUE": "php-fpm"
          },
          {
           "SEARCH_FIELD": "actor_process_image_name",
           "SEARCH_TYPE": "EQ",
           "SEARCH_VALUE": "php-cgi"
          },
          {
           "SEARCH_FIELD": "actor_process_image_name",
           "SEARCH_TYPE": "EQ",
           "SEARCH_VALUE": "lsphp"
          },
          {
           "SEARCH_FIELD": "actor_process_image_name",
           "SEARCH_TYPE": "EQ",
           "SEARCH_VALUE": "frankenphp"
          },
          {
           "SEARCH_FIELD": "actor_process_image_name",
           "SEARCH_TYPE": "EQ",
           "SEARCH_VALUE": "httpd"
          },
          {
           "SEARCH_FIELD": "actor_process_image_name",
           "SEARCH_TYPE": "EQ",
           "SEARCH_VALUE": "apache2"
          },
          {
           "SEARCH_FIELD": "actor_process_image_name",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i)php-fpm.*"
          }
         ]
        },
        {
         "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": "zsh"
          },
          {
           "SEARCH_FIELD": "action_process_image_name",
           "SEARCH_TYPE": "EQ",
           "SEARCH_VALUE": "ksh"
          }
         ]
        },
        {
         "OR": [
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "curl"
          },
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "wget"
          },
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "/dev/tcp"
          },
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "base64 -d"
          },
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "/etc/shadow"
          }
         ]
        }
       ]
      }
     }
    }
   },
   "mitre_tactic_id_and_name": [
    "TA0001 - Initial Access",
    "TA0003 - Persistence",
    "TA0002 - Execution"
   ],
   "mitre_technique_id_and_name": [
    "T1190 - Exploit Public-Facing Application",
    "T1505.003 - Server Software Component: Web Shell",
    "T1059.004 - Command and Scripting Interpreter: Unix Shell"
   ]
  }
 ]
}