Skip to content

Challenge infrastructure used for the DownUnderCTF competition

License

Notifications You must be signed in to change notification settings

DownUnderCTF/kube-ctf

Repository files navigation

kube-ctf

Pre-configured kubernetes infrastructure with load balancing and some network hardening enabled. Also contains per-team challenge assignment for web challenges. Inspired by kCTF.

How to Setup

  1. Create the cluster
./scripts/cluster-deploy
  1. Configure the cluster and IAM resources.
./scripts/cluster-configure
  1. Install the cluster resources.
./scripts/cluster-install
  1. Create config/values.yaml and populate it with values.
domain:
  challenges: <root domain where challenges are hosted> # challenges will be a subdomain of this

replicas:
  challenge-manager: 2

cert:
  email: <contact email> # required for letsencrypt
  cfDNSToken: <cloudflare dns token> # used to configure dns-01 certificate validation


googleProject: <project ID of the Google Project>
  1. Deploy the helm stack.
helm install kubectf -f config/values.yaml chart/
  1. Upload the sample whoami challenge for testing.
kubectl apply -f templates/whoami/kube-isolated.yaml

How to Deploy Isolated Challenges

See the README at services/challenge-manager

Authors

About

Challenge infrastructure used for the DownUnderCTF competition

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published