Greg Castle
gregcastle.bsky.social
Greg Castle
@gregcastle.bsky.social
Security for Google Kubernetes Engine. Former pentester, DFIR and OS X security
he/him
Reposted by Greg Castle
it was impossible to know what was coming unless you paid even a little bit of attention
February 5, 2025 at 12:52 AM
@evelyndouek.bsky.social @stamos.org I keep refreshing the moderated content podcast page....So much to cover! moderated-content.simplecast.com
January 17, 2025 at 4:14 PM
This story is wild
Okay. This excerpt from the new book all about how Elon shut down the Sacramento Twitter data center is way more batshit crazy than even I expected. www.cnbc.com/amp/2023/09/...
September 12, 2023 at 5:11 AM
So sorry to hear this 😢
Last Wednesday evening Kris Nova had a climbing accident and died.

All of us that loved her are heart broken and stunned.  She was an amazing person that lived out loud and built connection and community wherever she went.  She will be horribly missed.
August 21, 2023 at 3:39 AM
Spotify 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.
Analyzing Volatile Memory on a Google Kubernetes Engine Node
TL:DR At Spotify, we run containerized workloads in production across our entire organization in five regions where our main production workloads are in Google Kubernetes Engine (GKE) on Google Cloud ...
engineering.atspotify.com
July 3, 2023 at 3:19 PM
After a brief hint of summer weather can confirm the PNW forests are back to their resting drip face.
May 22, 2023 at 4:32 AM
“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
Least Privilege Containers: Keeping a Bad Day from Getting Worse - Greg Castle \u0026 Vinayak Goyal
Least Privilege Containers: Keeping a Bad Day from Getting Worse - Greg Castle \u0026 Vinayak Goyal, Google “Don’t run containers as root”. The K8s security community has been saying this for years. There’s tools that can detect these types of misconfigurations. But detection, and knowing you have a problem, is just the start of the journey. How do you actually fix it? What can you do if those permissions are required for the container to work? We’ve run multiple de-privileging efforts for production containers. In 2020 we focused on converting containers from running as root to running as unprivileged users. In 2021 we moved containers to minimal distroless images. For some containers the solution was as simple as removing unused permissions. But sometimes we needed to do something more drastic, like charge the design of the container to segment out powerful permissions, or split functionality out into initContainers. We’ll share how we approached these tasks, what we learned working through problems with container owners, and describe how we put checks in place to prevent new privileged containers from appearing in the future.
youtu.be
May 19, 2023 at 8:19 PM
Thanks Rory! If you were looking for a firehose to drink from, here it is.
For anyone interested in Kubernetes and Cloud Native Security, I've put together a site with over 600 talks from past Kubecons/Cloud Native Security cons on the topic https://talks.container-security.site/
May 18, 2023 at 2:02 PM
Love 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.
Ok how much does this handle break
May 15, 2023 at 8:22 PM
I love this. And that's how bluesky learned about https://en.m.wikipedia.org/wiki/Well-known_URI
May 5, 2023 at 1:29 AM
#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.
April 25, 2023 at 9:59 PM