Evil-WinRM
Evil-WinRM is a Ruby-based WinRM client that provides an interactive shell for Windows remote management. It is open source under the LGPL-3.0-only license. It runs on Linux and Windows.
Updated
- Pricing
- Open Source
- License
- LGPL-3.0-only
- Platforms
- Linux, Windows
- Category
- Penetration Testing Tools
What Is Evil-WinRM?
Evil-WinRM is a Ruby-based WinRM client that provides an interactive shell for Windows remote management. It supports SSL, pass-the-hash, and Kerberos authentication, which makes it useful for testing and verifying WinRM exposure. Defenders can use it to confirm that WinRM access is limited to authorized principals and encrypted channels.
Use Cases
Review of WinRM access controls and remote management posture on Windows servers during authorized assessments.
Strengths and Limitations
Strengths
- +Supports pass-the-hash, Kerberos, and SSL authentication modes.
- +Offers file upload and download with PowerShell execution.
- +Works from Linux and Windows clients with a simple Ruby setup.
Limitations
- -Requires valid credentials or hashes to connect.
- -Targets only systems with WinRM enabled and reachable.
- -Kerberos authentication needs an extra Kerberos package and a client clock synced with the domain controller.
Defensive Use
Identify overly permissive WinRM listeners and verify that authentication requires strong credentials and channel encryption.
Evil-WinRM Alternatives
3 tools| Tool | License | Platforms | Pricing |
|---|---|---|---|
| Impacket Python library of classes and example tools for the construction, parsing, and interaction with Windows and Active Directory network protocols. | Modified Apache-1.1 (custom; see repo LICENSE) | Linux, macOS, Windows | Free |
| Metasploit Framework Penetration testing framework used to verify vulnerabilities, manage security assessments, and generate payloads. | BSD-3-Clause | Linux, macOS, Windows | Free / Commercial |
| NetExec Network service assessment tool for automating authentication checks, credential sprays, and Active Directory evaluations. | BSD-2-Clause | Linux, macOS, Windows | Open Source |
Frequently Asked Questions
What is Evil-WinRM?→
Evil-WinRM is a Ruby-based WinRM client that provides an interactive shell for Windows remote management. It supports SSL, pass-the-hash, and Kerberos authentication, which makes it useful for testing and verifying WinRM exposure. Defenders can use it to confirm that WinRM access is limited to authorized principals and encrypted channels.
What is Evil-WinRM used for?→
Review of WinRM access controls and remote management posture on Windows servers during authorized assessments.
What are the strengths of Evil-WinRM?→
- +Supports pass-the-hash, Kerberos, and SSL authentication modes.
- +Offers file upload and download with PowerShell execution.
- +Works from Linux and Windows clients with a simple Ruby setup.
What are the limitations of Evil-WinRM?→
- +Requires valid credentials or hashes to connect.
- +Targets only systems with WinRM enabled and reachable.
- +Kerberos authentication needs an extra Kerberos package and a client clock synced with the domain controller.
How is Evil-WinRM used defensively?→
Identify overly permissive WinRM listeners and verify that authentication requires strong credentials and channel encryption.