CVE-2025-55182 Microsoft Sentinel · KQL

Detect CVE-2025-55182 — Meta React Server Components Remote Code Execution in Microsoft Sentinel

Detects exploitation of CVE-2025-55182, a critical remote code execution vulnerability in Meta React Server Components. This vulnerability allows attackers to achieve server-side code execution by abusing the React Server Components protocol, potentially leading to full server compromise. The vulnerability is actively exploited in the wild (CISA KEV).

MITRE ATT&CK

Tactic
Initial Access Execution Persistence Impact

KQL Detection Query

Microsoft Sentinel (KQL)
kusto
union DeviceProcessEvents, DeviceNetworkEvents, DeviceFileEvents
| where TimeGenerated > ago(24h)
| where InitiatingProcessFileName in~ ("node", "node.exe", "next", "next.js")
| where (
    (ActionType == "ProcessCreated" and ProcessCommandLine has_any ("child_process", "exec", "spawn", "execSync", "spawnSync", "eval", "Function(", "vm.runInNewContext", "__import__", "os.system"))
    or (ActionType == "FileCreated" and FolderPath matches regex @"(?i)(\\tmp\\|/tmp/|\\var\\|/var/).*\.(sh|py|pl|rb|elf|exe)$")
    or (ActionType == "NetworkConnectionFound" and RemotePort in (4444, 1337, 9001, 8080, 8443) and InitiatingProcessFileName in~ ("node", "node.exe"))
)
| extend RSCExploitIndicator = case(
    ProcessCommandLine has_any ("child_process", "execSync", "spawnSync"), "CommandExecution",
    ProcessCommandLine has_any ("eval", "Function(", "vm.runInNewContext"), "DynamicCodeEval",
    FolderPath matches regex @"(?i)(/tmp/|\\tmp\\)", "SuspiciousFileWrite",
    ActionType == "NetworkConnectionFound", "ReverseShellAttempt",
    "Unknown"
)
| project TimeGenerated, DeviceName, ActionType, InitiatingProcessFileName, ProcessCommandLine, FolderPath, RemoteIP, RemotePort, RSCExploitIndicator
| sort by TimeGenerated desc
critical severity medium confidence

Detects Node.js processes (likely hosting React Server Components via Next.js or similar frameworks) spawning suspicious child processes, writing executables to temp directories, or making outbound connections consistent with reverse shell activity following CVE-2025-55182 exploitation.

Data Sources

Microsoft Defender for EndpointAzure MonitorMicrosoft Sentinel

Required Tables

DeviceProcessEventsDeviceNetworkEventsDeviceFileEvents

False Positives & Tuning

  • Legitimate Next.js build processes that invoke child_process for bundling or SSG
  • Development environments running eval-heavy test frameworks such as Jest
  • Security scanning tools that probe Node.js processes for vulnerability assessment
  • Automated deployment pipelines that spawn shell commands from Node.js scripts

Other platforms for CVE-2025-55182


Testing Methodology

Validate this detection against 4 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1CVE-2025-55182 RSC Protocol RCE Simulation — Command Execution via child_process

    Expected signal: EDR telemetry: ProcessCreate event with parent=node, child=sh or node with args containing execSync. Audit logs: execve syscall for 'id', 'whoami', 'hostname' with parent PID matching the node process.

  2. Test 2CVE-2025-55182 RSC Exploitation — Reverse Shell Payload Drop to /tmp

    Expected signal: File creation event in /tmp with .sh extension, owned by node process user, with executable permissions set. EDR FileCreated event with FolderPath=/tmp and FileName=rsc_test_shell.sh.

  3. Test 3CVE-2025-55182 RSC Post-Exploitation — Dynamic Code Evaluation Abuse

    Expected signal: Process event showing node.exe/node with args containing vm.runInNewContext. If eval succeeds, subsequent execve events for 'id' binary with node as ancestor process.

  4. Test 4CVE-2025-55182 RSC Network C2 Beacon Simulation

    Expected signal: Network connection event from node process to 127.0.0.1:4444 (substitute real C2 IP in production test). EDR NetworkConnectionFound or equivalent with InitiatingProcessFileName=node and RemotePort=4444.

Unlock Pro Content

Get the full detection package for CVE-2025-55182 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections