PHP Session Upload Progress with PHP Code in Upload Filename
This analytic detects multipart POST requests containing a PHPSESSID form field and an uploaded filename with a PHP opening tag. When observed with "PHP_SESSION_UPLOAD_PROGRESS" behavior, this may indicate an attempt…
Description
This analytic detects multipart POST requests containing a PHPSESSID form field and an uploaded filename with a PHP opening tag. When observed with "PHP_SESSION_UPLOAD_PROGRESS" behavior, this may indicate an attempt to place executable PHP content into session-related data as part of PHP2Shell exploitation.
Detection logic
Detection requirements
- Platform
- ContainersESXiIaaSLinuxmacOSNetwork DevicesWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- zeek_http
Known benign triggers
- Security testing tools or development environments may upload files with PHP code in the filename. Review the request headers, destination application, and any follow-on requests or server-side execution evidence.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| docs.zeek.org/en/master/logs/http.html | 4 |
| github.com/php/php-src/commit/3584a98bda0f2c0d367255b046798b0d3a221a19 | 4 |
| www.php2shell.com | 5 |
From the source
- At source
- Open at source
- Upstream identifier
- e50cc2d0-7c71-4a2f-83dc-5ee6d4bb76a7
- Tagged by the source as
- PHP2ShellWeb ApplicationwebSplunk CloudSplunk EnterpriseSplunk Enterprise Securitynetwork
Licence
- Published under
- Apache License 2.0Read the licence
- Attribution
- Required
- Obtained under
- Apache-2.0Read the origin licence
Authorship
- Published
- Oct 23, 2026
- Version
- 1