Home▸Cybersecurity▸Compromising Containers with Shared Kernel Vulnerabilities

🐳 Container Escape via Shared Kernel

Click a container to compromise it and toggle settings like privileged mode or host mount to see how easily it escapes to the shared kernel.

Cybersecurity3DAdvanced60 FPS📱 Mobile-adapted🟠 Blender🔥 Fire⇄ 2D version
Compromising Containers with Shared Kernel Vulnerabilities ↗ Open standalone

Six containers share one host's Linux kernel: click a container to compromise it, then toggle it hardened or misconfigured (privileged mode, host mount, extra capability) to see whether the attacker stays trapped behind its namespace boundary or breaks through the shared kernel to spread into every other container on the host. Live blast-radius readout compares outcomes across repeated randomized trials.

🔬 What It Demonstrates

Unlike a VM, a container has no hypervisor and no kernel of its own — it is a regular host process wrapped in namespaces and cgroups. That wrapping is a policy boundary, not a hardware one: --privileged mode, a bind-mounted host path, or an unnecessary capability like CAP_SYS_ADMIN each punch a hole straight through to the real kernel every other container on the box also depends on.

🎮 How to Use

Click a container to make it the attacker's entry point, then flip its Hardened/Misconfigured switch in the side panel. Run randomized trial rolls one weighted attempt to break through the shared kernel; 20 fast trials repeats that roll rapidly so the escape rate stops looking random. Watch the blast radius: a hardened container almost always stays contained, a misconfigured one usually drags every other container — and the host — down with it. Reset scene clears everything back to a clean, hardened state.

💡 Did You Know?

Real CVEs like the runc binary-overwrite bug (CVE-2019-5736) and the cgroups release_agent escape (CVE-2022-0492) exploited exactly this shared-kernel path — no hypervisor to defeat, just one gap between a container and the kernel it was only ever borrowing.

⚙ Under the hood

Click a container to compromise it and toggle settings like privileged mode or host mount to see how easily it escapes to the shared kernel.

container escapeshared kernelnamespacescgroupsprivileged containercybersecurityThree.jsblast radiusdefense in depthpatch management

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)