Detecting Privilege Escalation In Kubernetes Pods

Detects and prevents privilege escalation inside Kubernetes pods by combining admission control (OPA policies), runtime monitoring (Falco), and audit log analysis of security contexts, Linux capabilities, and syscall patterns. Use when investigating a pod running as root or privileged, hardening workloads against in-pod escalation, or hunting for containers exceeding their intended scope. Keywords: allowPrivilegeEscalation, runAsRoot, capabilities, securityContext, OPA, Falco, audit log. Do not use for escalation through RBAC and service-account permissions - use auditing-kubernetes-rbac-privilege-escalation.

26zl Updated 95 repo stars
Cybersec Toolkit by 26zl: the security toolkit AI agents can drive. One command installs 670+ tools, and an MCP server runs them in a disposable Kata VM under r

File contents

26zl/cybersec-toolkit commit 0e6c9c05ad

Frequently asked questions

npx get-skill add 26zl/detecting-privilege-escalation-in-kubernetes-pods-2