WordPress wp2shell PoC User-Agent HTTP Requests
Alerts on web requests with User-Agent exactly equal to "wp2shell", matching wp2shell PoC behavior.
- Category
- webserver
- Author
- Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ), DRL 1.1
- Published
- 2026-07-19
- Updated
- 2026-07-31
ATT&CK techniques
Initial AccessRecon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule identifies webserver HTTP requests where the User-Agent header is hardcoded to "wp2shell", matching activity from the wp2shell proof-of-concept tool. Attackers use this PoC during exploitation attempts against vulnerable WordPress targets, so the distinctive User-Agent can provide a strong indicator of malicious probing or exploitation workflow. It relies on webserver access logging that captures the HTTP request User-Agent field.
Reporting behind it
- github.comhttps://github.com/Icex0/wp2shell-poc
- slcyber.iohttps://slcyber.io/research-center/wp2shell-pre-authentication-rce-in-wordpress-core/
- wordpress.orghttps://wordpress.org/news/2026/07/wordpress-7-0-2-release/
- github.comhttps://github.com/SigmaHQ/sigma/blob/master/rules-emerging-threats/2026/Exploits/CVE-2026-63030/web_exploit_cve_2026_63030_wp2shell_tool_useragent.yml
Changelog
v5- v5Candidate ingested via manual entry.2026-07-31
- v4Candidate ingested via manual entry.2026-07-31
- v3Candidate ingested via manual entry.2026-07-31
- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: WordPress wp2shell PoC User-Agent HTTP Requests
id: 9a6d45a4-1721-4f0c-8006-260eda807644
status: experimental
description: This rule identifies webserver HTTP requests where the User-Agent header is hardcoded to "wp2shell", matching activity from the wp2shell proof-of-concept tool. Attackers use this PoC during exploitation attempts against vulnerable WordPress targets, so the distinctive User-Agent can provide a strong indicator of malicious probing or exploitation workflow. It relies on webserver access logging that captures the HTTP request User-Agent field.
references:
- https://github.com/Icex0/wp2shell-poc
- https://slcyber.io/research-center/wp2shell-pre-authentication-rce-in-wordpress-core/
- https://wordpress.org/news/2026/07/wordpress-7-0-2-release/
- https://github.com/SigmaHQ/sigma/blob/master/rules-emerging-threats/2026/Exploits/CVE-2026-63030/web_exploit_cve_2026_63030_wp2shell_tool_useragent.yml
author: Swachchhanda Shrawan Poudel (Nextron Systems), Huntrule Team
date: 2026-07-19
tags:
- attack.initial-access
- attack.t1190
- cve.2026-63030
- cve.2026-60137
- detection.emerging-threats
logsource:
category: webserver
detection:
selection:
cs-user-agent: wp2shell
condition: selection
falsepositives:
- Unlikely
level: high
license: DRL-1.1
related:
- id: a7c4e2f9-1b38-4d5c-9e72-3f4a5b6c7d8e
type: derived