Skip to content

mrtc0/kubectf

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

kubectf

Requirements

  • minikube
  • kubectl
  • Docker Engine
    • Add { "insecure-registries": ["docker.for.mac.localhost:5000"] } to Docker configuration.

more information docs/requirements.md

Getting Started

$ minikube start --driver=virtualbox
$ ./setup.sh

Rule

Assuming you've penetrated a vulnerable Pod, perform a privilege escalation and look for a Flag (a string of the format k8sctf{...} ).
There is a victim pod in the namespace for each problem, and you enter into this pod to challenge the problem.
No changes should be made to anifests. You should work within Pod as a attacker.

$ kubens mountme
❯ kubectl get pods
NAME                      READY   STATUS    RESTARTS   AGE
victim-7c5745b4dc-jxd5t   1/1     Running   0          14m

❯ kubectl exec -it victim-7c5745b4dc-jxd5t bash
I have no name!@victim-7c5745b4dc-jxd5t:/$

Challenges

Title Difficulty Description
Mount me 🔥 Link
Can You Keep A Secret? 🔥 Link
Treasure Hunt 🔥🔥 Link
Mount me 2 🔥🔥 Link
Sniff 🔥🔥 Link

Writeups

TBD

Releases

No releases published

Sponsor this project

Packages

No packages published