- Joined
- May 15, 2017
- Messages
- 983
- Likes
- 759
- Points
- 1,045
The ultimate WinRM shell for hacking/pentesting.
Description & Purpose
This shell is the ultimate WinRM shell for hacking/pentesting.
WinRM (Windows Remote Management) is the Microsoft implementation of WS-Management Protocol. A standard SOAP based protocol that allows hardware and operating systems from different vendors to interoperate. Microsoft included it in their Operating Systems in order to make life easier to system adminsitrators.
This program can be used on any Microsoft Windows Servers with this feature enabled (usually at port 5985), of course only if you have credentials and permissions to use it. So we can say that it could be used in a post-exploitation hacking/pentesting phase. The purpose of this program is to provide nice and easy-to-use features for hacking. It can be used with legitimate purposes by system administrators as well but the most of its features are focused on hacking/pentesting stuff.
Features
- Command History
- WinRM command completion
- Local files completion
- Upload and download files
- List remote machine services
- FullLanguage Powershell language mode
- Load Powershell scripts
- Load in memory dll files bypassing some AVs
- Load in memory C# (C Sharp) compiled exe files bypassing some AVs
- Colorization on output messages (can be disabled optionally)
Ruby 2.3 or higher is needed. Some ruby gems are needed as well: winrm >=2.3.2, winrm-fs >=1.3.2, stringio >=0.0.2 and colorize >=0.8.1.
Installation & Quick StartCode:
sudo gem install winrm winrm-fs colorize stringio
- Step 1. Clone the repo:
Code:
git clone https://github.com/Hackplayers/evil-winrm.git - Step 2. Ready. Just launch it!
Code:
cd evil-winrm && ruby evil-winrm.rb -i 192.168.1.100 -u Administrator -p 'MySuperSecr3tPass123!' -s '/home/foo/ps1_scripts/' -e '/home/foo/exe_files/'
Download Evil-Winrm