# Enumeration

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

- **URL:** https://hackindex.io/index.php/services/winrm/enumeration
- **Service:** [WinRM](https://hackindex.io/index.php/services/winrm.md)
- **Tags:** services, users, endpoints
- **Published:** 2026-01-04
- **Updated:** 2026-03-29

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.

## Guides

- [WinRM Configuration Enumeration](https://hackindex.io/index.php/services/winrm/enumeration/winrm-configuration-enumeration.md): Enumerate WinRM service configuration, authentication methods, and remote management settings to identify misconfigurations and attack vectors on Windows targets.
- [WinRM Credential Validation](https://hackindex.io/index.php/services/winrm/enumeration/winrm-credential-validation.md): Enumerate valid credentials against WinRM using tools like CrackMapExec and Evil-WinRM to identify authenticated access on port 5985/5986.
- [WinRM Endpoint Probing](https://hackindex.io/index.php/services/winrm/enumeration/winrm-endpoint-probing.md): 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](https://hackindex.io/index.php/services/winrm/enumeration/winrm-interactive-shell-access.md): 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](https://hackindex.io/index.php/services/winrm/enumeration/winrm-service-discovery-and-ntlm-info.md): Enumerate WinRM endpoints, extract NTLM authentication metadata, and identify Windows hostnames, domain info, and OS versions via port 5985/5986.
