hunt-k8s

仓库创建 2026年5月5日最近提交 4 天前SkillHot 收录 20 天前
▸ 精选理由

覆盖 kubelet/etcd/docker.sock 等高价值漏洞场景

▸ 风险提示

包含提升权限与逃逸技术,具高危滥用风险

这个 Skill 做什么

定位并利用 Kubernetes/Docker 配置与运行时缺陷实现集群或宿主逃逸

帮你找出并利用 Kubernetes/Docker 的配置或运行时漏洞,把容器逃逸扩展到宿主机或整个集群。常在目标运行容器化基础设施、暴露 K8s 端口(如 6443/10250/2379)或云元数据泄露 ServiceAccount 时使用。覆盖 kubelet exec、docker.sock、etcd 未鉴权、Dashboard skip-login、RBAC/SA-token 滥用等利用链,能把一次 POD 权限提升变成完全控制。

▸ 展开 SKILL.md 英文原文

Hunt Kubernetes & Docker — API anonymous access, kubelet 10250 exec (SPDY/WebSocket, NOT plain POST) and the simpler /run primitive, etcd 2379 unauth, dashboard skip-login, RBAC misconfig, secret/SA-token abuse, docker.sock host escape, runc/container-escape (Leaky Vessels CVE-2024-21626), API-server-mediated nodes/proxy RCE, EphemeralContainers node-shell, bound/projected SA-token audience+expiry abuse, admission-controller bypass, Helm/Tiller remnants. Use when target runs containerized infra, exposes K8s ports (6443/10250/10255/2379/8443), or cloud metadata reveals K8s service accounts.

垂直行业Kubernetes容器逃逸集群安全通用
3.1k
Stars
480
Forks
40
仓库内 Skill
+245
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/elementalsouls/Claude-BugHunter/main/skills/hunt-k8s/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/elementalsouls/Claude-BugHunter/main/skills/hunt-k8s/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# HUNT-K8S — Kubernetes & Docker Security

## Crown Jewel Targets

K8s API anonymous cluster-admin = full cluster control. docker.sock + RCE = host root. A single privileged-pod create or a kubelet `/run` shell pivots one finding to total compromise.

**Highest-value findings:**
- **K8s API anonymous cluster-admin** — `system:anonymous`/`system:unauthenticated` bound to a powerful role (classic misconfig: `system:anonymous` in a `ClusterRoleBinding` to `cluster-admin`) → full `kubectl`. Mere anonymous `200` is NOT this (see false-positive section).
- **Kubelet `10250` exec/run** — `/run` returns command output directly; `/exec` is a SPDY/WebSocket stream (see Phase 3). Either → RCE in any po
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有