WinRM Configuration Enumeration
Enumerate WinRM service configuration, authentication methods, and remote management settings to identify misconfigurations and attack vectors on Windows targets.
HackIndex.io
Language
WinRM (Windows Remote Management) is Microsoft's implementation of the WS-Management protocol for remote administration of Windows systems. It runs on TCP port 5985 for HTTP and TCP port 5986 for HTTPS. Nmap identifies it as wsman or http with WinRM-specific responses.
WinRM is a primary lateral movement vector in Windows and Active Directory environments. It provides full PowerShell remoting capabilities, meaning valid credentials grant interactive command execution on the target. Tools like evil-winrm, crackmapexec, and PowerShell's Enter-PSSession use WinRM for post-exploitation access. It supports NTLM and Kerberos authentication, making it compatible with pass-the-hash and pass-the-ticket attacks.
Enumeration starts with checking whether WinRM is accessible and which authentication methods are accepted. Brute-forcing or spraying credentials against WinRM is effective because it supports local and domain accounts. Once credentials are obtained, WinRM provides a full interactive shell, file upload/download capabilities, and the ability to load PowerShell modules for further enumeration and privilege escalation.
WinRM discovery, auth probing, cred validation, and config enum
Enumerate WinRM service configuration, authentication methods, and remote management settings to identify misconfigurations and attack vectors on Windows targets.
Enumerate valid credentials against WinRM using tools like CrackMapExec and Evil-WinRM to identify authenticated access on port 5985/5986.
Enumerate WinRM endpoints on port 5985/5986, identify authentication methods, test credentials, and assess remote management attack surface on Windows hosts.
Establish interactive PowerShell sessions over WinRM using Evil-WinRM or Invoke-Command for authenticated remote access and post-exploitation enumeration.
Enumerate WinRM endpoints, extract NTLM authentication metadata, and identify Windows hostnames, domain info, and OS versions via port 5985/5986.
Guides for finding WinRM misconfigs, weak TLS, and auth flaws
Detect WinRM basic authentication misconfigurations via port scanning, HTTP probing, and authentication testing to identify insecure credential exposure risks.
Identifies exposed WinRM endpoints on ports 5985/5986, checks for misconfigurations, weak auth, and unencrypted HTTP transport risks.
Covers testing WinRM HTTPS endpoints for TLS misconfigurations, weak ciphers, certificate validation bypasses, and self-signed cert exploitation during vulnerability discovery.
Enumerate WinRM access with low-privilege credentials, identifying misconfigurations, exposed endpoints, and lateral movement risks on Windows Remote Management.
Brute force, shell access, CLM bypass, and JEA escape guides
Covers brute force and password spraying attacks against WinRM using tools like CrackMapExec and Evil-WinRM to gain remote access on Windows targets.
Intercepts WinRM HTTP traffic to capture cleartext credentials by exploiting unencrypted Basic auth configurations using network sniffing and MITM techniques.
Exploit WinRM with evil-winrm for interactive PowerShell shells using credentials, hashes, SSL, file transfer, and in-memory script/assembly loading.
Bypass CLM and escape JEA endpoints over WinRM sessions
Exploits WinRM sessions running PowerShell in Constrained Language Mode, using bypass techniques to escape CLM restrictions and escalate privileges.
Exploiting misconfigured JEA endpoints to escape restricted PowerShell sessions and escalate privileges via WinRM role capability abuse.
Move across accounts or systems to expand reach. Use trust paths to access new assets.
Exploiting Windows Remote Management (WinRM) for lateral movement using tools like Evil-WinRM, CrackMapExec, and PowerShell remoting.
We use cookies to improve your browsing experience, analyze site traffic, and personalize content. By clicking "Accept All", you consent to our use of cookies. Privacy Policy.