Skip to content

WinRM:

Enumeration

WinRM discovery, auth probing, cred validation, and config enum

5 guides • Created Dec 28, 2025 • Updated Mar 29, 2026
5 guides

WinRM Configuration Enumeration

Enumerate WinRM service configuration, authentication methods, and remote management settings to identify misconfigurations and attack vectors on Windows targets.

WinRM Credential Validation

Enumerate valid credentials against WinRM using tools like CrackMapExec and Evil-WinRM to identify authenticated access on port 5985/5986.

WinRM Endpoint Probing

Enumerate WinRM endpoints on port 5985/5986, identify authentication methods, test credentials, and assess remote management attack surface on Windows hosts.

WinRM Interactive Shell Access

Establish interactive PowerShell sessions over WinRM using Evil-WinRM or Invoke-Command for authenticated remote access and post-exploitation enumeration.

WinRM Service Discovery with NTLM Info

Enumerate WinRM endpoints, extract NTLM authentication metadata, and identify Windows hostnames, domain info, and OS versions via port 5985/5986.

WinRM enumeration starts with confirming the service is running and understanding its configuration. Port 5985 (HTTP) and 5986 (HTTPS) are the defaults, but WinRM can be configured on custom ports. Nmap service detection, banner grabbing, and HTTP response analysis confirm the presence and transport type.

Once detected, enumerate the authentication methods the endpoint accepts (Basic, Negotiate, Kerberos, CredSSP) and check the TrustedHosts configuration, which controls which clients can connect. CrackMapExec with the winrm protocol module quickly tests credential validity across multiple hosts without establishing a full session.

The subpages cover service detection techniques, authentication method enumeration, configuration inspection through accessible endpoints, and how to determine whether WinRM is configured permissively enough to be useful for further access.