Downloads, golang, Hacking Tools, Kubestroyer, Scanning, Swiss Army Knife

Kubestroyer – Kubernetes Exploitation Tool

About The Project

Kubestroyer is a Golang exploitation tool that aims to take advantage of Kubernetes clusters misconfigurations.

The tool is scanning known Kubernetes ports that can be exposed as well as exploiting them.

Getting Started

To get a local copy up and running, follow these simple example steps.


  • Go 1.19
    tar -C /usr/local -xzf go1.19.4.linux-amd64.tar.gz


Use prebuilt binary


Using go install command :


build from source:

  1. Clone the repo
    $ git clone
  2. build the binary
    $ go build -o Kubestroyer cmd/kubestroyer/main.go 


-t / –targetTarget (IP, domain or file)Mandatory-t localhost, / -t ./domain.txt
–node-scanEnable node port scanning (port 30000 to 32767)Optionnal-t localhost –node-scan
–anon-rceRCE using Kubelet API anonymous authOptionnal-t localhost –anon-rce
-xCommand to execute when using RCE (display service account token by default)Optionnal-t localhost –anon-rce -x “ls -al”

Currently supported features

  • Target

    • List of multiple targets
    • Input file as target
  • Scanning

    • Known ports scan
    • Node port scan (30000 to 32767)
    • Port description
  • Vulnerabilities

    • Annon RCE on Kubelet
      • Choose command to execute


See the open issues for a full list of proposed features (and known issues).


Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag “enhancement”. Don’t forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request


Distributed under the MIT License. See LICENSE.txt for more information.


Rolix – @Rolix_cy[email protected]

Project Link:

Source : KitPloit – PenTest Tools!

Previous ArticleNext Article
Send this to a friend