Skip to content
Back to skills

Post Exploit Windows

ASecurity

Windows post-exploit: privesc, LSASS/SAM, tokens, persistence

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
securitygoshelltestingdatabase

Works with

  • mcp

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned November 29, 2026

npx -y skills add blackfoxxx/kestrel --skill post-exploit-windows --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Post Exploit Windows?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Post Exploit Windows
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/blackfoxxx-post-exploit-windows/badge)](https://www.skillsdirectory.com/skills/blackfoxxx-post-exploit-windows)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: post-exploit-windows
description: "Windows post-exploit: privesc, LSASS/SAM, tokens, persistence"
metadata: 
tags: "post-exploit,windows,privesc,domain,credential,privilege-escalation,post-exploitation,uac,sam,lsass,mimikatz,domain,windows-privesc,windows-post-exploit,hashdump,printnightmare,CVE-2021-34527,CVE-2021-1675,print-spooler-rce"
category: "postexploit"
mitre_attack: "T1003,T1055,T1053,T1547,T1112"
mcps: pentest mcp, context1337, autopen
---

# Windows Post-Exploitation Methodology

## ⛔ Further References (Required Reading)

- Need detailed Potato/service/UAC/kernel privilege escalation commands → [references/windows-privesc.md](references/windows-privesc.md)
- Need SAM/LSASS/browser credential extraction, domain reconnaissance, sensitive data search → [references/windows-credential.md](references/windows-credential.md)
- Need KrbRelayUp/AMSI bypass/Potato compatibility matrix/privilege mapping table → [references/ad-privesc-techniques.md](references/ad-privesc-techniques.md)
- → [references/printnightmare-attack.md](references/printnightmare-attack.md) — CVE-2021-34527 PrintNightmare remote code execution

---

## Phase 1: Basic Information Gathering

```cmd
whoami /all                 # User, groups, privileges (key! check for SeImpersonate)
systeminfo                  # System version, patches, domain info
ipconfig /all               # Network config (DNS server = domain controller IP)
net localgroup Administrators
```

### Key Privileges → Privilege Escalation Path

| Privilege | Escalation Method |
|------|----------|
| SeImpersonatePrivilege | Potato family (GodPotato has the best compatibility) |
| SeBackupPrivilege | Read SAM/SYSTEM registry hives |
| SeDebugPrivilege | Dump LSASS |
| In Administrators group but restricted by UAC | fodhelper.exe bypass |

### 30-Second Quick Privilege Escalation Check

| # | Check Item | Command | Escalation Method |
|---|--------|------|----------|
| 1 | Token privileges | `whoami /priv` | SeImpersonate → Potato |
| 2 | User groups | `whoami /groups` | Administrators → UAC bypass |
| 3 | Service permissions | `sc qc [service]` | Writable service binary → replace |
| 4 | Unquoted Path | `wmic service get name,pathname` | Unquoted path containing spaces |
| 5 | AlwaysInstall | `reg query HKLM\...\Installer` | MSI installs as SYSTEM |
| 6 | Auto-logon | `reg query "HKLM\...\Winlogon"` | DefaultPassword exposure |
| 7 | Missing patches | `systeminfo` | Kernel privilege escalation CVE |

**Quick assessment**: Web shells usually have SeImpersonate → prioritize Potato for privilege escalation.

## Phase 2: Privilege Escalation Decision Tree

```
What is the current privilege level?
├─ Has SeImpersonate → Potato privilege escalation (most common) → [references/windows-privesc.md](references/windows-privesc.md)
├─ In Administrators group + UAC restricted → UAC bypass → [references/windows-privesc.md](references/windows-privesc.md)
├─ Low privilege → check services/AlwaysInstallElevated/kernel vulnerabilities → [references/windows-privesc.md](references/windows-privesc.md)
└─ Already SYSTEM/Admin → proceed directly to credential extraction
```

## Phase 3: Credential Extraction Decision Tree

```
What credentials are needed?
├─ Local account hashes → SAM database (reg save)
├─ Domain credentials/plaintext passwords → LSASS memory (Mimikatz / comsvcs.dll)
├─ Browser passwords → Chrome Login Data / Firefox logins.json
└─ Other → Credential Manager cmdkey, PowerShell history, config file search
Detailed commands → [references/windows-credential.md](references/windows-credential.md)
```

## Phase 4: Domain Environment Determination

If `systeminfo` shows a Domain other than WORKGROUP → domain environment, requiring domain penetration testing.

## Notes
- **Gather first, then escalate**: the output of whoami /all determines the entire privilege escalation route
- **Choosing a Potato variant**: unsure which version → GodPotato (broadest compatibility)
- **LSASS dump alternative**: comsvcs.dll MiniDump requires no Mimikatz upload

## UAC Bypass
- Auto-elevate whitelisted programs such as fodhelper.exe can bypass UAC

## LSASS Dumping
- comsvcs.dll method: evades AV, leaves no file on disk, LOLBins (living-off-the-land binaries, built-in system tools)

Files in this skill

  • SKILL.md4.3 KB
  • references/ad-privesc-techniques.md7.8 KB
  • references/printnightmare-attack.md5.8 KB
  • references/windows-credential.md1.8 KB
  • references/windows-privesc.md4.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.