PHP2Shell Apache mod_php worker spawning sh -c via system() at request shutdown
Detects web server or PHP worker processes spawning a shell (sh, bash, dash) with the -c parameter under web user accounts, potentially indicating code execution or webshell activity such as the PHP2Shell fake-array destructor hijack.
Microsoft Sentinel (KQL)

