
The instructor demonstrates a three-node Kubernetes lab setup, detailing RAM configuration and a naming convention (master, worker one, Gartley), with machines left fresh for installation.
Set up a Kubernetes cluster on virtual machines with a bridge adapter. Install Docker, initialize the master node, deploy a CNI like Flannel, and join the worker node.
Create a cluster role and cluster role binding to let a service account list parts across the cluster beyond a single namespace, demonstrating cross-namespace access and pen testing setup.
Demonstrate post exploitation in a Kubernetes cluster by downloading the cube control binary, enumerating parts, nodes, and services, then obtaining shells and accessing API and web app source code.
Learn how exposing the Kubelik API with anonymous authentication enables remote code execution and information disclosure, risking full cluster compromise on Kubernetes.
discover how to use Kube Hunter, a free open-source Aqua Security tool, to scan Kubernetes clusters for misconfigurations and exposed Kubelik API, deploying via container and scanning network 192.168.1.0/24.
Learn to harden Kubernetes containers with security context, applying non-root user accounts, read-only file systems, and dropped capabilities at the pod level.
Apply seccomp profiles to restrict specific syscalls in containers, using a kernel feature as a firewall to harden Kubernetes workloads.
Kubernetes security, to some people is a complex subject because of the overwhelming jargon and the complex setup it requires to have a multi node cluster especially when you are doing it for the first time. The goal of this Course is to make things clearer and easier for those who are new to Kubernetes and Kubernetes security world.