Quick Bash check for suspicious processes related to php2shell (CVE-2026-109618 / CVE-2026-109619), based on the detection guidance in the Huntress post: https://www.huntress.com/blog/php2shell-leaked-critical-php-vulnerabilities
- Shells, interpreters, download tools or recon commands started by PHP or the web server. This means
sh,bash,python,perl,curl,wget,nc,socat,id,whoamiorunamewithphp-fpm,php-cgi,lsphp,httpd,apache2ornginxanywhere up to 10 levels above it. - Reverse-shell command lines:
/dev/tcp/,/dev/udp/,fsockopen,mkfifo,bash -i,sh -iornc -e. - The
!notwrtbl!marker from the related PHP FastCGI incident described in the post.