// ===== file_event_lnx_drupal_settings_php.yml (azure_monitor)
SecurityEvent
| where ObjectName contains "/sites/" and ObjectName endswith "/settings.php"
// ===== file_event_lnx_drupal_sites_php.yml (azure_monitor)
SecurityEvent
| where ObjectName contains "/sites/" and (ObjectName endswith ".php" or ObjectName endswith ".phtml" or ObjectName endswith ".phar")
// ===== file_event_win_drupal_settings_php.yml (azure_monitor)
SecurityEvent
| where ObjectName endswith "\\sites*" and ObjectName endswith "\\settings.php"
// ===== net_connection_lnx_drupal_php_outbound.yml (azure_monitor)
SecurityEvent
| where (NewProcessName endswith "/php-fpm" or NewProcessName endswith "/php" or NewProcessName endswith "/php-cgi" or NewProcessName endswith "/lsphp" or NewProcessName endswith "/apache2" or NewProcessName endswith "/httpd") 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 (azure_monitor)
SecurityEvent
| where 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 (azure_monitor)
SecurityEvent
| where (ParentProcessName endswith "/apache2" or ParentProcessName endswith "/httpd" or ParentProcessName endswith "/nginx" or ParentProcessName endswith "/php-fpm" or ParentProcessName endswith "/php" or ParentProcessName endswith "/php-cgi" or ParentProcessName endswith "/lsphp" or ParentProcessName endswith "/litespeed") and (NewProcessName endswith "/sh" or NewProcessName endswith "/bash" or NewProcessName endswith "/dash" or NewProcessName endswith "/zsh" or NewProcessName endswith "/python" or NewProcessName endswith "/python3" or NewProcessName endswith "/perl" or NewProcessName endswith "/curl" or NewProcessName endswith "/wget" or NewProcessName endswith "/nc" or NewProcessName endswith "/ncat" or NewProcessName endswith "/socat" or NewProcessName endswith "/base64")
// ===== proc_creation_win_drupal_web_shell.yml (azure_monitor)
SecurityEvent
| where (ParentProcessName endswith "\\w3wp.exe" or ParentProcessName endswith "\\php-cgi.exe" or ParentProcessName endswith "\\php.exe" or ParentProcessName endswith "\\nginx.exe" or ParentProcessName endswith "\\httpd.exe") and (NewProcessName endswith "\\cmd.exe" or NewProcessName endswith "\\powershell.exe" or NewProcessName endswith "\\pwsh.exe" or NewProcessName endswith "\\curl.exe" or NewProcessName endswith "\\certutil.exe")
// ===== webserver_drupal_install_php_post.yml (azure_monitor)
// CONVERSION FAILED: Error: Error while converting: Unable to determine table name from rule.  The query table is determined in the following order of priority:
// ===== webserver_drupal_install_php_request.yml (azure_monitor)
// CONVERSION FAILED: Error: Error while converting: Unable to determine table name from rule.  The query table is determined in the following order of priority:
