Malicious n8n Expression Sandbox Escape child_process Payload

PremiumReviewedSigma · Medium · v1
Category
webserver
Author
HuntRule
Published
2026-10-05
Updated
2026-10-05

ATT&CK techniques

Initial Access → Execution
  1. Recon

  2. Resource Dev

  3. Persistence

  4. Priv Esc

  5. Defense Evasion

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule detects HTTP request content carrying an n8n expression sandbox escape that reaches the Node.js child_process module through process mainModule require, the exploitation payload for CVE-2025-68613 used by the Zerobot botnet. The chained references break out of the expression evaluation context to run arbitrary commands. These strings together in request data indicate an exploitation attempt against the n8n platform.

Related detections9 linkedT1059.004 — drag to rearrange
Malicious Child Process Spawned From n8n Node Process
Suspicious AI Agent Compromise via Web Worker Spawning Shell or Network Tool
Malicious wp2shell WordPress RCE via Web Server Spawning Shell Recon
Malicious Node.js Process Spawning Unix Shell or Network Client
Suspicious Shell Spawned by ActiveMQ Java Process
Possible Bitbucket Pre-Auth RCE via git archive exec Null-Byte Injection (CVE-2022-36804) (via webserver)
Malicious PostgreSQL COPY FROM PROGRAM Command Execution via Managed Cloud Database (via process_creation)
Suspicious PAN-OS Shell Execution Setting panusername via Command Injection (via process_creation)
Malicious OMI Server Spawning Shell as Root via OMIGOD SCX Provider (via process_creation)
Malicious n8n Expression Sandbox Escape child_process Payload
Pivot detection · T1059.004 · 9 related

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