Skip to content

x-glacier/kali-pentest / kali-pentest-zh

kali-pentest-zh

Flagged

通过 SSH 或 Docker 使用 Kali Linux CLI 工具执行授权渗透测试。 覆盖:信息收集、漏洞分析、嗅探与欺骗、Web/API 渗透、漏洞利用、密码攻击、无线、云原生安全、RFID/NFC、VoIP/ICS、逆向工程、取证分析、后渗透/C2、报告生成。

FileKindSize
SKILL.mdskill md15.6 KB
references/cloud-native/README.mdmarkdown4.2 KB
references/cloud-native/tools/azurehound.mdmarkdown4.0 KB
references/cloud-native/tools/docker-bench-security.mdmarkdown1.9 KB
references/cloud-native/tools/kube-bench.mdmarkdown1.7 KB
references/cloud-native/tools/kubescape.mdmarkdown1.7 KB
references/cloud-native/tools/pacu.mdmarkdown3.0 KB
references/cloud-native/tools/peirates.mdmarkdown6.4 KB
references/cloud-native/tools/prowler.mdmarkdown1.5 KB
references/cloud-native/tools/scoutsuite.mdmarkdown1.2 KB
references/environment/README.mdmarkdown1.4 KB
references/environment/docker-mode-networking.mdmarkdown2.2 KB
references/environment/docker-mode-persistent-container.mdmarkdown3.8 KB
references/environment/docker-mode.mdmarkdown2.0 KB
references/environment/local-mode.mdmarkdown946 B
references/environment/server-mode.mdmarkdown4.1 KB
references/environment/state-files.mdmarkdown2.3 KB
references/exploitation/README.mdmarkdown9.6 KB
references/exploitation/tools/chisel.mdmarkdown3.2 KB
references/exploitation/tools/coercer.mdmarkdown2.5 KB
references/exploitation/tools/dns2tcp.mdmarkdown3.8 KB
references/exploitation/tools/evil-winrm.mdmarkdown2.9 KB
references/exploitation/tools/evilginx2.mdmarkdown2.2 KB
references/exploitation/tools/getsploit.mdmarkdown2.0 KB
references/exploitation/tools/gophish.mdmarkdown6.1 KB
references/exploitation/tools/impacket.mdmarkdown10.9 KB
references/exploitation/tools/iodine.mdmarkdown3.5 KB
references/exploitation/tools/ligolo-ng.mdmarkdown3.3 KB
references/exploitation/tools/metasploit.mdmarkdown11.0 KB
references/exploitation/tools/mitm6.mdmarkdown2.6 KB
references/exploitation/tools/msfconsole.mdmarkdown3.9 KB
references/exploitation/tools/msfvenom.mdmarkdown8.5 KB
references/exploitation/tools/mssqlpwner.mdmarkdown2.5 KB
references/exploitation/tools/netcat.mdmarkdown4.4 KB
references/exploitation/tools/odat.mdmarkdown3.0 KB
references/exploitation/tools/proxytunnel.mdmarkdown2.2 KB
references/exploitation/tools/routersploit.mdmarkdown2.9 KB
references/exploitation/tools/searchsploit.mdmarkdown4.7 KB
references/exploitation/tools/setoolkit.mdmarkdown1015 B
references/exploitation/tools/smbclient.mdmarkdown2.8 KB
references/exploitation/tools/socat.mdmarkdown2.8 KB
references/exploitation/tools/veil.mdmarkdown2.9 KB
references/forensics/README.mdmarkdown8.8 KB
references/forensics/tools/bulk-extractor.mdmarkdown4.5 KB
references/forensics/tools/chainsaw.mdmarkdown2.6 KB
references/forensics/tools/chkrootkit.mdmarkdown2.6 KB
references/forensics/tools/dc3dd.mdmarkdown2.9 KB
references/forensics/tools/dcfldd.mdmarkdown3.2 KB
references/forensics/tools/ddrescue.mdmarkdown3.6 KB
references/forensics/tools/exiftool.mdmarkdown2.5 KB
references/forensics/tools/foremost.mdmarkdown2.4 KB
references/forensics/tools/hashdeep.mdmarkdown3.5 KB
references/forensics/tools/plaso.mdmarkdown3.7 KB
references/forensics/tools/regripper.mdmarkdown3.4 KB
references/forensics/tools/rkhunter.mdmarkdown3.4 KB
references/forensics/tools/scalpel.mdmarkdown2.6 KB
references/forensics/tools/sleuthkit.mdmarkdown4.0 KB
references/forensics/tools/ssdeep.mdmarkdown3.1 KB
references/forensics/tools/steghide.mdmarkdown2.8 KB
references/forensics/tools/stegseek.mdmarkdown2.5 KB
references/forensics/tools/tcpdump.mdmarkdown2.8 KB
references/forensics/tools/tcpflow.mdmarkdown3.4 KB
references/forensics/tools/testdisk.mdmarkdown3.0 KB
references/forensics/tools/tshark.mdmarkdown3.0 KB
references/forensics/tools/volatility.mdmarkdown5.0 KB
references/forensics/tools/yara.mdmarkdown3.3 KB
references/information-gathering/README.mdmarkdown15.6 KB
references/information-gathering/tools/altdns.mdmarkdown1.9 KB
references/information-gathering/tools/amass.mdmarkdown9.1 KB
references/information-gathering/tools/arp-scan.mdmarkdown1.9 KB
references/information-gathering/tools/assetfinder.mdmarkdown1.9 KB
references/information-gathering/tools/autorecon.mdmarkdown2.9 KB
references/information-gathering/tools/certgraph.mdmarkdown3.3 KB
references/information-gathering/tools/cloud-enum.mdmarkdown2.1 KB
references/information-gathering/tools/cloudbrute.mdmarkdown2.1 KB
references/information-gathering/tools/dig.mdmarkdown2.3 KB
references/information-gathering/tools/dmitry.mdmarkdown2.0 KB
references/information-gathering/tools/dnsenum.mdmarkdown1.7 KB
references/information-gathering/tools/dnsgen.mdmarkdown1.5 KB
references/information-gathering/tools/dnsmap.mdmarkdown1.8 KB
references/information-gathering/tools/dnsrecon.mdmarkdown2.7 KB
references/information-gathering/tools/dnstwist.mdmarkdown3.0 KB
references/information-gathering/tools/dnsx.mdmarkdown2.8 KB
references/information-gathering/tools/eyewitness.mdmarkdown2.4 KB
references/information-gathering/tools/fierce.mdmarkdown2.5 KB
references/information-gathering/tools/finalrecon.mdmarkdown2.4 KB
references/information-gathering/tools/findomain.mdmarkdown2.5 KB
references/information-gathering/tools/fping.mdmarkdown2.3 KB
references/information-gathering/tools/getallurls.mdmarkdown2.4 KB
references/information-gathering/tools/gowitness.mdmarkdown4.8 KB
references/information-gathering/tools/h8mail.mdmarkdown3.9 KB
references/information-gathering/tools/hakrawler.mdmarkdown2.3 KB
references/information-gathering/tools/hosthunter.mdmarkdown2.6 KB
references/information-gathering/tools/httprobe.mdmarkdown2.1 KB
references/information-gathering/tools/httpx.mdmarkdown4.6 KB
references/information-gathering/tools/ldeep.mdmarkdown4.9 KB
references/information-gathering/tools/masscan.mdmarkdown3.8 KB
references/information-gathering/tools/massdns.mdmarkdown1.9 KB
references/information-gathering/tools/metagoofil.mdmarkdown3.0 KB
references/information-gathering/tools/naabu.mdmarkdown2.7 KB
references/information-gathering/tools/nbtscan.mdmarkdown2.2 KB
references/information-gathering/tools/netdiscover.mdmarkdown2.6 KB
references/information-gathering/tools/nmap.mdmarkdown8.4 KB
references/information-gathering/tools/p0f.mdmarkdown2.1 KB
references/information-gathering/tools/recon-ng.mdmarkdown6.6 KB
references/information-gathering/tools/sherlock.mdmarkdown3.7 KB
references/information-gathering/tools/shodan.mdmarkdown3.6 KB
references/information-gathering/tools/spiderfoot.mdmarkdown2.7 KB
references/information-gathering/tools/subfinder.mdmarkdown2.5 KB
references/information-gathering/tools/sublist3r.mdmarkdown1.9 KB
references/information-gathering/tools/theHarvester.mdmarkdown2.9 KB
references/information-gathering/tools/trufflehog.mdmarkdown3.1 KB
references/information-gathering/tools/wafw00f.mdmarkdown1.9 KB
references/information-gathering/tools/whatweb.mdmarkdown5.1 KB
references/information-gathering/tools/whois.mdmarkdown2.0 KB
references/password/README.mdmarkdown11.8 KB
references/password/tools/brutespray.mdmarkdown2.8 KB
references/password/tools/cewl.mdmarkdown2.1 KB
references/password/tools/changeme.mdmarkdown3.0 KB
references/password/tools/chntpw.mdmarkdown2.5 KB
references/password/tools/crowbar.mdmarkdown2.6 KB
references/password/tools/crunch.mdmarkdown2.7 KB
references/password/tools/fcrackzip.mdmarkdown2.3 KB
references/password/tools/gpp-decrypt.mdmarkdown2.6 KB
references/password/tools/hashcat.mdmarkdown4.6 KB
references/password/tools/hashid.mdmarkdown2.1 KB
references/password/tools/hydra.mdmarkdown4.4 KB
references/password/tools/john.mdmarkdown3.2 KB
references/password/tools/kerbrute.mdmarkdown2.8 KB
references/password/tools/medusa.mdmarkdown3.3 KB
references/password/tools/name-that-hash.mdmarkdown3.2 KB
references/password/tools/ncrack.mdmarkdown3.3 KB
references/password/tools/netexec.mdmarkdown3.2 KB
references/password/tools/patator.mdmarkdown2.2 KB
references/password/tools/pdfcrack.mdmarkdown2.9 KB
references/password/tools/rainbowcrack.mdmarkdown2.9 KB
references/password/tools/responder.mdmarkdown2.7 KB
references/playbooks/README.mdmarkdown8.1 KB
references/playbooks/active-directory.mdmarkdown14.0 KB
references/playbooks/api-security.mdmarkdown18.6 KB
references/playbooks/cloud-native-assessment.mdmarkdown17.6 KB
references/playbooks/external-attack-surface.mdmarkdown8.1 KB
references/playbooks/forensics-triage.mdmarkdown11.7 KB
references/playbooks/internal-network-protocols.mdmarkdown6.5 KB
references/playbooks/internal-network.mdmarkdown14.4 KB
references/playbooks/mobile-application.mdmarkdown9.8 KB
references/playbooks/password-audit.mdmarkdown9.0 KB
references/playbooks/post-exploitation.mdmarkdown11.4 KB
references/playbooks/reporting-workflow.mdmarkdown6.3 KB
references/playbooks/rfid-nfc.mdmarkdown7.2 KB
references/playbooks/source-code-audit.mdmarkdown8.4 KB
references/playbooks/voip-ics.mdmarkdown17.3 KB
references/playbooks/web-application.mdmarkdown14.7 KB
references/playbooks/wireless-assessment.mdmarkdown9.6 KB
references/post-exploitation/README.mdmarkdown11.0 KB
references/post-exploitation/tools/bloodhound.mdmarkdown4.8 KB
references/post-exploitation/tools/bloodhound.py.mdmarkdown4.0 KB
references/post-exploitation/tools/bloodyad.mdmarkdown4.1 KB
references/post-exploitation/tools/certipy-ad.mdmarkdown3.2 KB
references/post-exploitation/tools/dnscat2.mdmarkdown3.5 KB
references/post-exploitation/tools/dploot.mdmarkdown4.2 KB
references/post-exploitation/tools/havoc.mdmarkdown3.8 KB
references/post-exploitation/tools/hekatomb.mdmarkdown3.0 KB
references/post-exploitation/tools/krbrelayx.mdmarkdown7.3 KB
references/post-exploitation/tools/lapsdumper.mdmarkdown2.4 KB
references/post-exploitation/tools/linpeas.mdmarkdown3.6 KB
references/post-exploitation/tools/linux-exploit-suggester.mdmarkdown2.8 KB
references/post-exploitation/tools/lsassy.mdmarkdown2.8 KB
references/post-exploitation/tools/mimikatz.mdmarkdown4.2 KB
references/post-exploitation/tools/powershell-empire.mdmarkdown4.0 KB
references/post-exploitation/tools/powersploit.mdmarkdown5.5 KB
references/post-exploitation/tools/proxychains.mdmarkdown2.1 KB
references/post-exploitation/tools/pspy.mdmarkdown2.8 KB
references/post-exploitation/tools/pwncat.mdmarkdown6.4 KB
references/post-exploitation/tools/sliver.mdmarkdown1.4 KB
references/post-exploitation/tools/sshuttle.mdmarkdown3.2 KB
references/post-exploitation/tools/winpeas.mdmarkdown3.0 KB
references/reporting/README.mdmarkdown2.5 KB
references/reporting/tools/pandoc.mdmarkdown3.2 KB
references/reporting/tools/report-template.mdmarkdown8.5 KB
references/reverse-engineering/README.mdmarkdown5.6 KB
references/reverse-engineering/tools/apktool.mdmarkdown1.8 KB
references/reverse-engineering/tools/binwalk.mdmarkdown3.0 KB
references/reverse-engineering/tools/checksec.mdmarkdown3.5 KB
references/reverse-engineering/tools/dex2jar.mdmarkdown3.2 KB
references/reverse-engineering/tools/frida.mdmarkdown2.4 KB
references/reverse-engineering/tools/ghidra-headless.mdmarkdown3.0 KB
references/reverse-engineering/tools/jadx.mdmarkdown2.2 KB
references/reverse-engineering/tools/ldd.mdmarkdown1.9 KB
references/reverse-engineering/tools/nm.mdmarkdown2.3 KB
references/reverse-engineering/tools/objdump.mdmarkdown2.5 KB
references/reverse-engineering/tools/objection.mdmarkdown3.0 KB
references/reverse-engineering/tools/rabin2.mdmarkdown2.3 KB
references/reverse-engineering/tools/radare2.mdmarkdown1.3 KB
references/reverse-engineering/tools/readelf.mdmarkdown2.3 KB
references/reverse-engineering/tools/ropper.mdmarkdown4.1 KB
references/reverse-engineering/tools/strings.mdmarkdown2.3 KB
references/reverse-engineering/tools/xxd.mdmarkdown2.3 KB
references/rfid-nfc/README.mdmarkdown2.7 KB
references/rfid-nfc/tools/libnfc.mdmarkdown2.2 KB

references/playbooks/README.md

View on GitHub
# Playbooks

场景 playbook 描述 Agent 应该如何跨分类组合工具。它们是流程指南,不是参数参考。

按以下顺序使用:

1. 选择与授权任务匹配的 playbook。
2. 用 playbook 决定阶段、停止点、风险门槛和预期产物。
3. 读取 `../<category>/README.md` — 利用 Golden Path 和决策树选择适合的工具。
4. 仅在准备运行某个工具时读取 `../<category>/tools/<name>.md`。

## 决策树

根据授权目标类型匹配正确的 playbook:

| 授权目标 | Playbook |
|----------|----------|
| IP 范围 / CIDR / 内部网络 | `internal-network.md` |
| 域名 / 公司名称 / 公网 IP | `external-attack-surface.md` |
| Web URL / Web 应用 | `web-application.md` |
| GraphQL / OpenAPI / gRPC / WebSocket API | `api-security.md` |
| 纯 API 端点(仅 HTTP/HTTPS,无其他服务)/ 用户提供 API 文档、Swagger 或 Postman 集合 | `api-security.md` |
| Active Directory 域 / 域控 / Windows 域 | `active-directory.md` |
| 哈希文件 / 凭据列表 / 服务登录 | `password-audit.md` |
| Wi-Fi SSID / BSSID / 无线信道 | `wireless-assessment.md` |
| Bluetooth / BLE 目标 | `wireless-assessment.md` + `../wireless/README.md` |
| 云账户 / Kubernetes / 镜像仓库 / Docker 主机 | `cloud-native-assessment.md` |
| APK / IPA / 移动应用运行时 | `mobile-application.md` |
| RFID / NFC / smart card / 物理凭据 / 嵌入式设备固件 | `rfid-nfc.md` |
| SIP / IAX / VoIP / ICS / OT / PLC / Modbus / IPMI / BMC | `voip-ics.md` |
| 已有 shell / 授权初始访问 | `post-exploitation.md` |
| 磁盘镜像 / 内存转储 / pcap / 日志文件 | `forensics-triage.md` |
| 源码仓库 / 依赖清单文件 / CI 产物 | `source-code-audit.md` |
| 测试完成,需要生成报告 | `reporting-workflow.md` |
| 以上均不匹配 / 通用渗透测试 / 目标类型不明确 | `internal-network.md`(默认) |

`internal-network.md` 是默认 playbook。当目标无法明确匹配以上任何专项场景时,从 `internal-network.md` 开始——其主机发现、端口扫描和逐服务测试流程会揭示应切换到哪个专项 playbook。

**多 Playbook 执行顺序:** 当目标同时匹配多个 playbook 时(例如带有 Web 服务的 IP 同时匹配 `internal-network.md` 和 `web-application.md`),从 `internal-network.md` 开始进行主机和服务发现。完成所有已发现服务的逐服务测试矩阵后,再切换到专项 playbook 进行深入测试。专项 playbook 完成后,返回原 playbook 的下一个未完成阶段继续执行。

内网测试中的交叉引用触发条件:

- 在内网扫描中发现 AD 域 → 切换到 `active-directory.md`
- 在枚举的主机中发现 Web 应用 → 切换到 `web-application.md`
- 发现 API 密集型应用或 API schema → 切换到 `api-security.md`
- 目标仅暴露 HTTP/HTTPS API(无其他服务)或用户提供 API 文档 → 切换到 `api-security.md`
- 发现 Kubernetes、Docker API、镜像仓库或云资产 → 切换到 `cloud-native-assessment.md`
- 发现 VoIP 或 ICS/OT 服务 → 切换到 `voip-ics.md`
- 获得初始访问 → 切换到 `post-exploitation.md`
- 发现入侵痕迹(恶意软件、未授权访问、数据外传迹象)→ 切换到 `forensics-triage.md`
- 在 AD 枚举中捕获到哈希 → 切换到 `password-audit.md`

## 可用 Playbook

| 场景 | 文件 | 覆盖范围 |
|------|------|---------|
| 内网或全面渗透测试 | `internal-network.md` | 主机发现、端口扫描、服务枚举、漏洞验证、凭据测试,以及向专项 playbook 的切换 |
| 内网协议枚举 | `internal-network-protocols.md` | SMB、MSRPC、SNMP、SMTP、DNS、数据库和 RDP 协议专项枚举与测试 |
| 公网攻击面 | `external-attack-surface.md` | OSINT、子域名枚举、端口/服务发现、Web 指纹识别,以及向 web/API playbook 的移交 |
| Web 应用 | `web-application.md` | 爬取、DAST 扫描、认证测试、注入、CMS 专项检查和手动验证 |
| API 安全 | `api-security.md` | Schema 恢复、端点发现、认证/授权测试(BOLA、JWT)、fuzzing、速率限制和业务逻辑 |
| Active Directory | `active-directory.md` | AD 枚举、Kerberoasting、AS-REP roasting、中继攻击、ACL 滥用、AD CS、凭据提取和域提权 |
| 密码审计 | `password-audit.md` | 哈希识别、离线破解(hashcat/john)、密码喷洒、默认凭据和凭据复用 |
| 无线评估 | `wireless-assessment.md` | 适配器设置、WiFi 侦察、握手包捕获、WPS 攻击、恶意双胞胎、Bluetooth/BLE 枚举和认证后测试 |
| 云原生评估 | `cloud-native-assessment.md` | 多云态势、云平台专项审计(AWS/Azure/GCP)、Kubernetes 安全、容器/镜像仓库扫描和无服务器(Serverless)审查 |
| 移动应用评估 | `mobile-application.md` | 静态分析、数据存储审查、网络安全、运行时插桩和二进制保护 |
| RFID/NFC 评估 | `rfid-nfc.md` | 卡片识别、RFID/NFC 评估、smart-card 测试、嵌入式设备检查和固件分析 |
| VoIP/ICS 协议 | `voip-ics.md` | VoIP/SIP 枚举、ICS/OT 发现、IPMI/BMC 检查、SNMP 测试和协议专项只读验证 |
| 后渗透 | `post-exploitation.md` | 权限提升、凭据收集、横向移动、持久化、隧道和 C2/对手模拟 |
| 取证分诊 | `forensics-triage.md` | 证据处理、内存/磁盘/网络分析、时间线构建、日志分析和工件提取 |
| 源码与依赖审计 | `source-code-audit.md` | SAST、密钥扫描、依赖/SCA 分析、IaC 扫描和 CI/CD 流水线审查 |
| 报告流程 | `reporting-workflow.md` | 发现整理、严重性评分(CVSS)、证据打包、报告生成和交付 |

## 交叉引用图

Playbook 之间在测试过程中发现新信号时会频繁相互移交:

| 来源 Playbook | 目标 Playbook | 触发条件 |
|---------------|---------------|----------|
| `internal-network` | `internal-network-protocols` | 需要协议专项测试 |
| `internal-network` | `active-directory` | 发现 AD 域 |
| `internal-network` | `web-application` | 发现 HTTP 服务 |
| `internal-network` | `api-security` | 发现 API 端点 |
| `internal-network` | `cloud-native-assessment` | Kubernetes/Docker/云元数据 |
| `internal-network` | `voip-ics` | VoIP/ICS/OT 服务 |
| `internal-network` | `password-audit` | 捕获到哈希 |
| `internal-network` | `post-exploitation` | 获得初始访问 |
| `external-attack-surface` | `web-application` | 发现 Web 应用 |
| `external-attack-surface` | `api-security` | 发现 API 端点 |
| `external-attack-surface` | `reporting-workflow` | 发现就绪 |
| `active-directory` | `password-audit` | 哈希待破解 |
| `active-directory` | `post-exploitation` | 域沦陷 |
| `cloud-native-assessment` | `internal-network` | VPC 网络测试 |
| `cloud-native-assessment` | `post-exploitation` | 容器逃逸 |
| `cloud-native-assessment` | `source-code-audit` | CI/CD 流水线审查 |
| `cloud-native-assessment` | `reporting-workflow` | 发现就绪 |
| `forensics-triage` | `password-audit` | 加密证据 |
| `forensics-triage` | `reporting-workflow` | 文档记录 |
| `rfid-nfc` | `wireless-assessment` | 蓝牙近距离估算 |
| `rfid-nfc` | `reporting-workflow` | 证据打包 |
| `api-security` | `web-application` | 通用 Web 测试 |
| 所有 playbook | `reporting-workflow` | 最终交付物 |

## 分类参考

选择 playbook 后,读取对应分类 README 选择适合的工具:

| 范围 | 参考文档 |
|------|----------|
| 信息收集与 OSINT | `../information-gathering/README.md` |
| 漏洞分析 | `../vulnerability/README.md` |
| 嗅探与欺骗 | `../sniffing-spoofing/README.md` |
| Web 应用与 API 测试 | `../web/README.md` |
| 漏洞利用与跳板转发 | `../exploitation/README.md` |
| 密码攻击与破解 | `../password/README.md` |
| 无线与 Bluetooth | `../wireless/README.md` |
| 云原生安全 | `../cloud-native/README.md` |
| 逆向工程 | `../reverse-engineering/README.md` |
| RFID/NFC | `../rfid-nfc/README.md` |
| VoIP/ICS 协议 | `../voip-ics/README.md` |
| 取证与分诊 | `../forensics/README.md` |
| 后渗透工具 | `../post-exploitation/README.md` |
| 报告生成 | `../reporting/README.md` |
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: 472kUpdated Claude CodeCodexVerifiedInstall
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: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 196kUpdated Claude CodeCodexVerifiedInstall