// ===== file_event_lnx_drupal_settings_php.yml (no_pipeline)
TargetFilename contains "/sites/" and TargetFilename endswith "/settings.php"
// ===== file_event_lnx_drupal_sites_php.yml (no_pipeline)
TargetFilename contains "/sites/" and (TargetFilename endswith ".php" or TargetFilename endswith ".phtml" or TargetFilename endswith ".phar")
// ===== file_event_win_drupal_settings_php.yml (no_pipeline)
TargetFilename contains "\\sites\\" and TargetFilename endswith "\\settings.php"
// ===== net_connection_lnx_drupal_php_outbound.yml (no_pipeline)
((Image endswith "/php-fpm" or Image endswith "/php" or Image endswith "/php-cgi" or Image endswith "/lsphp" or Image endswith "/apache2" or Image endswith "/httpd") and Initiated =~ "true") and (not((ipv4_is_in_range(DestinationIp, "127.0.0.0/8") or ipv4_is_in_range(DestinationIp, "10.0.0.0/8") or ipv4_is_in_range(DestinationIp, "172.16.0.0/12") or ipv4_is_in_range(DestinationIp, "192.168.0.0/16"))))
// ===== proc_creation_lnx_drupal_drush_user_change.yml (no_pipeline)
CommandLine contains "drush" and (CommandLine contains "user:password" or CommandLine contains " upwd" or CommandLine contains "user:login" or CommandLine contains " uli" or CommandLine contains "user:create" or CommandLine contains "user:unblock" or CommandLine contains "user:role:add" or CommandLine contains "site:install")
// ===== proc_creation_lnx_drupal_web_shell.yml (no_pipeline)
(ParentImage endswith "/apache2" or ParentImage endswith "/httpd" or ParentImage endswith "/nginx" or ParentImage endswith "/php-fpm" or ParentImage endswith "/php" or ParentImage endswith "/php-cgi" or ParentImage endswith "/lsphp" or ParentImage endswith "/litespeed") and (Image endswith "/sh" or Image endswith "/bash" or Image endswith "/dash" or Image endswith "/zsh" or Image endswith "/python" or Image endswith "/python3" or Image endswith "/perl" or Image endswith "/curl" or Image endswith "/wget" or Image endswith "/nc" or Image endswith "/ncat" or Image endswith "/socat" or Image endswith "/base64")
// ===== proc_creation_win_drupal_web_shell.yml (no_pipeline)
(ParentImage endswith "\\w3wp.exe" or ParentImage endswith "\\php-cgi.exe" or ParentImage endswith "\\php.exe" or ParentImage endswith "\\nginx.exe" or ParentImage endswith "\\httpd.exe") and (Image endswith "\\cmd.exe" or Image endswith "\\powershell.exe" or Image endswith "\\pwsh.exe" or Image endswith "\\curl.exe" or Image endswith "\\certutil.exe")
// ===== webserver_drupal_install_php_post.yml (no_pipeline)
'cs-method' =~ "POST" and (''cs-uri-stem'' contains "/core/install.php" or ''cs-uri-stem'' contains "/install.php")
// ===== webserver_drupal_install_php_request.yml (no_pipeline)
''cs-uri-stem'' contains "/core/install.php" or ''cs-uri-stem'' contains "/install.php"
