evil-winrm-py
Python WinRM shell and MCP server for authorized Windows remote administration.
Install
See setup instructions on adityatelange.inWhat it does
evil-winrm-py is a Python tool that connects to Windows hosts over the WinRM protocol and gives you an interactive shell for running commands and transferring files. It is aimed at security testers and administrators working in authorized environments, and it reimplements the Ruby-based evil-winrm in Python. Beyond the shell, it can load and run local PowerShell scripts, load DLLs in memory as modules, execute uploaded EXEs in memory, and list running services, with tab completion for local and remote paths and PowerShell cmdlets.
Installation is via pip, with optional extras for Kerberos and MCP support; Kerberos on Linux needs system packages such as gcc, python3-dev and libkrb5-dev. Authentication options include NTLM, Pass-the-Hash, certificate and Kerberos, with SSL and custom WSMan URIs, user agent, SPN settings and JEA session configurations.
With the MCP extra, it can run as a streamable HTTP MCP server exposing login, execute and logout tools for MCP-compatible clients, tracking concurrent sessions by session_id. Because that mode permits remote command execution, it should only be exposed on trusted networks to trusted clients. The project states it is intended strictly for educational and ethical use with explicit authorization.
Compatibility and authentication
- Connection
- Local
- Transports
- Unspecified
- Authentication
- Unknown
Security and permissions
- When you run the server locally, it runs with your user permissions.
- Authentication type: Unknown.
Repository data
- Stars
- 424
- Last push
- Nov 17, 2026
- License
- MIT
- Archived
- No
FAQ
- What license does evil-winrm-py use?
- MIT
- Does evil-winrm-py run locally or remotely?
- It runs locally.
- Is evil-winrm-py an official server?
- It is listed as a community server.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/mcp/evil-winrm-py"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.