RDP 3389

#login

rdesktop -u DISCO 10.11.1.13
xfreerdp /u:admin /v:10.10.10.10 + clipboard

#Add a user

net user redcliff password123 /add
net localgroup Administrators redcliff /add
net localgroup "Remote Desktop Users" redcliff /ADD

#RDPscan

sudo git clone https://github.com/robertdavidgraham/rdpscan.git

./rdpscan 10.10.10.10

#msfconsole | bluekeep

nmap -p3389 -T5 <subnet>/24 -oG - | awk '/Up$/{print $2}' > rdp.lst
msfconsole
> use auxiliary/scanner/rdp/cve_2019_0708_bluekeep
> set RHOSTS file:<path to rdp.lst>
> run
...
 [+] 10.X.X.X:3389      - The target is vulnerable. The target attempted cleanup of the incorrectly-bound MS_T120 channel.

#Bruteforcing

#nmap script

#ms-wbt-server Microsoft Terminal Services

Last updated