~/talk

Checking Your --privileged Container

Talkat BSidesSF 2020 · 2020-02-23..02-24· [security]
links:none on file
slides:none on file

Shows that the --privileged flag effectively disables confines: containerd sets withAllCapabilities, mounts the host fs, rewrites read-only mounts, disables ASLR via /proc/sys/kernel/randomize_va_space, and lets a container change SELinux labels. Live demos also create cgroups to throttle memory and show a process killed when limits are hit. Recommends granting narrow capabilities like CAP_NET_BIND_SERVICE instead of CAP_SYS_ADMIN, and enforcing deployment controls with Kubernetes securityContext, PodSecurityPolicy or OPA/Gatekeeper.

AI-written summary · about

  1. 0:00Introduction
  2. 0:31Agenda
  3. 2:16What are containers
  4. 3:53Container runtimes
  5. 5:48Container security
  6. 6:30Capabilities
  7. 7:46Security Contracts
  8. 10:12Privileged Containers
  9. 10:39Single Flag
  10. 10:57Demos
  11. 11:37All Capabilities
  12. 12:44Demo
  13. 14:45Masked paths
  14. 23:24Admission controllers
  15. 23:56Wrapup
~/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.