A Pentester's Powershell Client.
Project description
Devious-WinRM
A Pentester's Powershell Client.
Highlight Features
Zero-confing Kerberos
Devious-WinRM's initial reason for creation was due to how complicated Kerberos auth can be. With Devious-WinRM, on most operating systems, it is as simple as appending the -k flag to the command line. Devious-WinRM will automatically handle the rest.
Easy in-memory .NET execution
Any .NET binary can be ran directly in the Powershell process' memory using the invoke command, usually bypassing AV detection. It's quick-and-easy way to covertly execute binaries without touching disk.
Local token upgrader
Some commands, such as Get-Service or qwinsta will fail to execute via WinRM due to a permission error. Devious-WinRM leverages RunasCs for an effortless way to get around this limitation of WinRM. Simply prepending the desired command with localexec will work.
Installation
Check out the Installation Guide for instructions.
TLDR: uv tool install devious-winrm
Wiki
The Usage Guide has extensive documentation on every single feature and command.
Star History
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.
- RunasCs - Used for the local token upgrader. Super useful tool when doing work over WinRM.
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.2.2.tar.gz.
File metadata
- Download URL: devious_winrm-1.2.2.tar.gz
- Upload date:
- Size: 59.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72a6e83c76f1201d38ba792bc50f29f6be98f32cc657c7ee408106f9c2e1f76f
|
|
| MD5 |
d2fdc2e37d8bb8f5319a8b194cf00d83
|
|
| BLAKE2b-256 |
6ec2f7e5b571a200050c3b17746278ae78d9466ad449e9c1be5f81e8ee1c493c
|
File details
Details for the file devious_winrm-1.2.2-py3-none-any.whl.
File metadata
- Download URL: devious_winrm-1.2.2-py3-none-any.whl
- Upload date:
- Size: 67.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0dd5639597050d5da1d8bf873e753368780180313441bc9838fad2391a25902e
|
|
| MD5 |
9bbfa9491c55480c6d91f90c5dffe9af
|
|
| BLAKE2b-256 |
8acb5be29302c161c84b94df8e99aa2e3bcb4959f250f985cd6c9b4da4efd7e8
|