Elastic medium stable eql
Potential notify_on_release Container Escape Detected via Defend for Containers
This rule detects modification of the cgroup notify_on_release file from inside a container. When the notify_on_release flag is enabled (1) in a cgroup, then whenever the last task in the cgroup exits or attaches to another cgroup, the command specified in the release_agent file is run and invoked from the host. A privileged container with SYS_ADMIN capabilities, enables a threat actor to mount a cgroup directory and modify the notify_on_release flag in order to take advantage of this feature, which could be used for further privilege escalation and container escapes to the host machine.
Detection Logic
file where host.os.type == "linux" and event.type == "change" and event.action == "open" and
file.name == "notify_on_release" and container.id like "*" Field Validations
Loading…
Comments (0)
Loading comments...