A Pentester's Powershell Client.
Project description
Devious-WinRM
A Pentester's Powershell Client.
Description / Purpose
This tool allows one to access servers running WinRM or Powershell Remoting, with additional tools for capture the flag / pentesting. I created this project to fix a few grievances I have with existing tools (such as the amazing Evil-WinRM) and to contribute to the open-source hacking community.
Under the hood, Devious-WinRM is not directly based on WinRM. It is instead built on the PowerShell Remoting Protocol, which in turn uses WinRM. PSRP was chosen as it seems to require less user permissions than WinRM, at least in a rudementary Active Directory environment.
Features / Planned
- No-config Kerberos auth
- Make it pretty
- Pass the hash support
- Pass the ticket support
- File upload/download
- Syntax highlighting
- Ctrl+C command interupt
- Remote path completion
- In-Memory .NET loader
- In-Memory Powershell loader
- Certificate auth
- SSL auth
- Logging
- Maybe: Local logon token upgrader via RunasCs
Installation
On Linux, Kerberos needs to be installed: sudo apt install gcc python3-dev libkrb5-dev krb5-pkinit
The recommended installation method is with uv. Check out their docs for how to install it, then run:
uv tool install devious-winrm --prerelease=allow
Alternatively, use pipx or pip:
pipx install devious-winrm
pip install devious-winrm
Credits
- Evil-WinRM - This goes without saying, but Evil-WinRM is an incredible tool. It was the primary inspiration for this project.
- pypsrp - A tremendously well-featured library for Powershell Remote in Python. Super friendly developer as well!
- evil-winrm-py - Aditya and I had the same idea at almost the exact same time. I would be remissed if I didn't mention his project as well.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file devious_winrm-1.1.0.tar.gz.
File metadata
- Download URL: devious_winrm-1.1.0.tar.gz
- Upload date:
- Size: 28.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d2003c15e52b6eab4b8707b2baf9e000c0ef98b7fb497de6e3dbfbc91351629
|
|
| MD5 |
a2af6d09a16ac9aad29a3a08e9d81292
|
|
| BLAKE2b-256 |
20943648d9ae5b0b5d609413580950b468295f6959bf4fd2c319bb11dc181780
|
File details
Details for the file devious_winrm-1.1.0-py3-none-any.whl.
File metadata
- Download URL: devious_winrm-1.1.0-py3-none-any.whl
- Upload date:
- Size: 33.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3f47d031be5f9378f02e31a0e100b44d5a80ac10af42071b9a7a9bbe651eb61
|
|
| MD5 |
cd32ba5b7ec40612514ed2a4a733ae4d
|
|
| BLAKE2b-256 |
f7557b25ca8a334ca226858cb04c7db196b44f8d58ae175ec51d1f0cd4f78f2a
|