Description
K8Spider is a command-line tool for discovering services inside a Kubernetes cluster, presented by its author as a Kubernetes penetration testing aid. It was inspired by k8slanparty and extends the idea to list every service installed in a cluster and every exposed port on those services. The main attack command tries wildcard lookups and zone transfer dumps first, then brute-forces service names across the cluster. Other commands cover a neighbor scan for pod addresses, a service lookup that returns registered ports, a subnet scan limited to PTR records, and helpers that find the cluster DNS server and read metrics. The README shows running it from a pod started with kubectl run, and it notes that if cluster DNS is reachable from outside, the cluster can be scanned remotely. A threading mode and a custom DNS server option are described for larger runs. The project has build instructions and publishes releases on its release page.…
Highlights
- Enumerate services and exposed ports in a cluster
- Wildcard lookups and zone transfer dumping
- Brute-force service discovery
- Threaded mode and custom DNS server option
- Subnet and neighbor scans for pod addresses
Ratings & Reviews
No ratings yet
Be the first to rate K8spider.
People also visit
Kubenav
kubenav is the navigator for your Kubernetes clusters right in your pocket
K8spider FAQ
What is K8Spider used for?
The project describes it as a Kubernetes penetration testing tool for service discovery. It maps the services and ports that a cluster's DNS exposes.
Where does it run?
The README shows it running inside the cluster as a pod started with kubectl run. It also says that a DNS server reachable from outside lets you scan the cluster remotely.
What does the normal attack do?
The normal attack command tries wildcard and zone transfer lookups first, then brute-forces service names across the cluster.
How do I get it?
Build it from source using the Build section of the README, or download a release from the project's release page.
Is it free?
The source code is public on GitHub. The README does not state a license or price.
What are the best K8spider alternatives?
Popular alternatives to K8spider include Kubefwd, Kubenav and Kubernetes Security Kcsa Mock. See all K8spider alternatives





