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.
MITRE ATT&CK mappings
Not mapped to ATT&CK.
No references are available for this detection.
Licence
- Published under
- MIT LicenseRead the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Oct 22, 2026
- Version
- 1
See also
2,920 rated high