he/him
Slides: https://static.sched.com/hosted_files/cloudnativesecurityconna23/23/container_patching_cnscon_2023_castle_panther.pdf (8/8)
But help is coming with Kubernetes “hostUsers” feature. Lets you run root inside the container, but the process is unprivileged on the host. (7/8)
But help is coming with Kubernetes “hostUsers” feature. Lets you run root inside the container, but the process is unprivileged on the host. (7/8)
Surprise 2: adding root capabilities to non-root users via securityContext should work, but doesn’t.
Workaround: use setcap to set filesystem capabilities in Dockerfile. (6/8)
https://github.com/kubernetes/kubernetes/issues/56374
Surprise 2: adding root capabilities to non-root users via securityContext should work, but doesn’t.
Workaround: use setcap to set filesystem capabilities in Dockerfile. (6/8)
https://github.com/kubernetes/kubernetes/issues/56374
Solution: set group ownership on the host then assign groups to containers using supplementalGroups in securityContext. (5/8)
Solution: set group ownership on the host then assign groups to containers using supplementalGroups in securityContext. (5/8)
Surprise 1: fsGroup in securityContext can’t set hostpath ownership.
Workaround: set ownership in an init container as root. (4/8)
Surprise 1: fsGroup in securityContext can’t set hostpath ownership.
Workaround: set ownership in an init container as root. (4/8)
We blocked new rooty containers at code submission time, and burned through the existing ones case-by-case. (3/8)
We blocked new rooty containers at code submission time, and burned through the existing ones case-by-case. (3/8)
We found and fixed 17 exploitable breakouts in 2022 via our kCTF bugbounty program, and paid out $1.3M.
Non-root containers make breakout harder and misconfiguration less disastrous. (2/8)
https://bit.ly/45aN7ZT
We found and fixed 17 exploitable breakouts in 2022 via our kCTF bugbounty program, and paid out $1.3M.
Non-root containers make breakout harder and misconfiguration less disastrous. (2/8)
https://bit.ly/45aN7ZT