Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer
Penetration testingWinRM shell advanced LinuxmacOS

Evil-WinRM

Evil-WinRM provides an interactive remote shell over Windows Remote Management for authorised assessments and labs.

Legal & ethical use. Only connect to hosts you own or are authorised to test. Use this tool only on systems, networks and data that you own or have explicit written permission to test. Unauthorised access or scanning can break computer-misuse laws (for example Pakistan's Prevention of Electronic Crimes Act, 2016, and equivalents elsewhere). Practise in your own lab or in authorised environments such as CTFs.

What it is used for

  • Administer or test WinRM access in your lab
  • Practise post-authentication workflows on lab machines

Key features

  • Interactive WinRM shell
  • File upload/download
  • Supports password and certificate auth

Installation

Install with `gem install evil-winrm` or from your distribution.

Beginner usage guide

Use only with credentials that are valid for a lab host you are authorised to access.

Example commands

Run these only against your own lab or authorised targets. Placeholder addresses such as 192.0.2.x are documentation ranges.

Connect to a lab host
evil-winrm -i 192.0.2.20 -u labuser

-i is the target and -u the user; you will be prompted for a password with -p or interactively depending on version.

References

Source verification

Last reviewed: 2026-10-27
Links checked over HTTP: 2026-10-27 07:51 UTC — official: 200, docs: 200, repo: 200
Command flags checked against the real binary evil-winrm (v4.1) on 2026-10-27.

Related tools