Privesc Container Escape

Use when authorized testing lands you inside a container and you need to determine whether escape to the host is possible. Covers detecting containerization and the runtime, auditing privileged mode and dangerous mounts, abusing an exposed Docker socket, exploiting granted Linux capabilities (CAP_SYS_ADMIN, CAP_SYS_PTRACE, CAP_DAC_READ_SEARCH), host filesystem access through mounted paths, cgroup release_agent techniques in lab contexts, and Kubernetes pod escape primitives. Built for authorized engagements, labs, and CTFs only - escaping a container affects the host, so the authorization bar is host-level.

mizazhaider-ceh Updated
AgentArsenal

File contents

mizazhaider-ceh/AgentArsenal commit 26072d3fce

Frequently asked questions

npx get-skill add mizazhaider-ceh/privesc-container-escape