Skip to content
This repository has been archived by the owner on Dec 22, 2019. It is now read-only.

mhausenblas/kaput

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

kaput

kaput is the Kubernetes Attack and Policy Underminer Tool— think of it as a toolbox exploiting known weaknesses and vulnerabilities in the Kubernetes control and data plane. In a nutshell, kaput mainly coordinates a collection of existing tools to probe Kubernetes clusters and respectively creates a report for the cluster admin to act on.

I plan to use the following tools to gather candidate attack paths:

In addition to the above tools, kaput will (at some point in time) implement some simple attacks itself, including but not limited to:

  • some of the low-hanging fruits demonstrated in Hacking & Hardening Kubernetes By Example
  • pod-level: check if cluster is RBAC enabled, check if default SA is used and/or locked down
  • service-level: check if it pod can see and communicate with other services in same/different namespaces (NetworkPolicy check)
  • node-level: poisoning of a node via pod running on the node
  • system-level: check if one can get to stuff into the kube-system namespace

Use

Something like:

$ kaput --cluster=https://192.168.64.14:8443 --profile=generic,po,svc
Summary: found 12 potential vulnerabilities of which 3 are exploitable
Control plane:
...

About

Kubernetes Attack and Policy Underminer Tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages