Nsenter to PID Namespace via Auditd
Detects nsenter executions that target PID with a namespace target flag, a pattern commonly used to attach to the host init namespace from a container or session and run with host context.
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
Known benign triggers
- Platform engineers may nsenter into PID 1 namespaces during deep node debugging; correlate with tickets and bastion sessions before escalating.
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
- 75f9b95f-370b-4ff3-a84c-66d9ec0b84eb
- Tagged by the source as
- Data Source: Auditd ManagerDomain: ContainersDomain: EndpointNoise: LowOS: LinuxPerformance: NormalPlatform: LinuxProfile: RecommendedResources: Investigation GuideRule Type: Custom Query (KQL)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