Back to skills
SKILL.md
Post Exploit Windows
ASecurityWindows 系统后渗透全流程。当通过 RCE/webshell/RDP 获取到 Windows shell 后使用。覆盖系统信息收集、UAC 绕过、本地提权、凭据提取(SAM/LSASS/浏览器)、域信息侦察。适用于独立主机和域环境
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added October 17, 2026
Security analysis
100/100Pro scans all 7 files and shows the line behind each finding
npx -y skills add NetVar1337/agent-skill-canon --skill post-exploit-windows --agent claude-codeAre you the author of Post Exploit Windows?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/netvar1337-post-exploit-windows)---
name: post-exploit-windows
description: "Windows 系统后渗透全流程。当通过 RCE/webshell/RDP 获取到 Windows shell 后使用。覆盖系统信息收集、UAC 绕过、本地提权、凭据提取(SAM/LSASS/浏览器)、域信息侦察。适用于独立主机和域环境"
metadata:
tags: "post-exploit,windows,privesc,domain,credential,提权,后渗透,uac,sam,lsass,mimikatz,域,windows提权,windows后渗透,hashdump,printnightmare,CVE-2021-34527,CVE-2021-1675,print-spooler-rce"
category: "postexploit"
mitre_attack: "T1003,T1055,T1053,T1547,T1112"
---
# Windows 后渗透方法论
## ⛔ 深入参考(必读)
- 需要 Potato/服务/UAC/内核提权详细命令 → [references/windows-privesc.md](references/windows-privesc.md)
- 需要 SAM/LSASS/浏览器凭据提取、域侦察、敏感数据搜索 → [references/windows-credential.md](references/windows-credential.md)
- 需要 KrbRelayUp/AMSI 绕过/Potato 兼容矩阵/权限映射表 → [references/ad-privesc-techniques.md](references/ad-privesc-techniques.md)
- → [references/printnightmare-attack.md](references/printnightmare-attack.md) — CVE-2021-34527 PrintNightmare 远程代码执行
---
## Phase 1: 基础信息收集
```cmd
whoami /all # 用户、组、权限(关键!看有没有 SeImpersonate)
systeminfo # 系统版本、补丁、域信息
ipconfig /all # 网络配置(DNS 服务器 = 域控 IP)
net localgroup Administrators
```
### 关键权限 → 提权路径
| 权限 | 提权方法 |
|------|----------|
| SeImpersonatePrivilege | Potato 系列(GodPotato 兼容性最好)|
| SeBackupPrivilege | 读取 SAM/SYSTEM 注册表 |
| SeDebugPrivilege | dump LSASS |
| 管理员组但被 UAC 限制 | fodhelper.exe 绕过 |
### 30 秒快速提权检查
| # | 检查项 | 命令 | 提权方法 |
|---|--------|------|----------|
| 1 | Token 权限 | `whoami /priv` | SeImpersonate → Potato |
| 2 | 用户组 | `whoami /groups` | Administrators → UAC 绕过 |
| 3 | 服务权限 | `sc qc [service]` | 可写服务二进制 → 替换 |
| 4 | Unquoted Path | `wmic service get name,pathname` | 含空格未加引号路径 |
| 5 | AlwaysInstall | `reg query HKLM\...\Installer` | MSI SYSTEM 安装 |
| 6 | 自动登录 | `reg query "HKLM\...\Winlogon"` | DefaultPassword 泄露 |
| 7 | 补丁缺失 | `systeminfo` | 内核提权 CVE |
**快速判断**:Web shell 通常有 SeImpersonate → 优先用 Potato 提权。
## Phase 2: 提权决策树
```
当前权限?
├─ 有 SeImpersonate → Potato 提权(最常见)→ [references/windows-privesc.md](references/windows-privesc.md)
├─ 管理员组 + UAC 限制 → UAC 绕过 → [references/windows-privesc.md](references/windows-privesc.md)
├─ 低权限 → 检查服务/AlwaysInstallElevated/内核漏洞 → [references/windows-privesc.md](references/windows-privesc.md)
└─ 已是 SYSTEM/Admin → 直接进入凭据提取
```
## Phase 3: 凭据提取决策树
```
需要什么凭据?
├─ 本地账户哈希 → SAM 数据库(reg save)
├─ 域凭据/明文密码 → LSASS 内存(Mimikatz / comsvcs.dll)
├─ 浏览器密码 → Chrome Login Data / Firefox logins.json
└─ 其他 → 凭据管理器 cmdkey、PowerShell 历史、config 文件搜索
详细命令 → [references/windows-credential.md](references/windows-credential.md)
```
## Phase 4: 域环境判断
如果 `systeminfo` 显示 Domain 不是 WORKGROUP → 域环境,需进行域渗透。
## 注意事项
- **先收集再提权**:whoami /all 的输出决定整个提权路线
- **Potato 系列选择**:不确定版本 → GodPotato(最广泛兼容)
- **LSASS dump 替代方案**:comsvcs.dll MiniDump 不需要上传 Mimikatz
## UAC 绕过
- fodhelper.exe 等自动提升(auto-elevate)的白名单程序可绕过 UAC
## LSASS 转储
- comsvcs.dll 方法:杀软绕过,不落地文件,LOLBins(系统自带工具)
Files in this skill
- SKILL.md
- evals/evals.json
- evals/recall.json
- references/ad-privesc-techniques.md
- references/printnightmare-attack.md
- references/windows-credential.md
- references/windows-privesc.md
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.