What problem does it solve?
During authorized Windows and Active Directory assessments, testers need a structured methodology to enumerate, authenticate to, and exploit Windows Remote Management (WinRM/WS-Management) on ports 5985/5986 without missing critical checks like NTLM relay exposure or unauthenticated OMI RCE.
Core Features & Use Cases
- Service Detection and Credential Validation: Confirm WinRM configuration with Test-WSMan and validate credentials or NT hashes at scale using netexec/crackmapexec, including remote-exec capability checks.
- Interactive Shells and Command Execution: Establish evil-winrm sessions via password, pass-the-hash, Kerberos, or certificate authentication, plus one-off command execution and PowerShell remoting from Linux with pypsrp.
- Advanced Attack Paths: Relay coerced NTLM authentication to unencrypted WS-MAN listeners with ntlmrelayx.py and test Azure Linux OMI instances for OMIGOD (CVE-2021-38647) unauthenticated RCE.
- Use Case: A pentester holding a dumped local admin NT hash uses evil-winrm pass-the-hash to obtain an interactive PowerShell shell on a target, then documents the access with evidence and remediation guidance in the structured finding format.
Quick Start
Ask the AI to enumerate and test WinRM on an authorized target at 192.168.1.10 using the pentesting-winrm skill, starting with port detection and credential validation.