Sigma · CVE exploitation
PHP web stack: PHP worker spawned a shell or download tool
- severity
- medium
- confidence
- 70/100
- generated
- 14 Nov 2026
A PHP worker (php-fpm, php-cgi, LiteSpeed lsphp, or Apache running mod_php) started a shell, script interpreter or download tool. That is what a successful remote code execution does next on any SAPI, whatever the bug in PHP or in the PHP application turns out to be. Not specific to one bug: it fires on code execution through the PHP web stack by any route. Attached to the 11 CVEs in this stack that skopnix reported in the last 30 days, newest CVE-2026-119977, CVE-2026-116606, CVE-2026-114625.
False-positive notes
Needs a PHP worker or mod_php Apache as the PARENT and a shell / interpreter / downloader as the child. PHP mail() (sh -c sendmail / msmtp / exim / postdrop) and Apache piped logging (rotatelogs, cronolog) are excluded. The PHP command-line binary is not a parent on purpose (cron jobs and artisan / wp-cli run it all day and it is not reachable from the network). Legitimate exec() calls in an application still match: hunt for a week and baseline them before alerting.
References
- skopnix.com/cve/CVE-2026-119977 ↗
- skopnix.com/cve/CVE-2026-116606 ↗
- skopnix.com/cve/CVE-2026-114625 ↗
- skopnix.com/cve/CVE-2026-111560 ↗
- skopnix.com/cve/CVE-2026-110447 ↗
- skopnix.com/cve/CVE-2026-109619 ↗
- skopnix.com/cve/CVE-2026-109618 ↗
- skopnix.com/cve/CVE-2026-104736 ↗
- skopnix.com/cve/CVE-2026-103849 ↗
- skopnix.com/cve/CVE-2026-102764 ↗
- skopnix.com/cve/CVE-2026-48356 ↗
title: 'Skopnix - PHP web stack: PHP worker spawned a shell or download tool'id: d9eb681b-c53b-5aef-865b-b46e47f76c43status: experimentaldescription: 'A PHP worker (php-fpm, php-cgi, LiteSpeed lsphp, or Apache running mod_php) started a shell, script interpreter or download tool. That is what a successful remote code execution does next on any SAPI, whatever the bug in PHP or in the PHP application turns out to be. Not specific to one bug: it fires on code execution through the PHP web stack by any route. Attached to the 11 CVEs in this stack that skopnix reported in the last 30 days, newest CVE-2026-119977, CVE-2026-116606, CVE-2026-114625.'references: - https://skopnix.com/cve/CVE-2026-119977 - https://skopnix.com/cve/CVE-2026-116606 - https://skopnix.com/cve/CVE-2026-114625 - https://skopnix.com/cve/CVE-2026-111560 - https://skopnix.com/cve/CVE-2026-110447 - https://skopnix.com/cve/CVE-2026-109619 - https://skopnix.com/cve/CVE-2026-109618 - https://skopnix.com/cve/CVE-2026-104736 - https://skopnix.com/cve/CVE-2026-103849 - https://skopnix.com/cve/CVE-2026-102764 - https://skopnix.com/cve/CVE-2026-48356author: skopnixdate: '2026-11-14'tags: - attack.execution - attack.t1190 - attack.t1059.004 - attack.t1059.003 - attack.t1505.003 - cve.2026-119977 - cve.2026-116606 - cve.2026-114625 - cve.2026-111560 - cve.2026-110447 - cve.2026-109619 - cve.2026-109618 - cve.2026-104736 - cve.2026-103849 - cve.2026-102764 - cve.2026-48356logsource: category: process_creationdetection: selection_parent: ParentImage|re|i: '[/\\](php-fpm[0-9.]*|php-cgi[0-9.]*(\.exe)?|lsphp[0-9]*|frankenphp|apache2|httpd(\.exe)?)$' selection_child: Image|re|i: '[/\\](sh|bash|dash|zsh|ksh|busybox|curl|wget|nc|ncat|netcat|socat|perl|ruby|python[0-9.]*|cmd\.exe|powershell\.exe|pwsh\.exe|certutil\.exe|bitsadmin\.exe|mshta\.exe|rundll32\.exe|regsvr32\.exe|wscript\.exe|cscript\.exe)$' filter_mail_logs: CommandLine|contains: - sendmail - msmtp - exim - postdrop - rotatelogs - cronolog condition: selection_parent and selection_child and not filter_mail_logsfalsepositives: - Applications that call exec()/system() by design (image converters, git deploy hooks, backup plugins); baseline by parent pool and command line - Apache piped logging (rotatelogs, cronolog) is excluded; other piped programs may need addinglevel: mediumskopnix-sigma-cve-stack-php-worker-shell-6ddfd365.yml
How to deploy on Sigma
- Step 1
- Convert for your SIEM with sigma-cli / pySigma, e.g. sigma convert -t splunk -p sysmon rule.yml.
- Step 2
- Run it as a hunt first: every rule ships as status experimental.
- Step 3
- Promote to an alert once a week of results is clean on your data.
- Check
- The processing pipeline must map the logsource (firewall, dns, proxy, webserver, process_creation) to your field names.