Serialized PHP Token in Upload Filename - Suricata
This analytic detects multipart POST traffic with a serialized PHP structure in an uploaded filename, which may indicate an attempt to exploit PHP session upload-progress handling and can be associated with PHP2Shell…
Description
This analytic detects multipart POST traffic with a serialized PHP structure in an uploaded filename, which may indicate an attempt to exploit PHP session upload-progress handling and can be associated with PHP2Shell activity. Suricata EVE's standard HTTP events do not expose multipart form field names, so this Suricata variant cannot confirm the PHP_SESSION_UPLOAD_PROGRESS field without additional request-body inspection.
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
- suricata
Known benign triggers
- Applications may upload files with names containing serialized-looking text as part of testing or unusual workflows. Review the filename, source, destination, and application context before determining intent.
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.suricata.io/en/suricata-8.0.3/output/eve/eve-json-output.html | Only this detection cites it |
| github.com/php/php-src/commit/3584a98bda0f2c0d367255b046798b0d3a221a19 | 7 |
| www.php2shell.com | 11 |
From the source
- At source
- Open at source
- Upstream identifier
- f5abaeab-eabd-4b8a-bc62-ec3d3722e4fe
- 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 29, 2026
- Version
- 1