Web shell dropped by web server process then spawning shell (PHP/Node.js)

Detects a potential web shell by identifying a web server or runtime process creating or modifying a script file (PHP, JS, MJS) in a web-accessible directory, followed closely by the same web server process spawning a shell or command interpreter.