Remote Desktop Protocol (RDP), developed by Microsoft, enables graphical interface connections between computers over a network. It runs over TCP port 3389.
Default Port: 3389
Enumeration
Security Layer and NLA Checks
Brute Force and Password Spraying
RDP brute force can lock accounts. Use cautiously and check the account lockout policy first.
Connect with Credentials / Hash
Session Hijacking
With SYSTEM permissions you can access any open RDP session without the owner’s password:
Hijacking an active RDP session will kick out the current user.
RDP Shadowing (Remote Control)
Virtual Channel Tunneling (RDP over RDP)
Sticky Keys & Utilman Backdoor
Backdoor the accessibility programs to get a SYSTEM shell at the login screen:
RDP Process Injection
If a user from a different domain or with better privileges connects via RDP and you are a local Admin:
Add User to RDP Group
- AutoRDPwn — Automate Shadow attacks
- EvilRDP — Automated keyboard/mouse control, clipboard, SOCKS proxy
- SharpRDP — Execute commands without GUI
References
- Remote Desktop Services shadowing
- RDP tunneling (rdp2tcp)