Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
hardening-k8s-containers — Hands-on lab demonstrating Kubernetes container hardening by comparing default vs. security-enhanced deployments of a vulnerable note-taking application. | Kitploit
Tools/GitHubGitHub/cyberhades/hardening-k8s-containers
Container SecurityCloud SecurityMisconfigurationLearning & EducationLabs & Practice
GitHubcyberhades/hardening-k8s-containers

hardening-k8s-containers

Hands-on lab demonstrating Kubernetes container hardening by comparing default vs. security-enhanced deployments of a vulnerable note-taking application.

View Repository

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
516 years agoNot yet reviewed

Intentionally Vulnerable Note Taking Application

This repository contains a very simple and vulnerable application used to demonstrate the differences between deploying this application with the default settings to a Kubernetes cluster, versus adding some extra security settings that WILL NOT fix the application's vulnerabilities, but will restrain an attacker from doing bad things.

To try this yourself, you need access to a Kubernetes cluster, because this application is highly vulnerable you do not want to deploy this in a real cluster unless such cluster is properly isolated.

Minikube

If you want to use minikube, you just can run the provided init.sh script or go step by step:

Start minikube with at least cni plugin

root@kitploit:~
minikube start --extra-config=apiserver.authorization-mode=RBAC --network-plugin=cni --memory=4096 --vm-driver=virtualbox --kubernetes-version v1.15.0

Install Cilium cni plugin

root@kitploit:~
minikube ssh -- sudo mount bpffs -t bpf /sys/fs/bpf
kubectl create -f https://raw.githubusercontent.com/cilium/cilium/1.6.5/install/kubernetes/quick-install.yaml

Change your docker context to the one in minikube, otherwise you'll need to push the docker images to a registry

root@kitploit:~
eval $(minikube docker-env)

Build your "default" docker image

root@kitploit:~
docker build -t notes:v1 .

Build the second docker image with some hardening configuration settings

root@kitploit:~
docker build -t notes:v2 -f Dockerfile.v2 .

Deploy to minikube

root@kitploit:~
kubectl apply -f kube/v1-deploy.yaml -f kube/v1-service.yaml -f kube/v2-deploy.yaml -f kube/v2-service.yaml

Have fun!

Download Tool