Container runtime security policies (seccomp, AppArmor) are applied
Why it matters
Without seccomp or AppArmor profiles, containers can make any Linux system call — including ptrace, mount, kexec, and others that have no role in application logic but are used in known container escape exploits (NIST 800-53 CM-7, CIS Kubernetes 5.7.2/5.7.3). Seccomp RuntimeDefault blocks over 300 system calls not used by typical applications, reducing the kernel attack surface measurably. Unconfined profiles explicitly disable all restrictions and are categorically worse than the default — any container with Unconfined is actively regressing security below Kubernetes defaults.
Severity rationale
Low because missing runtime profiles leave kernel attack surface exposed, but exploitation requires a known kernel syscall vulnerability as a prerequisite.
Remediation
Apply seccompProfile: RuntimeDefault to all containers that do not require custom syscall access. In your Deployment manifest:
spec:
template:
spec:
securityContext:
seccompProfile:
type: RuntimeDefault
containers:
- name: app
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
RuntimeDefault uses the container runtime's built-in seccomp policy (Docker/containerd both ship sensible defaults). For workloads with custom syscall requirements, generate a profile with docker run --security-opt seccomp=unconfined --cap-drop=ALL to observe actual syscall usage, then build a Localhost profile. For AppArmor, annotate pods with container.apparmor.security.beta.kubernetes.io/<container>: runtime/default.
DetectionPro
The detection method for this pattern is part of AuditBuffet Pro.
The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the Infrastructure Hardening Audit. The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.
External references
- nist:rev5 · CM-7 — Least Functionality — restrict to authorized system calls
- external · CIS-Kubernetes-5.7.2 — CIS Kubernetes Benchmark §5.7.2 — Ensure that the seccomp profile is set to docker/default in your Pod definitions
- external · CIS-Kubernetes-5.7.3 — CIS Kubernetes Benchmark §5.7.3 — Apply Security Context to Pods and Containers
- soc2:2017 · CC6.6 — Protection against threats from outside system boundaries
Taxons
History
- 2026-04-18·v1.0.0·Initial import from infrastructure-hardening·automated
- 2026-07-06·v1.0.1·Add SOC 2 TSC mapping (CC6.6) from the verified compliance crosswalk register (docs/compliance/).·by soc2-mapping-enrichment-ship-2