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/post-exploitation/README.md

View on GitHub
# 后渗透(Post-Exploitation)

获得初始访问权限后,后渗透阶段的目标是:权限提升、持久化、横向移动、数据收集,最终实现对整个目标环境的完全控制。

---

## Golden Path

| 场景 | 首选工具链 | 何时不用 |
|------|----------|---------|
| Linux 提权枚举 | `linpeas` | 补充用 `linux-exploit-suggester`(内核 exploit 候选) |
| Windows 提权枚举 | `winpeas` | — |
| 进程/定时任务监控 | `pspy` | — |
| Windows 凭据提取 | `mimikatz`(本地)或 `lsassy`(远程,无文件落地) | DPAPI secrets 用 `dploot` |
| AD 攻击路径分析 | `bloodhound` (BloodHound-python 采集) | 轻量级 LDAP 查询直接用 `netexec` |
| AD CS 攻击 | `certipy-ad` (ESC1-ESC16) | — |
| Kerberos 中继 | `krbrelayx` | — |
| Kerberos 票据操作 | `impacket` (getTGT/getST/ticketer) | — |
| AD 远程枚举(Linux) | `bloodhound.py` | Windows 上用 SharpHound |
| LDAP 操作 | `bloodyad` | — |
| 代理转发 | `proxychains` + `chisel`/`ligolo-ng` | DNS 隧道用 `dnscat2` |
| C2 / adversary emulation | `sliver` 或 `havoc` | 需要明确 red-team 授权 |
| 后利用 Shell 管理 | `pwncat` | — |
| 定向二进制分析 | 见 `../reverse-engineering/README.md` | — |

---

## 权限提升枚举

**[linpeas](tools/linpeas.md) / [winpeas](tools/winpeas.md)** — 本地权限提升枚举
自动化枚举系统中可利用的权限提升路径,包括 SUID/SUDO 配置、计划任务、服务配置、未打补丁的漏洞等。是获得 shell 后第一步必跑的工具。

**[winpeas](tools/winpeas.md)** — Windows 权限提升枚举
linpeas 的 Windows 对应工具。枚举 AlwaysInstallElevated、未加引号的服务路径、弱服务权限、凭据文件、计划任务等。提供 .exe、.bat(无需 .NET 依赖)和 PowerShell 三种版本。

**[pspy](tools/pspy.md)** — 进程监控(无需 root)
监控系统中运行的进程和命令,发现计划任务、root 执行的脚本等,适合找基于计划任务的提权路径。

**[linux-exploit-suggester](tools/linux-exploit-suggester.md)** — Linux 内核 exploit 暴露分流
根据内核/系统证据推荐候选 Linux 本地权限提升 exploits 和内核加固检查。只作为分流辅助使用;每个候选项在使用前都必须手工验证。

---

## Active Directory 攻击

**[bloodhound](tools/bloodhound.md)** — AD 攻击路径可视化
通过图数据库分析 AD 权限关系,可视化展示从普通用户到域管理员的最短攻击路径。是域渗透的核心侦察工具。

**[bloodhound.py](tools/bloodhound.py.md)** — BloodHound 远程数据采集器(Linux)  
BloodHound 的 Python 实现,从 Linux 攻击机通过 LDAP/SMB 远程采集 AD 数据。无需在目标 Windows 主机上执行 SharpHound,适合从外部进行隐蔽的 AD 枚举。  

**[mimikatz](tools/mimikatz.md)** — Windows 凭据提取
从 Windows 内存中提取明文密码、NTLM 哈希、Kerberos 票据,是 Windows 后渗透的核心工具。需要管理员权限。

---

## 凭据收集

**[lsassy](tools/lsassy.md)** — 远程 LSASS 凭据提取
在不落地转储文件的情况下,远程转储并解析 Windows 目标的 LSASS,返回明文密码、NTLM 哈希和 Kerberos 票据。支持 PTH 认证和多种隐蔽转储方法(comsvcs、procdump 等)。

**[dploot](tools/dploot.md)** — 远程 DPAPI 机密提取
远程提取 Windows 域成员机器上受 DPAPI 保护的机密数据——浏览器保存的密码、WiFi 密码、RDP 凭据、证书等。支持以域凭据或域 DPAPI 备份密钥操作(备份密钥可解密所有用户的全部机密)。

**[hekatomb](tools/hekatomb.md)** — 跨域 DPAPI 凭据提取
跨 Active Directory 域的 DPAPI 凭据提取。

**[lapsdumper](tools/lapsdumper.md)** — LAPS 密码转储
从 AD 计算机对象转储 LAPS 密码。

---

## 权限提升

使用 `linpeas`/`winpeas` 完成初始枚举后,根据目标操作系统采用结构化方法。

### Linux 权限提升路径

按可靠性和隐蔽性依次检查每个向量:

1. **sudo 配置错误** -- `sudo -l` 列出允许的命令。在 [GTFOBins](https://gtfobins.github.io/) 查找可利用的二进制文件。
2. **SUID/SGID 二进制** -- `find / -perm -4000 -type f 2>/dev/null`。与 GTFOBins 交叉比对确认 shell 逃逸。
3. **Cron 任务** -- `cat /etc/crontab`、`ls -la /etc/cron.*`、`pspy` 发现隐藏的定时任务。寻找以 root 运行的可写脚本。
4. **可写服务文件** -- 检查 systemd 单元文件和 init 脚本中的可写路径。
5. **内核漏洞** -- `linux-exploit-suggester` 识别候选项。使用前逐一验证;内核 exploit 可能导致目标崩溃。
6. **Capabilities** -- `getcap -r / 2>/dev/null`。具有 `cap_setuid`、`cap_dac_override` 或 `cap_net_raw` 的二进制文件可能允许提权。
7. **可写 PATH 目录** -- 如果特权进程未使用绝对路径调用二进制文件,在 `$PATH` 更前的位置放置恶意二进制。

### Windows 权限提升路径

按可靠性依次检查每个向量:

1. **服务配置错误** -- 未加引号的服务路径、弱服务 DACL、可写服务二进制。`winpeas` 自动标记这些问题。
2. **计划任务** -- 以 SYSTEM 身份运行且脚本或二进制可写的任务。
3. **AlwaysInstallElevated** -- 如果 HKLM 和 HKCU 注册表键均已设置,任何用户都可以以 SYSTEM 身份安装 MSI 包。
4. **Token impersonation** -- SeImpersonatePrivilege / SeAssignPrimaryTokenPrivilege 允许 potato 系列攻击。按 Windows 版本选择工具:JuicyPotato(Server 2016 及更早版本,需要有效 CLSID)、PrintSpoofer(Server 2019+,利用命名管道)、GodPotato(Server 2019+,兼容性最广)。从各自 GitHub releases 页面下载;这些是 Windows 端二进制文件,不是 Kali 软件包。
5. **未打补丁的漏洞** -- 将 `systeminfo` 输出与已知本地提权 CVE 对比。
6. **凭据文件** -- 无人值守安装文件、PowerShell 历史记录、凭据管理器中保存的凭据。

### 关键工具

- [linpeas](tools/linpeas.md) / [winpeas](tools/winpeas.md) -- 覆盖上述所有向量的自动化枚举。
- [linux-exploit-suggester](tools/linux-exploit-suggester.md) -- 内核 exploit 候选分流。
- [pspy](tools/pspy.md) -- 无需 root 即可发现隐藏的计划进程。

---

## 隧道与跳板转发

获取内部主机访问权限后,建立隧道以到达更深层网络段。

| 工具 | 最佳用途 |
|------|----------|
| `ligolo-ng` | 透明 L3 路由(默认选择) |
| `chisel` | ligolo 不可用时的 HTTP SOCKS |
| `sshuttle` | 透明的 VPN-over-SSH,用于子网级跳板转发(无需远程 agent) |
| `dnscat2` | 仅 DNS 出口可用(TCP/HTTP 被封锁) |
| `socat` | 快速单端口转发 |
| `proxychains` | 通过 SOCKS 代理包装工具 |

隧道建立和工具选项详情见 `../exploitation/README.md`。

---

## Active Directory 证书服务

**[certipy-ad](tools/certipy-ad.md)** — AD CS 漏洞枚举与利用
涵盖 ESC1–ESC16 AD CS 攻击技术:配置错误的模板允许冒充域管理员、NTLM 中继到注册端点,以及 Shadow Credentials。是企业环境中最具影响力的权限提升向量之一。

**[bloodyad](tools/bloodyad.md)** — AD LDAP 权限提升
通过 LDAP 从 Linux 直接执行 AD 滥用技术(ACL 修改、组变更、密码重置、RBCD)。与 BloodHound 配合使用——BloodHound 发现攻击路径,bloodyAD 执行 LDAP 操作。

**[krbrelayx](tools/krbrelayx.md)** — Kerberos 中继攻击工具集  
执行 Kerberos 中继攻击,包括无约束委派利用、基于 DNS 的 Kerberos 中继,以及利用 `addspn` 和 `dnstool` 辅助操控 SPN 和 DNS 记录。是 AD 环境中实施 Kerberos 中继攻击的专用工具集。  

---

## 隧道与横向移动

**[proxychains](tools/proxychains.md)** — 强制代理工具
将任意 TCP 连接强制通过 SOCKS/HTTP 代理,配合 SSH 动态转发或 chisel 实现内网穿透,访问深层网络资源。

**[sshuttle](tools/sshuttle.md)** — 透明的 VPN-over-SSH 跳板转发
透明的 VPN-over-SSH,用于子网级跳板转发。

**[dnscat2](tools/dnscat2.md)** — DNS 隐蔽 C2 信道
通过 DNS 协议建立加密的命令与控制信道——DNS 流量极少被防火墙拦截。支持通过 DNS 隧道进行交互式 shell、文件传输和端口转发。需要一个 NS 记录指向你服务器的域名。

**[Sliver](tools/sliver.md)** — 跨平台 C2 框架
现代对手仿真框架,支持 mTLS、HTTP(S)、DNS、WireGuard 和多种植入体格式。仅在明确 red-team 授权下使用。

**[havoc](tools/havoc.md)** — 现代 C2 框架  
模块化 C2 框架,支持 HTTP/HTTPS 监听器、BOF(Beacon Object Files)加载、.NET 程序集执行和间接系统调用。提供 Teamserver 多人协作和丰富的后渗透模块。仅在明确 red-team 授权下使用。  

**[powershell-empire](tools/powershell-empire.md)** — 后渗透 C2 框架
后渗透 C2 框架,支持 PowerShell/Python/C# agent。

**[powersploit](tools/powersploit.md)** — PowerShell 后渗透模块集合
PowerShell 后渗透模块集合(PowerUp、PowerView、数据外泄、持久化)。

**[pwncat](tools/pwncat.md)** — 后利用 Shell 管理框架  
Python 实现的后利用框架,自动化 Shell 稳定、文件传输、持久化部署和权限提升枚举。将反弹 Shell 升级为全功能后利用平台,支持 Linux 和 Windows 目标。  

获得访问前的初始隧道建立、公共中继和 payload 投递,读取 `../exploitation/README.md`。

---

## 二进制与库分析

二进制安全分流(`checksec`、`readelf`、`rabin2`)、符号/导入分析(`nm`、`ldd`、`objdump`)、凭据提取(`strings`)、十六进制分析(`xxd`)和定向反汇编(`radare2`、`Ghidra Headless`),见 `../reverse-engineering/README.md`。

---

## 交叉引用

- **后渗透 playbook**:`../playbooks/post-exploitation.md` -- 包含决策点、风险关卡和停止条件的完整场景工作流。
- **Active Directory playbook**:`../playbooks/active-directory.md` -- 域枚举、Kerberoasting、DCSync、Golden Ticket 和信任滥用工作流。
- **漏洞利用工具**:`../exploitation/README.md` -- 初始访问、payload 生成和隧道建立。
- **逆向工程**:`../reverse-engineering/README.md` -- 二进制安全分流、符号/导入分析、定向反汇编和 Android 反编译。

## 决策树

当 Golden Path 不适用时选择替代方式:

| 条件 | 动作 |
|------|------|
| linpeas/winpeas 未报告提权路径 | 手动验证:SUID/sudo(Linux)、SeImpersonate/未引用路径(Windows)— 见上方"权限提升"部分 |
| 需要域范围 DPAPI 提取(多主机) | `hekatomb` — 自动获取备份密钥 + 跨所有域机器批量解密 |
| 需要完整 C2 但 sliver 对任务过于复杂 | `pwncat` 用于单主机 Shell 管理 + 自动枚举;`powershell-empire` 用于 Windows 模块库 |
| Windows 目标,需要避免落地文件 | `lsassy`(远程 LSASS,无文件)+ `dploot`(远程 DPAPI)— 无需上传二进制 |

---

## 官方参考

- [Kali Tools](https://www.kali.org/tools/all-tools/)
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: 194kUpdated Claude CodeCodexVerifiedInstall