Malicious node Reverse Shell Spawned on FortiGate via Inline Code

PremiumReviewedSigma · High · v1
Product
linux
Category
process_creation
Author
HuntRule
Published
2026-07-04
Updated
2026-08-28

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 the node binary being executed with the -e flag to run inline JavaScript, matching the reverse shell payload delivered through the FortiGate CVE-2024-21762 exploitation described by Assetnote. Attackers use node -e to establish an outbound interactive shell from the appliance after triggering the memory corruption. Inline node execution on a network security appliance is highly abnormal and indicates post-exploitation activity.

Related detections9 linkedT1059.007 — drag to rearrange
Possible React2Shell CVE-2025-55182 Prototype Pollution Exploitation
Possible Reflected XSS via cPanel cpanelwebcall Endpoint CVE-2023-29489
Suspicious PowerShell Spawned by Windows Script Host during Scarlet Goldfinch Infection (via process_creation)
Suspicious Windows Script Host Execution of JavaScript from Temporary Archive Extraction Folder (via process_creation)
Malicious Command Shell Spawned by SQL Server via Process Creation (via process_creation)
Suspicious Whoami Discovery Spawned by Windows Script Host via Process Creation (via process_creation)
Malicious Command Shell or PowerShell Spawned by Tomcat via Process Creation (via process_creation)
Suspicious Shell Script Execution From Temp Directory on SonicWall SMA1000 Appliance (via process_creation)
Suspicious Node.js Execution from User AppData Directory (via process_creation)
Malicious node Reverse Shell Spawned on FortiGate via Inline Code
Pivot detection · T1059.007 · 9 related

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