← Back to SOC feed Coverage →

Detects in-memory webshell indicators related to the proof-of-concept code for the React Server Remote Code Execution Vu

yara HIGH signature-base
exploitflorian-rothwebshell
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at signature-base →
Retrieved: 2026-08-07T11:00:00Z · Confidence: medium

Hunt Hypothesis

This hunt hypothesis targets adversaries exploiting the React Server Remote Code Execution vulnerability (CVE-2025-55182) to deploy in-memory webshells that evade traditional file-based detection mechanisms. Proactively hunting for these indicators within Azure Sentinel is critical because such webshells often serve as a stealthy foothold for lateral movement and persistent command execution without leaving artifacts on the disk.

YARA Rule

rule EXPL_React_Server_CVE_2025_55182_POC_Dec25 {
   meta:
      description = "Detects in-memory webshell indicators related to the proof-of-concept code for the React Server Remote Code Execution Vulnerability (CVE-2025-55182)"
      author = "Florian Roth"
      reference = "https://x.com/pyn3rd/status/1996840827897954542/photo/1"
      date = "2025-12-05"
      score = 70
      id = "1ad38541-1477-5c07-9975-318357bcb9b8"
   strings:
      $xs1 = "{const cmd=p.query.cmd;if(!cmd)(s.writeHead(400);"

      $s1 = ";if(p.pathname=="
      $s2 = ".writeHead(400);"
      $s3 = ".writeHead(200,{'Content-Type':"
      $s4 = ".execSync("
      $s5 = ",stdio:'pipe'})"
   condition:
      1 of ($x*)
      or all of ($s*)
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 6 string patterns in its detection logic.

References

False Positive Guidance

Here are 4 specific false positive scenarios and their corresponding exclusion strategies for the Detects in-memory webshell indicators related to the proof-of-concept code for the React Server Remote Code Execution Vulnerability (CVE-2025-55182) rule:


Original source: https://github.com/Neo23x0/signature-base/blob/main/yara/react_pocs_indicators_dec25.yar