Cisco Secure Firewall - PHP2Shell Suspicious Upload Activity
Description
This analytic detects suspicious PHP web application upload activity using Cisco Secure Firewall Threat Defense Intrusion Events. The matching network signature identifies a request pattern associated with attempts to exhaust server resources through PHP session handling. Investigate the source, targeted application, and related web server activity to determine whether the request was part of PHP2Shell exploitation.
Query · spl
`cisco_secure_firewall` EventType=IntrusionEvent SignatureID=67360
| fillnull
| stats min(_time) as firstTime
max(_time) as lastTime
values(SignatureID) as SignatureID
values(signature) as signature
values(class_desc) as class_desc
values(MitreAttackGroups) as MitreAttackGroups
values(InlineResult) as InlineResult
values(InlineResultReason) as InlineResultReason
values(src) as src
values(dest_port) as dest_port
values(rule) as rule
values(transport) as transport
values(app) as app
by dest
| `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)`
| `cisco_secure_firewall___php2shell_suspicious_upload_activity_filter`
Implementation guide
This search requires Cisco Secure Firewall Threat Defense logs with IntrusionEvent data.
It uses the cisco_secure_firewall input macro, configure it for your environment (index, source, sourcetype).
Ensure intrusion events are collected via the Splunk Add-on for Cisco Security Cloud (https://splunkbase.splunk.com/app/7404) and that the relevant intrusion policy is enabled.
Known false positives
- Approved load testing or unusual multipart uploads may trigger this signature. Review the request context and the targeted service.
Analyst notes
Known false positives: Approved load testing or unusual multipart uploads may trigger this signature. Review the request context and the targeted service.