About Evil Winrm Py
Evil Winrm Py is an MCP server published by adityatelange in the Files category: execute commands interactively on remote Windows machines using the WinRM protocol (just faster). Conduid read 4 tools from its source: list_sessions, winrm_execute, winrm_login and winrm_logout. No package is published for it, so it installs from a source checkout.
The repository has 429 stars and 41 forks, is licensed MIT, and its last commit was on 17 Nov 2026. The latest release is v1.7.0 (12 Sep 2026): This release introduces two major features: an MCP server for exposing evil-winrm-py sessions to AI/agent tooling, and JEA (Just Enough Administration) endpoint support… It follows v1.6.0 (21 Mar 2026), and the 5 most recent releases go back to v1.4.0 (8 Aug 2025). It passes 3 of the 5 static checks Conduid ran on the repository; it does not pass Tests present and Dependencies pinned. Its topics include active-directory, cli, hackthebox, infosectools, kerberos and pentest-tool.
Install
git clone https://github.com/adityatelange/evil-winrm-pyTools (4)
list_sessionsList all active WinRM sessions and their session_id.winrm_executeRun a command on an authenticated WinRM target and return its output.| Parameter | Type | Description |
|---|---|---|
| command * | string | |
| session_id | integer |
winrm_loginAuthenticate to a remote Windows host over WinRM.| Parameter | Type | Description |
|---|---|---|
| auth | string | |
| cert_pem | string | |
| configuration_name | string | |
| encryption | string | |
| ip * | string | |
| password * | string | |
| port | integer | |
| priv_key_pem | string | |
| spn_hostname | string | |
| spn_prefix | string | |
| ssl | boolean | |
| ua | string | |
| uri | string | |
| username * | string |
winrm_logoutClose a WinRM session.| Parameter | Type | Description |
|---|---|---|
| session_id | integer |
Security checks
Static checks derived from the repository yesterday. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.2K words.
- ✓License declaredThe repository declares the MIT license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
- ✓No dynamic code executionScanned 7 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
What the source scan found
- Transport
- None found in the source
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 3 callsevil_winrm_py/pypsrp_ewp/wsman.py:286, evil_winrm_py/pypsrp_ewp/wsman.py:350, evil_winrm_py/pypsrp_ewp/wsman.py:354
- Writes or deletes files
- 3 callsevil_winrm_py/evil_winrm_py.py:1019, evil_winrm_py/evil_winrm_py.py:1069, evil_winrm_py/evil_winrm_py.py:1103
- Lockfile
- None in the repository
Pattern matches on the source text of 7 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.2K words, fetched yesterday. The original in the repository is authoritative.
Read full README