← All playbooks
CriticalExploited vuln · 2026-11-28

WP Rocket CVE-2026-125812: unauthenticated rocket_beacon RCE exploited at scale to plant PHP webshells on WordPress sites

SockAnalyst · by Mario Velasco Jr., CompTIA Security+ CE

⚡ Triage: do you need this playbook?

If any row below is true in your environment, work this playbook. Start at the row that matches.

If you see this…Look hereIt meansDo this
WP Rocket 3.15 through 3.24.1 with LazyLoad for CSS background images or Self-host Google Fonts onPlugins page; WP Rocket settingsExposed to the exploited pre-auth RCEUpdate to 3.24.2+
Unexpected PHP files in wp-content/wp-rocket-config/, wp-content/uploads/ or wp-content/ (e.g. wp-media-*.php)Web server file listingWebshell planted (updating does not remove it)Persistence check, then IR
rocket_beacon requests to admin-ajax.php from the Patchstack IPs or clients that never loaded the pageWeb access logs since Nov 25Exploitation attemptsRun the IR branch
Severity: CriticalCISA KEV: not listedEPSS: CVE-2026-125812 0.01 (2026-11-28)Vendor advisory: Security advisory and mitigation steps for CVE-2026-125812Vendor-published IOCs: Patchstack published 10 IPsLast verified against vendor: 2026-11-28

EPSS is FIRST.org's estimated chance of exploitation in the next 30 days; CISA KEV status (confirmed exploitation) is the stronger signal. Which playbook do I need? See every signal →

🧭 Are you affected? Quick exposure check

  • Which WordPress sites run WP Rocket?
  • Is either affected feature enabled?
  • Is the license expired (blocking updates)?

What happened

WP Rocket, a WordPress caching plugin Patchstack counts at more than 5.5 million installs, has an unauthenticated remote code execution flaw, CVE-2026-125812, that attackers are exploiting in the wild. WP Rocket runs a small script in visitors' browsers that measures each page and reports the results to the public AJAX endpoint (POST /wp-admin/admin-ajax.php with action=rocket_beacon); the plugin then uses the reported URLs to optimize the page but does not validate them strictly enough, so a crafted report can make the site download content from an attacker's server and save it as a PHP file, which then runs. Only two optional features expose it: LazyLoad for CSS background images and self-hosting Google Fonts (both off by default). WP Rocket fixed it in 3.24.2, released November 19, 2026, and published an advisory with mitigation steps on November 27. Patchstack (researcher Dave Jong) rates it CVSS 9.8 and reported on November 27 that the first exploitation attempt hit at 15:27 UTC on November 25, 2026; within a day it became automated campaigns, with tens of thousands of blocked attempts on November 26 alone from several independent operators. Payloads are hosted on bare IP addresses, nip.io wildcard names, temporary trycloudflare.com tunnels and other, probably compromised, WordPress sites. Patchstack published the ten most active source IPs (below). CVE-2026-125812 is not in the CISA KEV catalog as of the November 27 release.

Who's affected

Any WordPress site running WP Rocket 3.15 through 3.24.1 with LazyLoad for CSS background images or Self-host Google Fonts enabled, including sites whose license expired and stopped receiving updates. Agencies, hosting providers and MSPs that manage many WordPress sites should check their whole estate: exploitation has run since November 25.

✅ Fix / patch

  • Update WP Rocket to 3.24.2 or later on every site (Plugins > WP Rocket > Update now) and confirm the installed version.
  • If you cannot update yet (for example an expired license): in WP Rocket > Page Optimization > Image & Media (the Media tab before 3.24) turn off LazyLoad for CSS background images and Self-host Google Fonts, save, and confirm both are off. For many sites, WP Rocket offers a mitigation helper plugin you can push with WP-CLI.
  • Updating does not remove files an attacker already planted. If either feature was on while a vulnerable version ran, check wp-content/wp-rocket-config/, wp-content/uploads/ and the top of wp-content/ for unexpected PHP files (Patchstack names wp-media-*.php as an example), and review historical logs.
  • Look for compromise beyond the webshell: new or changed administrator accounts (also read the users table directly), changes to wp-config.php secrets, and outbound connections from the web server. If you find a planted file, treat the site as compromised: rotate database credentials, WordPress salts and any API keys in wp-config.php, and restore from a known-good backup.
  • Put a WAF rule in front of admin-ajax.php that blocks rocket_beacon reports carrying full external URLs, and block the Patchstack-listed IPs as a short-term measure (they include cloud and residential addresses that can change).

🕳️ Persistence check: did they stay after you patched?

Patching closes the hole. It does not remove accounts, keys, files or settings an attacker added earlier. Check these, in order. Each row shows where the idea came from (click the tag for the source).

ATT&CKWhat to look forWhere to checkBasis
T1505.003
Web Shell
PHP webshells such as wp-media-*.php.wp-content/wp-rocket-config/, wp-content/uploads/, wp-content/.Threat research

Honest limits: Also check for new or changed administrator accounts.

Green tags are published by the linked source. Amber tags are SockAnalyst's own mapping or guidance. Technique names come from MITRE ATT&CK.

🚨 Compromised already? Do this

Run this if a red triage row is true or the persistence check finds anything.

  1. Update WP Rocket to 3.24.2 or later. Vendor advisory
  2. If you cannot update, turn off LazyLoad for CSS background images and Self-host Google Fonts. Vendor advisory
  3. Search for and remove unexpected PHP files, and review administrator accounts. Threat research

🧰 Vendor tools and logs to collect

Logs to collect and keep:

  • Web server access logs.
  • WordPress file listing and users table.

🔎 Quick hunt check

Patchstack published the ten most active attacker IPs (below) and these signs: rocket_beacon requests (POST /wp-admin/admin-ajax.php, action=rocket_beacon) from clients that never loaded the page they report on, or that report full URLs where WP Rocket expects bare domains; outbound requests from the web server to unfamiliar hosts, nip.io names or trycloudflare.com tunnels; and unexpected PHP files in wp-content/wp-rocket-config/, wp-content/uploads/ or directly in wp-content/ (e.g. wp-media-*.php). Most access logs do not record POST bodies, so action=rocket_beacon may only be visible in WAF logs. WP Rocket legitimately writes its own <your-domain>.php config files in wp-rocket-config and advanced-cache.php in wp-content: exclude those.

MITRE ATT&CK: T1190, T1105, T1505.003

IOCs

  • IP addresses: 103[.]235[.]74[.]71, 157[.]245[.]122[.]230, 152[.]89[.]170[.]194, 180[.]232[.]236[.]101, 103[.]235[.]74[.]72, 201[.]79[.]120[.]217, 112[.]78[.]154[.]32, 167[.]71[.]75[.]155, 43[.]163[.]8[.]253, 51[.]79[.]199[.]209
  • Domains: *.nip[.]io (wildcard DNS used to host payloads; legitimate service), *.trycloudflare[.]com (temporary tunnels used to host payloads; legitimate service)
  • Files / paths: Unexpected PHP files in wp-content/wp-rocket-config/, wp-content/uploads/ or directly in wp-content/, e.g. wp-media-*.php

IPs are Patchstack's ten most active sources of blocked rocket_beacon exploitation attempts since Nov 25, 2026 (Nov 27 article); they include cloud and residential proxy addresses, so absence of these IPs proves nothing. No payload hashes or payload-hosting domains were published.

Hunt queries

Hunt logic (works with any SIEM)

Plain-English version of the hunt for teams on homegrown or other SIEM/SOAR tools. The tabs below implement the same logic.

Data source
Web server, reverse-proxy or WAF access logs; Linux file-creation events (auditd, Sysmon for Linux or EDR); Linux process-execution events (auditd, Sysmon for Linux or EDR).
What to look for
  • Hunts WP Rocket rocket_beacon AJAX requests (POST /wp-admin/admin-ajax.php, action=rocket_beacon) and requests from the ten most active exploitation sources Patchstack published for CVE-2026-125812. POST bodies are often not logged, so the action may only appear in WAF logs.
  • Hunts new PHP files in wp-content/wp-rocket-config/, wp-content/uploads/ or directly in wp-content/ (Patchstack example wp-media-*.php), where CVE-2026-125812 exploitation saves attacker code. Excludes common legitimate drop-ins; WP Rocket also writes <your-domain>.php config files in wp-rocket-config, exclude your domains.
  • Hunts shells, downloaders and tunnelling tools started by PHP-FPM, Apache or nginx, the follow-on behaviour of a webshell planted through CVE-2026-125812.
Key fields
URL path, URL query string, client IP, file path, parent process path, process path
IOCs
Published indicators are in the IOCs list above (10 IP addresses, 2 domains, 1 file/path indicator). IPs are Patchstack's ten most active sources of blocked rocket_beacon exploitation attempts since Nov 25, 2026 (Nov 27 article); they include cloud and residential proxy addresses, so absence of these IPs proves nothing. No payload hashes or payload-hosting domains were published.
False positives
Real visitors send rocket_beacon reports whenever WP Rocket's LazyLoad or font features are on, so treat a beacon hit as a lead only when the client never loaded the page it reports on or reports a full external URL. WP Rocket itself writes wp-rocket-config/<your-domain>.php and advanced-cache.php, and plugin or core updates write PHP under wp-content. Image tools and WP-CLI cron jobs can make PHP start a shell, so baseline per site.

These queries are starting points built only from published indicators. Field names and log sources differ in every environment, so test and tune them before you rely on them.

# Needs web server, reverse-proxy or WAF logs.
title: WP Rocket rocket_beacon request or Patchstack top attacker IP (CVE-2026-125812)
id: dae9259c-4e96-5dce-9709-91bf2ba70d7c
status: experimental
description: Hunts WP Rocket rocket_beacon AJAX requests (POST /wp-admin/admin-ajax.php, action=rocket_beacon) and requests from the ten most active exploitation sources Patchstack published for CVE-2026-125812. POST bodies are often not logged, so the action may only appear in WAF logs.
references:
  - https://wp-rocket.me/docs/wp-rocket-security-advisory-and-mitigation-steps-for-cve-2026-125812/
  - https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/
  - https://mspbusiness.com/en/security/patchwork-saturday-28-november/
  - https://sockanalyst.com/patch-now/wp-rocket-cve-2026-125812-rocket-beacon-unauthenticated-rce-exploited-webshells
author: SockAnalyst
date: 2026-11-28
tags:
  - attack.t1190
  - attack.t1105
  - attack.t1505.003
logsource:
  category: webserver
detection:
  selection_beacon:
    cs-uri-stem|endswith: /wp-admin/admin-ajax.php
    cs-uri-query|contains: rocket_beacon
  selection_ip:
    c-ip:
      - 103.235.74.71
      - 157.245.122.230
      - 152.89.170.194
      - 180.232.236.101
      - 103.235.74.72
      - 201.79.120.217
      - 112.78.154.32
      - 167.71.75.155
      - 43.163.8.253
      - 51.79.199.209
  condition: selection_beacon or selection_ip
falsepositives:
  - Real visitors trigger rocket_beacon on sites with WP Rocket optimizations; focus on clients that never loaded the reported page or report full external URLs
level: high
---
title: PHP file written under wp-content after WP Rocket CVE-2026-125812 exploitation
id: 9deb0ed0-18a6-5d28-ae33-8cc8d16bef6a
status: experimental
description: Hunts new PHP files in wp-content/wp-rocket-config/, wp-content/uploads/ or directly in wp-content/ (Patchstack example wp-media-*.php), where CVE-2026-125812 exploitation saves attacker code. Excludes common legitimate drop-ins; WP Rocket also writes <your-domain>.php config files in wp-rocket-config, exclude your domains.
references:
  - https://wp-rocket.me/docs/wp-rocket-security-advisory-and-mitigation-steps-for-cve-2026-125812/
  - https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/
  - https://mspbusiness.com/en/security/patchwork-saturday-28-november/
  - https://sockanalyst.com/patch-now/wp-rocket-cve-2026-125812-rocket-beacon-unauthenticated-rce-exploited-webshells
author: SockAnalyst
date: 2026-11-28
tags:
  - attack.t1190
  - attack.t1105
  - attack.t1505.003
logsource:
  category: file_event
  product: linux
detection:
  selection:
    TargetFilename|re: (?i)/wp-content/(wp-rocket-config/.*|uploads/.*|[^/]+)\.php$
  filter_dropins:
    TargetFilename|endswith:
      - /index.php
      - /advanced-cache.php
      - /object-cache.php
      - /db.php
  condition: selection and not filter_dropins
falsepositives:
  - WP Rocket's own wp-rocket-config/<your-domain>.php files and plugin updates
level: high
---
title: Shell or downloader spawned by the PHP web server (WP Rocket CVE-2026-125812 webshell)
id: e28b73f4-36aa-5351-b5a4-92a8fb92ba1d
status: experimental
description: Hunts shells, downloaders and tunnelling tools started by PHP-FPM, Apache or nginx, the follow-on behaviour of a webshell planted through CVE-2026-125812.
references:
  - https://wp-rocket.me/docs/wp-rocket-security-advisory-and-mitigation-steps-for-cve-2026-125812/
  - https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/
  - https://mspbusiness.com/en/security/patchwork-saturday-28-november/
  - https://sockanalyst.com/patch-now/wp-rocket-cve-2026-125812-rocket-beacon-unauthenticated-rce-exploited-webshells
author: SockAnalyst
date: 2026-11-28
tags:
  - attack.t1190
  - attack.t1105
  - attack.t1505.003
logsource:
  category: process_creation
  product: linux
detection:
  selection:
    ParentImage|endswith:
      - /php-fpm
      - /php
      - /php-cgi
      - /lsphp
      - /httpd
      - /apache2
      - /nginx
    Image|endswith:
      - /sh
      - /bash
      - /dash
      - /curl
      - /wget
      - /nc
      - /ncat
      - /gs-netcat
      - /python3
      - /perl
  condition: selection
falsepositives:
  - WordPress cron or plugins that shell out legitimately (e.g. image tools); baseline per site
level: high
```WP Rocket CVE-2026-125812 (rocket_beacon RCE, exploited since Nov 25, 2026): Patchstack's top attacker IPs, rocket_beacon requests, requests for and writes of PHP files under wp-content, web-server lookups of nip.io/trycloudflare.com. Needs web/WAF access logs (CIM Web) plus Sysmon for Linux or CIM Endpoint/Network_Resolution on the web servers.```
index=* earliest=11/25/2026:00:00:00 (tag=web OR sourcetype=access_combined OR sourcetype=apache:access OR sourcetype=nginx:* OR sourcetype=aws:waf OR sourcetype=cloudflare:json OR sourcetype="sysmon:linux" OR sourcetype="Syslog:Linux-Sysmon/Operational" OR tag=dns OR tag=endpoint)
| eval uri=lower(coalesce(uri, url, request, uri_path, "")), src=coalesce(src_ip, clientip, c_ip, ClientIP, src, ""), tgt=lower(coalesce(TargetFilename, file_path, "")), q=lower(coalesce(QueryName, query, "")), img=lower(coalesce(Image, process_path, process_name, ""))
| eval signal=case(
    in(src, "103.235.74.71", "157.245.122.230", "152.89.170.194", "180.232.236.101", "103.235.74.72", "201.79.120.217", "112.78.154.32", "167.71.75.155", "43.163.8.253", "51.79.199.209"), "patchstack_top_attacker_ip",
    like(uri, "%admin-ajax.php%") AND like(uri, "%rocket_beacon%"), "rocket_beacon_request",
    match(uri, "/wp-content/(wp-rocket-config/.*|uploads/.*|[^/]+)\\.php") AND NOT match(uri, "/(index|advanced-cache|object-cache|db)\\.php"), "php_under_wp_content_requested",
    match(tgt, "/wp-content/(wp-rocket-config/.*|uploads/.*|[^/]+)\\.php$") AND NOT match(tgt, "/(index|advanced-cache|object-cache|db)\\.php$"), "php_written_under_wp_content",
    match(q, "(\\.nip\\.io|\\.trycloudflare\\.com)$") AND match(img, "(php|httpd|apache2|nginx)"), "web_server_lookup_nip_io_or_trycloudflare",
    true(), null())
| where isnotnull(signal)
| stats count min(_time) as first max(_time) as last values(signal) as signals values(uri) as uris values(tgt) as files values(q) as lookups by host, src
| convert ctime(first) ctime(last)
| sort - count
``` Most access logs omit POST bodies, so action=rocket_beacon may only show in WAF logs. wp-rocket-config/<your-domain>.php is WP Rocket's own config file: exclude your site domains. ```
// WP Rocket CVE-2026-125812 (rocket_beacon RCE, exploited since Nov 25, 2026): PHP written under wp-content, shells and nip.io/trycloudflare lookups from the web server, Patchstack's top attacker IPs.
// Needs Defender for Endpoint on the web servers (Device* tables) and WAF/firewall logs in CommonSecurityLog. Exclude WP Rocket's own wp-rocket-config/<your-domain>.php files.
let Since = datetime(2026-11-25);
let TopIPs = dynamic(["103.235.74.71", "157.245.122.230", "152.89.170.194", "180.232.236.101", "103.235.74.72", "201.79.120.217", "112.78.154.32", "167.71.75.155", "43.163.8.253", "51.79.199.209"]);
let WebProcs = dynamic(["php-fpm","php-fpm8.1","php-fpm8.2","php-fpm8.3","php-fpm8.4","php","php-cgi","lsphp","httpd","apache2","nginx","php-cgi.exe","php.exe","w3wp.exe"]);
let Files = DeviceFileEvents
| where TimeGenerated >= Since and ActionType in ("FileCreated", "FileModified", "FileRenamed") and FileName endswith ".php"
| where FolderPath matches regex @"(?i)[\\/]wp-content[\\/](wp-rocket-config[\\/].*|uploads[\\/].*|[^\\/]+)\.php$"
| where FileName !in~ ("index.php", "advanced-cache.php", "object-cache.php", "db.php")
| project TimeGenerated, DeviceName, Signal = "php_written_under_wp_content", Detail = FolderPath, Actor = InitiatingProcessFileName, IP = "";
let Shells = DeviceProcessEvents
| where TimeGenerated >= Since and InitiatingProcessFileName in~ (WebProcs) and FileName in~ ("sh","bash","dash","curl","wget","nc","ncat","gs-netcat","python","python3","perl","cmd.exe","powershell.exe")
| project TimeGenerated, DeviceName, Signal = "shell_from_web_server", Detail = ProcessCommandLine, Actor = InitiatingProcessFileName, IP = "";
let Net = DeviceNetworkEvents
| where TimeGenerated >= Since
| where RemoteIP in (TopIPs) or (InitiatingProcessFileName in~ (WebProcs) and (RemoteUrl endswith ".nip.io" or RemoteUrl endswith ".trycloudflare.com"))
| project TimeGenerated, DeviceName, Signal = iff(RemoteIP in (TopIPs), "patchstack_top_attacker_ip", "web_server_to_nip_io_or_trycloudflare"), Detail = RemoteUrl, Actor = InitiatingProcessFileName, IP = RemoteIP;
let Waf = CommonSecurityLog
| where TimeGenerated >= Since and (SourceIP in (TopIPs) or RequestURL has "rocket_beacon")
| project TimeGenerated, DeviceName = coalesce(DestinationHostName, DeviceProduct), Signal = iff(SourceIP in (TopIPs), "patchstack_top_attacker_ip", "rocket_beacon_request"), Detail = RequestURL, Actor = DeviceVendor, IP = SourceIP;
union Files, Shells, Net, Waf
| summarize Hits = count(), First = min(TimeGenerated), Last = max(TimeGenerated), Signals = make_set(Signal), Details = make_set(Detail, 20), IPs = make_set(IP, 20) by DeviceName
| order by Hits desc
// WP Rocket CVE-2026-125812 (rocket_beacon RCE, exploited since Nov 25, 2026): PHP written under wp-content, shells and nip.io/trycloudflare connections from the web server, Patchstack's top attacker IPs.
// Needs Defender for Endpoint on the web servers. Web access/WAF logs (the rocket_beacon request itself) are not collected by Defender XDR: use the Splunk/Sentinel tabs. Exclude WP Rocket's own wp-rocket-config/<your-domain>.php files.
let Since = datetime(2026-11-25);
let TopIPs = dynamic(["103.235.74.71", "157.245.122.230", "152.89.170.194", "180.232.236.101", "103.235.74.72", "201.79.120.217", "112.78.154.32", "167.71.75.155", "43.163.8.253", "51.79.199.209"]);
let WebProcs = dynamic(["php-fpm","php-fpm8.1","php-fpm8.2","php-fpm8.3","php-fpm8.4","php","php-cgi","lsphp","httpd","apache2","nginx","php-cgi.exe","php.exe","w3wp.exe"]);
let Files = DeviceFileEvents
| where Timestamp >= Since and ActionType in ("FileCreated", "FileModified", "FileRenamed") and FileName endswith ".php"
| where FolderPath matches regex @"(?i)[\\/]wp-content[\\/](wp-rocket-config[\\/].*|uploads[\\/].*|[^\\/]+)\.php$"
| where FileName !in~ ("index.php", "advanced-cache.php", "object-cache.php", "db.php")
| project Timestamp, DeviceName, Signal = "php_written_under_wp_content", Detail = FolderPath, Actor = InitiatingProcessFileName, IP = "";
let Shells = DeviceProcessEvents
| where Timestamp >= Since and InitiatingProcessFileName in~ (WebProcs) and FileName in~ ("sh","bash","dash","curl","wget","nc","ncat","gs-netcat","python","python3","perl","cmd.exe","powershell.exe")
| project Timestamp, DeviceName, Signal = "shell_from_web_server", Detail = ProcessCommandLine, Actor = InitiatingProcessFileName, IP = "";
let Net = DeviceNetworkEvents
| where Timestamp >= Since
| where RemoteIP in (TopIPs) or (InitiatingProcessFileName in~ (WebProcs) and (RemoteUrl endswith ".nip.io" or RemoteUrl endswith ".trycloudflare.com"))
| project Timestamp, DeviceName, Signal = iff(RemoteIP in (TopIPs), "patchstack_top_attacker_ip", "web_server_to_nip_io_or_trycloudflare"), Detail = RemoteUrl, Actor = InitiatingProcessFileName, IP = RemoteIP;
union Files, Shells, Net
| summarize Hits = count(), First = min(Timestamp), Last = max(Timestamp), Signals = make_set(Signal), Details = make_set(Detail, 20), IPs = make_set(IP, 20) by DeviceName
| order by Hits desc
// Elastic EQL. WP Rocket CVE-2026-125812 (rocket_beacon RCE, exploited since Nov 25, 2026): PHP written under wp-content, shells from the web server, nip.io/trycloudflare lookups, Patchstack's top attacker IPs (Elastic Defend/Auditbeat + web logs, ECS).
// Web access/WAF logs: url.original : "*rocket_beacon*" (POST bodies are usually not logged). Exclude WP Rocket's own wp-rocket-config/<your-domain>.php files.
any where @timestamp >= "2026-11-25T00:00:00Z" and (
  (event.category == "file" and event.type in ("creation", "change") and file.extension == "php" and
     file.path regex~ """.*[\\/]wp-content[\\/](wp-rocket-config[\\/].*|uploads[\\/].*|[^\\/]+)\.php""" and
     not file.name in~ ("index.php", "advanced-cache.php", "object-cache.php", "db.php")) or
  (event.category == "process" and event.type == "start" and
     process.parent.name in~ ("php-fpm","php-fpm8.1","php-fpm8.2","php-fpm8.3","php-fpm8.4","php","php-cgi","lsphp","httpd","apache2","nginx","php-cgi.exe","php.exe","w3wp.exe") and
     process.name in~ ("sh","bash","dash","curl","wget","nc","ncat","gs-netcat","python","python3","perl","cmd.exe","powershell.exe")) or
  (event.category in ("network", "dns") and process.name in~ ("php-fpm","php-fpm8.1","php-fpm8.2","php-fpm8.3","php-fpm8.4","php","php-cgi","lsphp","httpd","apache2","nginx","php-cgi.exe","php.exe","w3wp.exe") and
     dns.question.name : ("*.nip.io", "*.trycloudflare.com")) or
  url.original : "*rocket_beacon*" or
  cidrMatch(source.ip, "103.235.74.71/32", "157.245.122.230/32", "152.89.170.194/32", "180.232.236.101/32", "103.235.74.72/32", "201.79.120.217/32", "112.78.154.32/32", "167.71.75.155/32", "43.163.8.253/32", "51.79.199.209/32") or
  cidrMatch(destination.ip, "103.235.74.71/32", "157.245.122.230/32", "152.89.170.194/32", "180.232.236.101/32", "103.235.74.72/32", "201.79.120.217/32", "112.78.154.32/32", "167.71.75.155/32", "43.163.8.253/32", "51.79.199.209/32")
)
// Falcon LogScale (CQL). WP Rocket CVE-2026-125812 (rocket_beacon RCE, exploited since Nov 25, 2026): shells from the web server, PHP written under wp-content, nip.io/trycloudflare lookups, Patchstack's top attacker IPs. Set the time range from Nov 25, 2026.
// The sensor only records some file writes (*Written events) and does not see web access logs: the rocket_beacon request itself needs WAF/web logs in LogScale.
#event_simpleName=/^(ProcessRollup2|DnsRequest|NetworkConnectIP4|NetworkReceiveAcceptIP4|[A-Za-z]+Written)$/
| case {
    #event_simpleName=ProcessRollup2 ParentBaseFileName=/^(php-fpm[0-9.]*|php|php-cgi|lsphp|httpd|apache2|nginx|php-cgi\.exe|php\.exe|w3wp\.exe)$/i FileName=/^(sh|bash|dash|curl|wget|nc|ncat|gs-netcat|python3?|perl|cmd\.exe|powershell\.exe)$/i | signal := "shell_from_web_server";
    #event_simpleName=/Written$/ TargetFileName=/[\\\/]wp-content[\\\/](wp-rocket-config[\\\/].*|uploads[\\\/].*|[^\\\/]+)\.php$/i TargetFileName!=/[\\\/](index|advanced-cache|object-cache|db)\.php$/i | signal := "php_written_under_wp_content";
    #event_simpleName=DnsRequest DomainName=/(\.nip\.io|\.trycloudflare\.com)$/i | signal := "nip_io_or_trycloudflare_lookup";
    RemoteAddressIP4=/^(103\.235\.74\.71|157\.245\.122\.230|152\.89\.170\.194|180\.232\.236\.101|103\.235\.74\.72|201\.79\.120\.217|112\.78\.154\.32|167\.71\.75\.155|43\.163\.8\.253|51\.79\.199\.209)$/ | signal := "patchstack_top_attacker_ip";
    * | signal := "none";
  }
| signal != "none"
| groupBy([aid, ComputerName, signal], function=[count(as=hits), min(@timestamp, as=first), max(@timestamp, as=last), collect([CommandLine, TargetFileName, DomainName, RemoteAddressIP4], limit=10)])
| sort(hits, order=desc)
-- Osquery live checks derived from this playbook's Sigma rule(s) with pySigma's SQLite backend, mapped to osquery tables.
-- Snapshot only: a process that already exited or a closed connection will not show. For history use your EDR or osquery process_events.
-- Query 1: Shell or downloader spawned by the PHP web server (WP Rocket CVE-2026-125812 webshell)
-- Linux process creation; point-in-time: only sees processes running now.
SELECT pid, name, Image, CommandLine, ParentImage, ParentCommandLine
FROM (SELECT p.pid, p.name, p.path AS Image, p.cmdline AS CommandLine, pp.path AS ParentImage, pp.cmdline AS ParentCommandLine FROM processes p LEFT JOIN processes pp ON p.parent = pp.pid)
WHERE (ParentImage LIKE '%/php-fpm' ESCAPE '\' OR ParentImage LIKE '%/php' ESCAPE '\' OR ParentImage LIKE '%/php-cgi' ESCAPE '\' OR ParentImage LIKE '%/lsphp' ESCAPE '\' OR ParentImage LIKE '%/httpd' ESCAPE '\' OR ParentImage LIKE '%/apache2' ESCAPE '\' OR ParentImage LIKE '%/nginx' ESCAPE '\') AND (Image LIKE '%/sh' ESCAPE '\' OR Image LIKE '%/bash' ESCAPE '\' OR Image LIKE '%/dash' ESCAPE '\' OR Image LIKE '%/curl' ESCAPE '\' OR Image LIKE '%/wget' ESCAPE '\' OR Image LIKE '%/nc' ESCAPE '\' OR Image LIKE '%/ncat' ESCAPE '\' OR Image LIKE '%/gs-netcat' ESCAPE '\' OR Image LIKE '%/python3' ESCAPE '\' OR Image LIKE '%/perl' ESCAPE '\');

Sigma rule checked with pySigma 1.5.1 and the SigmaHQ validators; it converts with the official Splunk, Kusto (KQL), Elastic EQL, Elastic Lucene, Elastic ES|QL, CrowdStrike LogScale backends. The platform tabs are hand-written versions of the same hunt, not raw conversions. None of these queries has been run against live data.

For educational and informational purposes only. Hunt queries and detection rules are provided as-is, without warranty, and have not been tested against your environment or live data. Review, test and tune them in a non-production setting before use. SockAnalyst is not responsible for any outcome of using this content. Always follow your organization's policies and the vendor's official guidance. Zero Trust applies here too: never trust, always verify.

See all hunt queries →

⏱ CISA deadline

Not in CISA KEV as of Nov 28, 2026.

Sources

Vendor and researcher threat research

Press and other reporting

Vendor facts on this page (fixed builds, remediation, tools, indicators) were checked against the vendor and government pages above on 2026-11-28.

Related playbooks

Get the SockAnalyst Weekly Brief free, every Thursday.

One email a week with the KEV deadlines, patches and hunt queries that matter. New playbooks still post here on the site every morning.

Subscribe free

Read the free weekly pack →