Container Runtime Socket Access From Inside a Container
Detects a process running inside a container opening the Docker or containerd control socket (typically reached via a hostPath mount) -- the runtime-level signal that complements the admission-time det-k8s-002 mount detection by confirming the socket was actually used.
Updated Oct 29, 2026 · Detection Engineering Team
Problem Statement
The admission-time hostPath mount detection shows intent/misconfiguration; this runtime-level detection confirms exploitation. Together they close the loop from 'a risky mount exists' to 'the risky mount was actually used to talk to the runtime', which matters for incident prioritization.
Sample Logs
{"time":"2026-10-29T20:11:45Z","rule":"Container Runtime Socket Accessed","output":"File open of container runtime socket (user=root command=curl --unix-socket /var/run/docker.sock http://localhost/containers/json container_id=4f2a9c image=alpine:latest)","container":{"id":"4f2a9c","image":"alpine:latest"},"k8s":{"pod":{"name":"build-helper"},"ns":{"name":"ci"}}}Required Fields
False Positives
- ·Approved node-inventory/observability agents that legitimately query the runtime socket read-only
Tuning Guidance
Distinguish read-only inventory calls (GET /containers/json) from mutating calls (POST /containers/create, /exec) where the socket's HTTP API can be parsed -- mutating calls from an unapproved container should page immediately, read-only calls can be a lower-severity audit trail.