Although this is a 4 years old webinar, I found it is still worth for today. The goals of this webinar is to raise the awareness risk in K8s and demonstrate the 'live' hacking and attacking a K8s. It also provides some hardening methods and tips.
Defaults in use early tend to stay in use.
Systems hardened late tend to break.
The webinar introduces a number of tools for securing K8s and a lot of hardening tips for your K8s cluster.
KubeATF - A tool used to automate the creation, validation, and destruction of K8s in a consistent way.
Bulkhead - A plugin that perform security posture scans on all nodes from within your K8s.
Kubernetes Security Best Practices by Ian Lewis, Google
Containers give developers the ability to isolate applications from one
another, but that’s not enough. Resource isolation is much different
that security isolation. How do we make applications deployed in
containers more secure? What tools can be we apply to our containers
running in Kubernetes to make them more secure? How can we apply policy
to our network and services to make sure applications only have access
to what they need and nothing more?
In this talk, attendees will learn about the risks and attack surfaces
of a Kubernetes cluster. s-We'll look at tools like PodSecurityPolicy,
SELinux, AppArmor, seccomp, and sandboxed containers in action to
improve the security of containers. We’ll then go up the stack and learn
how to apply network policy to containers to further improve security.
Agenda:
Security 101
Defense in depth (redundant
Limit the attack surface
Least privilege
Runtime security
Attacking Kubernetes cluster itself, Kubernetes API server
Host security
RBAC
API Firewall
Network security
NetworkPolicy
Secured access to etcd
Run as non-root
Read-only root filesystem
no new privileges (allowPrivilegeEscalation:false)
Most modern desktop and laptop comes with Windows 8 or 10 keys embedded in BIOS. With Windows being installed as VM, someone can find and retrieve Windows 10/11 key using Linux host OS. The key helps to activate the Windows version without any input from users.