Skip to main content

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
ToolPricing
Impacket

Python library of classes and example tools for the construction, parsing, and interaction with Windows and Active Directory network protocols.

Free
Metasploit Framework

Penetration testing framework used to verify vulnerabilities, manage security assessments, and generate payloads.

Free / Commercial
NetExec

Network service assessment tool for automating authentication checks, credential sprays, and Active Directory evaluations.

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.