Nsenter Execution with Target Flag Inside Container
Detects nsenter executions from inside a monitored Linux container that include a namespace target flag (-t or --target). Adversaries abuse nsenter to attach to host or sibling namespaces and escape container…
Description
Detects nsenter executions from inside a monitored Linux container that include a namespace target flag (-t or --target). Adversaries abuse nsenter to attach to host or sibling namespaces and escape container isolation when combined with privileged mounts, exposed PIDs, or shared namespaces.
Detection logic
Its licence does not clear it for publishing here
Sunturai publishes a detection's own text where the licence it arrived under has been reviewed and permits it, and Elastic License 2.0 has not. The query as its source wrote it, its canonical form and the hash that pins this revision are in the workspace record.
Detection requirements
- Platform
- ContainersESXiLinuxWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- event_index
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| attack.mitre.org/techniques/T1611/ | 6from 2 sources |
| man7.org/linux/man-pages/man1/nsenter.1.html | 2 |
From the source
- At source
- Open at source
- Upstream identifier
- 39029450-8e2d-4034-81b0-15af8e4e3a4e
- Tagged by the source as
- Data Source: Elastic Defend for ContainersDomain: ContainersNoise: UnknownOS: LinuxPerformance: FastPlatform: LinuxProfile: RecommendedResources: Investigation GuideRule Type: Event Correlation (EQL)Tactic: Privilege EscalationThreat: Container EscapeUse Case: Threat Detection
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Sep 20, 2026
- Version
- 3