evil_winrm
Opens an interactive WinRM PowerShell session on a remote Windows host using password or NTLM hash for pass-the-hash authentication.
Instructions
Windows Remote Management (WinRM) shell client. Provides an interactive PowerShell session on port 5985 (HTTP) or 5986 (HTTPS) with pass-the-hash support. Use when you have valid Windows credentials and WinRM is enabled (common on servers). For non-interactive WinRM command execution or multi-host testing, use crackmapexec with winrm protocol. Output: interactive PowerShell session output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| opts | No | Additional evil-winrm options (e.g. '-s scripts/' for script directory, '-S' for SSL) | |
| port | No | WinRM port (default: 5985 for HTTP, 5986 for HTTPS) | |
| user | Yes | Username (domain\user or user@domain format) | |
| target | Yes | Target IP or hostname with WinRM enabled | |
| password | No | Password for authentication | |
| ntlm_hash | No | NTLM hash for pass-the-hash authentication (alternative to password) |