Concepts / Network services

Network services

RDP

Also called remote desktop protocol, remote desktop, port 3389, mstsc, xrdp, mstshash, NLA, network level authentication, terminal services

Remote graphical login on TCP 3389: the client negotiates a security layer, then runs the desktop inside TLS.

The first two messages are in the clear
The first two messages are in the clear

Client and server agree a security layer before any encryption, so a capture can read the user name cookie. With NLA the user logs in before the server builds a desktop.

RDP (Remote Desktop Protocol, TCP 3389) shows another machine's screen and sends it your keyboard and mouse. The client first sends, unencrypted, a mstshash cookie (the user name) and the security layers it supports; the server picks one. With TLS the rest runs encrypted; with Network Level Authentication (NLA) the user also logs in before any desktop is built. Keep RDP behind a VPN, never open to the internet.

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start learning