RDP (3389) deep assessment — NLA/encryption and ntlm-info disclosure, credential validation and brute, pass-the-hash via Restricted Admin, session hijack/shadow, MITM credential capture, and BlueKeep detection. Tier 2 (BlueKeep is crash-risky). Use when 3389 is open on Windows hosts.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Rdp Deep Pentest?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-rdp-deep-pentest)
---
name: rdp-deep-pentest
description: RDP (3389) deep assessment — NLA/encryption and ntlm-info disclosure, credential validation and brute, pass-the-hash via Restricted Admin, session hijack/shadow, MITM credential capture, and BlueKeep detection. Tier 2 (BlueKeep is crash-risky). Use when 3389 is open on Windows hosts.
---
# RDP Deep Pentest
RDP leaks host/domain/OS via NTLM, accepts password/PtH logons, and has crash-risky pre-auth CVEs. Enumerate and validate creds safely; gate anything that can crash the host.
## Trigger phrases
`rdp, 3389, nla, rdp-ntlm-info, bluekeep, restricted admin, pass the hash rdp, session hijack, pyrdp, rdp brute`
## Execution gate (Tier 2)
BlueKeep (CVE-2019-0708) exploitation can crash/BSOD the target. Before BlueKeep or any pre-auth RCE PoC, ask: (a) "lab/authorized to exploit/research?" → if yes, run fully. If no, (b) "run a dry scan (detection only, no exploitation)?" → if yes, version/scanner-detect ONLY (no crash). Record answers in ./.zazy/scope.md. Enumeration, cred validation, PtH and brute below are Tier-1-safe.
## Method
1. **Enumerate:** `nmap -p3389 --script rdp-ntlm-info,rdp-enum-encryption <IP>` → hostname, NetBIOS/DNS domain, OS build, product version, and NLA status.
2. **NLA check:** NLA off = pre-auth exposure and easier MITM; note it.
3. **Credential validation (no lockout noise):** `nxc rdp <IP> -u user -p pass` (or `-H <hash>`); impacket `rdp_check.py domain/user:pass@<IP>` for valid creds.
4. **Brute (respect lockout):** `hydra -t4 -V -f -l admin -P pass.txt rdp://<IP>`; `crowbar -b rdp -s <IP>/32 -u admin -C pass.txt`.
5. **[Pass-the-Hash] Restricted Admin mode:** if enabled, `xfreerdp /u:admin /pth:<NTLMhash> /v:<IP>` → desktop without the plaintext password.
6. **Connect:** `xfreerdp /u:user /p:pass /v:<IP> /cert:ignore /dynamic-resolution`.
## Modern / rare techniques
- **[BlueKeep detect — gated]** `nmap -p3389 --script rdp-vuln-ms12-020` and dedicated BlueKeep checkers for detection; exploitation only behind the gate (DoS-risky).
- **CVE-2019-9510** — Restricted Admin NLA network-level hijack (reconnect to a locked session).
- **Session hijack / shadow:** with SYSTEM on a host, `tscon <id> /dest:<session>` to take over another RDP session; `query user` to list.
- **[MITM capture] pyrdp / Seth** — on-path RDP proxy captures credentials and keystrokes when NLA is weak (pairs with poisoning/MITM skills, operator L2).
- **Reverse-RDP path traversal** in vulnerable clients when you control the server side.
## Escalation / chaining
Valid creds/PtH → desktop → credential harvest, privesc; hijacked session → inherit a privileged user; domain/OS intel → AD suite; captured creds → lateral-movement/password-spraying.
## Backend & tooling
Kali/WSL or HexStrike (nxc/xfreerdp/hydra/impacket). RDP MITM (pyrdp/Seth) needs operator L2 presence, not the agent container.
## Verification (background, before reporting)
Confirm valid creds with nxc (expect +/Pwn3d) and an actual interactive login (screenshot); re-confirm NLA/encryption state with a second probe; for BlueKeep report detection only unless the gate authorized exploitation and it reproduced in-lab.
## Evidence
rdp-ntlm-info output, cred-validation result, login/hijack screenshot, PtH proof, (gated) BlueKeep detection result, impact. Remediation: enforce NLA, patch (BlueKeep/9510), restrict RDP to jump hosts + MFA, limit Restricted Admin, network-level encryption.