How to use RDP (Remote desktop protocol) to gain access to a host, rdp runs on port 3389 by default in windows.

A user need to be part of the "Remote Desktop Users" in order to login to the host via RDP.

To add user to the "Remote Desktop users" run:

net localgroup "Remote Desktop Users" UserLoginName  /add

rdesktop

Remote Desktop for windows with share and 85% screen:

rdesktop -u username -p password -g 85% -r disk:share=/tmp/share 10.10.10.10

xfreerdp

Login using hash:

Xfreerdp /u:admin /d:win2012 /pth:[hash] /v:192.168.0.1

When CredSSP is required:

xfreerdp --plugin rdpdr --data disk:home:/tmp -- -f -u john 192.168.0.44

remmina

install remmina:

apt install remmina

have a rdp client by default which you can use to connect.

Enable RDP

Enable rdp from registry