Pentesting WinRM
Overview
Scanning
nmap -sV -sC 10.129.201.248 -p5985,5986 --disable-arp-ping -nEvil-WinRM
evil-winrm -i 10.129.201.248 -u Cry0l1t3 -p P455w0rD!Validate Access with NetExec
netexec winrm TARGET -d DOMAIN.LOCAL -u USER -p 'PASSWORD'
netexec winrm TARGET -u LOCALUSER -H NTLM_HASH --local-authnetexec winrm targets.txt -d DOMAIN.LOCAL -u users.txt -p passwords.txt --no-bruteforcePowerShell Test
WMI (TCP 135)
WMIexec.py (Impacket)
Last updated