Malicious wp2shell WordPress Web Shell via PHP Drop to Plugin Directory

PremiumReviewedSigma · High · v1
Product
linux
Category
file_event
Author
HuntRule
Published
2026-06-05
Updated
2026-08-28

ATT&CK techniques

Persistence
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Priv Esc

  6. Defense Evasion

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule detects a PHP file written into a wp2shell plugin directory which is the web shell installed by the pre-auth WordPress RCE before command execution. Attackers drop the malicious plugin to gain a persistent server-side foothold. A PHP file appearing under this specific plugin path is a high-confidence web shell indicator.

Related detections9 linkedT1505.003 — drag to rearrange
Possible Citrix ShareFile Unauthenticated Upload Path Traversal Webshell (CVE-2023-24489) (via webserver)
Possible Unauthenticated Admin Creation in Dynamicweb CVE-2022-25369
Possible DotCMS Path Traversal Webshell Upload via content API CVE-2022-26352
Possible Avaya Aura Device Services WebDAV PHP Webshell Upload via PhoneBackup (via webserver)
Possible DotCMS Arbitrary File Upload and JSP Webshell Drop via api content (via webserver)
Malicious Dynamicweb Unauthenticated Administrator Creation via Setup Default.aspx (via webserver)
Possible PHP Webshell Access After Malicious ZIP Upload (via webserver)
Possible Oracle Opera CGI Webshell Command Execution via operabin
Possible Pre-Auth Webshell Upload via Oracle Opera FileReceiver Servlet
Malicious wp2shell WordPress Web Shell via PHP Drop to Plugin Directory
Pivot detection · T1505.003 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.