Techniques
Sample rules
Nsenter to PID Namespace via Auditd
- source: elastic
- technicques:
- T1611
Description
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
host.os.type:linux and event.category:process and event.action:(exec or executed) and
(process.name:nsenter or process.args:nsenter) and
process.args:(
(-t or --target*) and
not --net=/run/netns/* and
not (--assertion and snap) and
not (is-active and snap.*) and
not (-anp and netstat)
)