~/talk

Escaping Virtualized Containers

Talkat Black Hat Asia 2020 · 2020-09-29..10-02· [security]
links:none on file
slides:none on file

Shows a concrete escape chain against Kata containers running under Docker: a missing devices cgroup plus the default make_node capability lets a container write the guest block device, a page cache eviction technique forces guest processes to load the modified binaries (crash agent, trigger shutdown) and achieve guest code execution, then a cloud-hypervisor image persistence bug commits that change to the VM image so a second run can mount a malicious image over /bin and get host code execution. Demos work end-to-end and fixes were disclosed (CVE issued).

AI-written summary · about

  1. 0:00Introduction to container security
  2. 1:00Understanding containers vs VMs
  3. 2:44Kata containers explained
  4. 4:50Use cases for Kata Containers
  5. 5:51Technical architecture of Kata
  6. 7:59Attack scenario and scope
  7. 9:37Container breakout techniques
  8. 13:01Exploiting device cgroups
  9. 17:50Page cache manipulation
  10. 20:33Guest code execution demo
  11. 23:54Executing the guest attack
  12. 26:13Escaping the virtual machine
  13. 29:14Host denial of service demo
  14. 31:18Compromising future guests
  15. 33:42Container to host code execution
  16. 36:13Shared directory vulnerabilities
  17. 37:50Security takeaways and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.