x-glacier/kali-pentest / kali-pentest-zh
kali-pentest-zh
Flagged通过 SSH 或 Docker 使用 Kali Linux CLI 工具执行授权渗透测试。 覆盖:信息收集、漏洞分析、嗅探与欺骗、Web/API 渗透、漏洞利用、密码攻击、无线、云原生安全、RFID/NFC、VoIP/ICS、逆向工程、取证分析、后渗透/C2、报告生成。
references/cloud-native/tools/kube-bench.md
View on GitHub# kube-bench
- **Category**: Cloud-Native / Kubernetes Compliance
- **Risk Level**: 🟢 Low
---
## 描述
按 CIS Kubernetes Benchmark 检查 Kubernetes 节点和集群配置。最适合拥有集群节点 shell 或已配置 Kubernetes 环境的场景。
## 安装
```bash
# 容器化运行是最便携的方式
docker run --rm -v `pwd`:/host aquasec/kube-bench:latest --version
```
## 参数说明
| 参数 | 说明 |
|------|------|
| `--json` | 输出 JSON |
| `--benchmark <name>` | Benchmark 配置/版本 |
| `--version <version>` | 手动指定 Kubernetes version |
| `run --targets <list>` | 限定 checks,如 `master,node,etcd,policies` |
| `-c, --check <id>` | 运行一个或多个逗号分隔的 check ID |
| `--group <id>` | 运行一个或多个逗号分隔 group 中的所有 checks |
| `--skip <id>` | 跳过一个或多个逗号分隔的 checks 或 groups |
| `--outputfile <file>` | 将 JSON 或 JUnit 输出写入文件 |
## 常用命令
```bash
# 运行所有适用 checks 并保存 JSON
kube-bench --json > /tmp/kube-bench.json
# 仅运行 node checks
kube-bench run --targets node --json > /tmp/kube-bench-node.json
# 运行指定 checks
kube-bench --check "1.1.1,1.1.2" --json --outputfile /tmp/kube-bench-selected.json
# 在节点上容器化运行
docker run --rm --pid=host -v /etc:/etc:ro -v /var:/var:ro aquasec/kube-bench:latest --json
```
## 注意事项
1. `kube-bench` 是合规审计工具,不是漏洞利用扫描器。
2. 许多 checks 需要节点文件系统访问;远程未认证扫描不是预期工作流。
3. 报告 failed checks 时补充上下文和修复建议,不默认视为可利用漏洞。
---
## 官方参考
- [kube-bench GitHub](https://github.com/aquasecurity/kube-bench)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |