4.2. Scenario 2

First setup the Scenario:

bash <(curl -sL https://kubernetes-security.songlaa.com/ctf/2/2setup.sh)
# you might need to wait 1 minute if access to ssh fails

You were overhearing a conversation and heard the password “songlaa”. When you did some osint you found the IP of server. Now you have access to a Kubernetes Cluster! Try to become cluster admin and find some flags along the way!

Just a few hints:

  • This is a very small cluster, expect 256 services at max. Services are on their normal ports.
  • At a later stage you might want to forward some connections. You can use tools like frp

Task 4.2.1: Cleanup

Execute this:

kind delete cluster