Back to results

Web Application Spawning Interpreted Script from Temporary Directory (Container Noexec Bypass)

Detects web server processes (php-fpm, apache2, httpd, caddy) spawning scripting interpreters (sh, bash, python, perl) with target scripts located in temporary or volatile memory directories (/tmp, /dev/shm,…

Description

Detects web server processes (php-fpm, apache2, httpd, caddy) spawning scripting interpreters (sh, bash, python, perl) with target scripts located in temporary or volatile memory directories (/tmp, /dev/shm, /var/tmp). This pattern bypasses filesystem noexec mount restrictions present in containerized environments during web RCE post-exploitation.

Detection logic

Detection requirements

Platform
ContainersESXiIaaSIdentity ProviderLinuxmacOSNetwork DevicesOffice SuiteSaaSWindows

The rule states no platform. This is derived from the 0 ATT&CK techniques it maps to.

Detections can measure how the public catalogue is used — which detections people look for, and which pages bring them here. It sets a cookie that recognises this browser for 180 days. It is never linked to an account and never follows you to other sites. Privacy notice