# Cloud/Kubernetes intrusion via Node.js web app RCE (no public CVE) with container escape and persistence, detected behaviorally by Orca Sensor

> Orca Security reports a real-world cloud intrusion that began with remote code execution in a self-hosted Node.js web application running as root (no public CVE at the time). The attacker harvested credentials, moved across containers via the kubelet API, escaped to hosts using privileged containers sharing host namespaces and filesystem, and established persistence before a second wave on untouched hosts; the customer contained it.

- **Published:** 2026-11-24T13:15:53Z
- **Last reviewed:** 2026-11-24T13:15:53Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-6790
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-6790.png
- **ID:** TL-2026-6790
- **Severity:** HIGH
- **Category:** CLOUD
- **Status:** ACTIVE
- **Detections:** 9 (1 shown free below) · **IOCs:** 1

## Description

Source: Orca Security blog 'Caught by Behavior: How Orca Sensor Exposed a Cloud Intrusion in Real Time' (author Daniel Ufliand, published 2026-11-24). This record is built from that single vendor source; items the article does not state (CVE, actor, binary names, hashes, domains, IPs, ports, dates, cloud provider, app name) are intentionally not filled in.

Initial access and execution: the victim ran a self-hosted web application built on Node.js as root. A flaw in the application (no public CVE at the time; mechanism not described) gave the attacker remote code execution. Orca Sensor, an eBPF runtime sensor, fired two Node.js RCE detections on the first command, when the application process started a shell that ran system reconnaissance commands as root, and a third a few minutes later when the attacker dropped a script in /tmp and ran it. The detections fired only on the attack and not on normal application activity, and every later alert on that server traced back to the application's own process. The customer confirmed no red team or penetration test was running.

Discovery and credential access: the attacker searched for SSH keys and cloud credential files, scanned for etcd and the kubelet API, ran the application's own code to pull its stored secrets, and requested temporary workload credentials from the cloud metadata service. Commands checking which user was running in a container and probes of internal services such as etcd were also observed.

Lateral movement and defense evasion: shells and scripts inside containers connected to the kubelet API on several hosts. The attacker ran commands inside other application containers, including base64-encoded Python scripts that collected environment variables and listed running processes. In several containers a hidden binary was run from /tmp that deleted itself right after starting. Hidden files in /tmp and a binary named like a kernel process were flagged as defense evasion.

Privilege escalation and persistence: the attacker started privileged containers sharing the host process namespace and mounting the host filesystem, then used them to enter the host namespaces. On one host a copy of the binary was installed under a disguised name and launched further privileged containers. Containers were configured to restart automatically, and the attacker tried to enable system services from inside a container to survive reboot. The containers used images from the company's own private registry.

Second wave and response: after a quiet period, new containers appeared on hosts not previously touched, downloaded the attacker's binary and ran it; detections caught reverse shell attempts and new cloud-credential requests. Orca's research team spotted the activity in sensor data and proactively contacted the customer with a timeline, affected containers and hosts, dropped files, the domain and address used (not printed in the article), persistence mechanisms and potentially exposed secrets. The customer contained the attack by removing the persistence and the attacker's containers. Orca reports 18 behavioral detections across seven MITRE ATT&CK tactics (Execution, Discovery, Credential Access, Privilege Escalation, Defense Evasion, Persistence, Lateral Movement), none dependent on hash, IP, domain or CVE; the binary was not flagged by threat intelligence. Severity HIGH is an analyst judgment; the source gives no CVSS.

## MITRE ATT&CK

- T1190 Exploit Public-Facing Application
- T1059.004 Command and Scripting Interpreter: Unix Shell
- T1059.006 Command and Scripting Interpreter: Python
- T1609 Container Administration Command
- T1610 Deploy Container
- T1543.002 Create or Modify System Process: Systemd Service
- T1611 Escape to Host
- T1564.001 Hide Artifacts: Hidden Files and Directories
- T1070.004 Indicator Removal: File Deletion
- T1036 Masquerading
- T1027 Obfuscated Files or Information
- T1552.004 Unsecured Credentials: Private Keys
- T1552.001 Unsecured Credentials: Credentials In Files
- T1552.005 Unsecured Credentials: Cloud Instance Metadata API
- T1046 Network Service Discovery
- T1057 Process Discovery
- T1033 System Owner/User Discovery

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**TL-2026-6790 Node.js Web App Spawning Root Shell with Recon Commands - Exploitation** (`TL-2026-6790-SPL-001`)

Behaviour-first detection of the initial RCE in TL-2026-6790: a Node.js web application process (running as root) spawns a shell that executes reconnaissance commands (id, whoami, uname, ps, /etc/passwd) or touches /tmp. Needs no hash, IP, domain or CVE. Maps to T1190, T1059.004, T1033, T1057.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1190, T1059.004, T1033, T1057
- **Data sources:** sysmon_for_linux, linux_auditd, linux_process_creation
- **Severity:** high
- **Confidence:** high

### Splunk SPL

```spl
index=linux sourcetype="sysmon:linux" EventCode=1 earliest=-24h
    (ParentImage="*/node" OR ParentImage="*/nodejs" OR ParentImage="*/npm")
    (Image="*/sh" OR Image="*/bash" OR Image="*/dash" OR Image="*/ash")
| eval is_root=if(User="root" OR User="0",1,0)
| eval recon=if(match(CommandLine,"(?i)(^|[ ;|&/])(whoami|uname|hostname|printenv|ifconfig|ps)([ ;|&]|$)|(^|[ ;|&])id([ ;|&]|$)|/etc/passwd|/etc/os-release|/tmp/"),1,0)
| where is_root=1 OR recon=1
| eval threat="TL-2026-6790 Node.js web app RCE (T1190/T1059.004)"
| stats count min(_time) as first_seen max(_time) as last_seen values(CommandLine) as shell_cmds max(is_root) as ran_as_root max(recon) as recon_seen by host, ParentImage, ParentCommandLine, User, threat
| convert ctime(first_seen) ctime(last_seen)
| table first_seen last_seen host User ParentImage ParentCommandLine shell_cmds ran_as_root recon_seen count threat
```

### Microsoft KQL

```kql
DeviceProcessEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName in~ ("node", "nodejs", "npm")
| where FileName in~ ("sh", "bash", "dash", "ash")
| extend IsRoot = AccountName =~ "root"
| extend Recon = ProcessCommandLine matches regex @"(?i)(^|[ ;|&/])(whoami|uname|hostname|printenv|ifconfig|ps)([ ;|&]|$)|(^|[ ;|&])id([ ;|&]|$)|/etc/passwd|/etc/os-release|/tmp/"
| where IsRoot or Recon
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName, ProcessCommandLine, IsRoot, Recon
```

### Sigma

```yaml
title: Node.js Web Application Spawning Shell as Root - TL-2026-6790
id: 3b7e1c52-6790-4d1a-8f0e-1a2b3c4d5e01
status: experimental
description: Detects a Node.js process (web application) spawning a shell as root, the initial RCE behaviour reported in TL-2026-6790 where the app ran system reconnaissance commands as root.
references:
    - https://orca.security/resources/blog/caught-by-behavior-how-orca-sensor-exposed-a-cloud-intrusion-in-real-time/
    - https://attack.mitre.org/matrices/enterprise/containers/
author: Threadlinqs Team
date: 2026/11/24
tags:
    - attack.initial-access
    - attack.t1190
    - attack.execution
    - attack.t1059.004
    - attack.discovery
    - attack.t1033
    - attack.t1057
logsource:
    category: process_creation
    product: linux
detection:
    selection_parent:
        ParentImage|endswith:
            - '/node'
            - '/nodejs'
    selection_shell:
        Image|endswith:
            - '/sh'
            - '/bash'
            - '/dash'
            - '/ash'
    selection_root:
        User: 'root'
    condition: selection_parent and selection_shell and selection_root
falsepositives:
    - Applications that legitimately use child_process.exec for admin or build tasks
    - Node-based CI/CD agents and npm lifecycle scripts running as root
level: high

```

**Known false positives:**

- Node.js apps that legitimately shell out via child_process for admin or build tasks
- npm lifecycle scripts or Node-based CI agents running as root in build containers

**Tuning notes:** Baseline (ParentCommandLine, shell_cmds) pairs per application for 14 days and allowlist known-good ones; restrict to production web workloads; alert on ran_as_root=1 AND recon_seen=1 for high priority. Adjust index/sourcetype to your Sysmon for Linux or auditd ingestion.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- TL-2026-6790 Dropped Script / Hidden Self-Deleting Binary Executed from [indicator] - Exploitation (locked: unlock with TL Creds)
- TL-2026-6790 Privileged Pod with Host PID Namespace or Host Filesystem Mount - Post-Exploitation (locked: unlock with TL Creds)
- TL-2026-6790 Second-Wave Binary Download to [indicator] and Reverse Shell - C2 (locked: unlock with TL Creds)
- TL-2026-6790 Base64-Encoded Python Executed in Container - Exploitation (locked: unlock with TL Creds)
- TL-2026-6790 Host Escape via nsenter and Persistence via systemctl enable or Auto-Restart Containers - Post-Exploitation (locked: unlock with TL Creds)
- TL-2026-6790 Binary Masquerading as Kernel Process - Persistence / Lateral Movement Tooling (locked: unlock with TL Creds)
- TL-2026-6790 SSH Key / Cloud Credential Hunting and IMDS Credential Requests - Post-Exploitation (locked: unlock with TL Creds)
- TL-2026-6790 Container Workload Reaching Kubelet API or etcd - Lateral Movement (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sources

- [Caught by Behavior: How Orca Sensor Exposed a Cloud Intrusion in Real Time](https://orca.security/resources/blog/caught-by-behavior-how-orca-sensor-exposed-a-cloud-intrusion-in-real-time/)
- [MITRE ATT&CK Containers Matrix](https://attack.mitre.org/matrices/enterprise/containers/)
- [MITRE ATT&CK T1611 Escape to Host](https://attack.mitre.org/techniques/T1611/)
- [MITRE ATT&CK T1552.005 Cloud Instance Metadata API](https://attack.mitre.org/techniques/T1552/005/)
- [MITRE ATT&CK T1610 Deploy Container](https://attack.mitre.org/techniques/T1610/)
- [Horizon3.ai: When Read-Only Isn't - K8s nodes/proxy GET to RCE (related kubelet API abuse research)](https://horizon3.ai/attack-research/when-read-only-isnt-k8s-nodes-proxy-get-to-rce/)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-6790
