it was impossible to know what was coming unless you paid even a little bit of attention
05.02.2025 00:52 β π 871 π 166 π¬ 12 π 9@gregcastle.bsky.social
Security for Google Kubernetes Engine. Former pentester, DFIR and OS X security he/him
it was impossible to know what was coming unless you paid even a little bit of attention
05.02.2025 00:52 β π 871 π 166 π¬ 12 π 9@evelyndouek.bsky.social @stamos.org I keep refreshing the moderated content podcast page....So much to cover! moderated-content.simplecast.com
17.01.2025 16:14 β π 0 π 0 π¬ 0 π 0A multi year epic! Thanks for seeing it through.
18.12.2024 06:38 β π 1 π 0 π¬ 0 π 0Volts is my favorite of all the clean energy podcasts, and I've listened to quite a few.
13.12.2024 20:43 β π 1 π 0 π¬ 0 π 0There are many cheap and proven ways to get more out of the grid we have. But the utilities only make money out of big capital projects. David Roberts has me convinced that the biggest clean energy problem we have is how utilities make money. www.volts.wtf/p/getting-mo...
13.12.2024 05:32 β π 1 π 0 π¬ 2 π 0This story is wild
12.09.2023 05:11 β π 2 π 0 π¬ 0 π 0So sorry to hear this π’
21.08.2023 03:39 β π 1 π 0 π¬ 0 π 0Spotify runs most of their production workloads on GKE and wrote this cool post on memory #forensics. They suck out memory through a privileged pod via kcore and send it to #volatility for analysis.
03.07.2023 15:19 β π 3 π 0 π¬ 0 π 0Love it!
06.06.2023 03:05 β π 1 π 0 π¬ 0 π 0After a brief hint of summer weather can confirm the PNW forests are back to their resting drip face.
22.05.2023 04:32 β π 0 π 0 π¬ 0 π 0
Talk recording: https://youtu.be/uouH9fsWVIE.
Slides: https://static.sched.com/hosted_files/cloudnativesecurityconna23/23/container_patching_cnscon_2023_castle_panther.pdf (8/8)
Converting stateless containers to non-root is relatively easy, infrastructure-heavy containers are harder.
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)
Challenge 3: root capability management e.g. NET_BIND_SERVICE.
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
Challenge 2: host files that need to be accessed by more than one container and therefore user.
Solution: set group ownership on the host then assign groups to containers using supplementalGroups in securityContext. (5/8)
Challenge 1: containers that need access to files/sockets.
Surprise 1: fsGroup in securityContext canβt set hostpath ownership.
Workaround: set ownership in an init container as root. (4/8)
Migrating one container is not that hard, migrating a whole product or a whole company requires a strategy.
We blocked new rooty containers at code submission time, and burned through the existing ones case-by-case. (3/8)
Why non-root: so many live breakout vulns.
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
βDonβt run containers as rootβ: weβve been saying this for a long time. Is it working?
No.
@vinayaklovespizza and I gave a talk at #KubeCon EU about our journey converting GKE system containers to non-root that explains why.
Hereβs a summaryβ¦ (1/8)
https://youtu.be/uouH9fsWVIE
Thanks Rory! If you were looking for a firehose to drink from, here it is.
18.05.2023 14:02 β π 1 π 0 π¬ 0 π 0Love it. Similar vibe: a co-worker set a SQL injection string as his official job title. Spent years having "but your title shouldn't have those characters" discussions with various internal tool authors.
15.05.2023 20:22 β π 0 π 0 π¬ 0 π 0I love this. And that's how bluesky learned about https://en.m.wikipedia.org/wiki/Well-known_URI
05.05.2023 01:29 β π 2 π 0 π¬ 0 π 0C. For loose leaf I have a single-cup thingy like this: https://a.co/d/hOhmDbA. It's easier to wash it out immediately so I wait for steep. Since I'm in the habit of using steep time as thinking time I do the same for tea bags.
03.05.2023 15:37 β π 1 π 0 π¬ 1 π 0Interesting! Sounds like the plan is to run CAs that only issue short lived certs and essentially opt out of revocation?
27.04.2023 17:05 β π 0 π 0 π¬ 1 π 0#introduction My day job is security of all things Kubernetes and containers. But if you want to have a real conversation let's talk about mountains and bikes. Or XC skiing. Or about how great boot dryers are if you live in the PNW.
25.04.2023 21:59 β π 1 π 0 π¬ 0 π 0