Individual skill
escaping-hardened-containers
Escape containers that drop capabilities, enforce seccomp profiles, and run behind AppArmor or SELinux — enumerating residual capabilities, analyzing seccomp filters, abusing single-capability escapes, cgroup release agents, filesystem mounts, and runtime CVEs. Use when a container has no --privileged flag but retains exploitable capabilities, when seccomp or LSM blocks standard escape paths, when targeting gVisor or Kata sandboxes, or when reviewing a hardened container deployment for residual attack surface.
secskills-offense/skills/escaping-hardened-containers/SKILL.md
Source commit ca53957bcd8e3b83b5d4d190bb3ad008a4f15c84
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 11, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 188
- Repository last updated
- Sep 4, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- security Repository topic
- skills Repository topic
- devops Derived category
- devops-containers Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 14,125 bytesSKILL.mdcore · 14,125 bytesSKILL.mdcore · 14,125 bytesSKILL.mdcore · 14,125 bytesSKILL.mdcore · 14,125 bytesSKILL.mdcore · 14,125 bytesSKILL.mdcore · 14,125 bytesSKILL.mdcore · 14,125 bytesSKILL.mdcore · 14,125 bytesSKILL.mdcore · 14,125 bytesSKILL.mdcore · 14,125 bytesSKILL.mdcore · 14,125 bytesSKILL.mdcore · 14,125 bytesSKILL.mdcore · 14,125 bytesSKILL.mdcore · 14,125 bytesSKILL.mdcore · 14,125 bytesSKILL.mdcore · 14,125 bytesSKILL.mdcore · 14,125 bytes
Read excerpt
# Escaping Hardened Containers
Most container escapes documented online assume `--privileged`. The work
starts when the container IS hardened -- seccomp is on, capabilities are
dropped, and the obvious paths are blocked. The remaining attack surface
is smaller but not zero, and single capabilities or filesystem mounts are
often enough.
Only against systems you are authorized to test.
## When to Use
- The container is not privileged but retains one or more interesting capabilities (CAP_SYS_ADMIN, CAP_SYS_PTRACE, CAP_DAC_READ_SEARCH, CAP_NET_RAW)
- A seccomp profile is active and blocks common escape syscalls -- you need to map what is still allowed