A review finds RDP session hosts that still allow Standard RDP Security: why does that leave a downgrade open, and what server setting closes it?
answer
- the choice precedes the handshake
- server config decides the outcome
- raising the level is not the fix
- require TLS or CredSSP
- a refusal carries a code
basics
~20 sWhile a server allows PROTOCOL_RDP, the layer is chosen before any protection exists, so a session can end on the legacy layer. Requiring TLS or NLA on the server makes it refuse legacy-only offers with a failure code.
solid answer
~50 sRDP picks its security layer in the X.224 exchange, before the chosen protocol's own handshake runs. The server selects from what the client offers and from how it is configured, so a host that still allows `PROTOCOL_RDP` can end a connection on Standard RDP Security, a layer the specification says cannot authenticate the server's identity. The specification adds a tamper check, in which both sides replay the negotiation inside the channel an external protocol has secured, but the legacy layer has no external protocol to secure it. Raising the encryption level to High does not help, because High is still the native layer. What closes the path is a server setting that requires TLS, or Network Level Authentication, so a legacy-only offer is answered with `SSL_REQUIRED_BY_SERVER` or `HYBRID_REQUIRED_BY_SERVER` and the connection is closed. The cost is that clients which cannot offer more are refused.
go deeper
Know that the server decides, and that a host which allows the legacy layer can end up using it.
Explain that the layer is chosen before the handshake, that High is still native RDP encryption, and that a refusal comes with SSL_REQUIRED_BY_SERVER or HYBRID_REQUIRED_BY_SERVER.
Run the audit: which host groups allow the legacy layer, what evidence shows the requirement is in force, and what a clean log cannot prove.
Decide which client classes justify an exception to the requirement, who owns the residual risk, and when the exception expires.
## The property of the design at issue The Remote Desktop Protocol specification (MS-RDPBCGR, revision of 9 March 2026) settles the security layer in the X.224 Connection Request and Connection Confirm, which are exchanged **before** the selected protocol's handshake runs (sections 3.2.5.3.2 and 5.4.2.1). The client lists what it can do; the server selects, among the offered protocols, one it supports and is configured to use. Two consequences follow. - **The server's configuration decides the outcome.** If the server is configured to accept `PROTOCOL_RDP`, a connection that lands on Standard RDP Security is a valid result of the protocol, and the client SHOULD simply continue (section 3.2.5.3.2). - **The strength of a session is the strength of what the two endpoints agree on**, not of the best layer the server supports. A host that offers TLS and also tolerates the legacy layer is, for any given connection, only as strong as the layer that connection ended up on. ## Why the legacy layer is the one that matters Section 1.3.1.2 says the RDP connection sequence provides no mechanism that ensures the server's identity is authenticated and is therefore vulnerable to man-in-the-middle attacks. Section 5.4.5.1 says TLS was added to RDP to authenticate the remote computer's identity. Microsoft's policy page calls native RDP encryption, as opposed to SSL encryption, not recommended. The specification also builds a tamper check for the Enhanced layers: because the negotiation structures travel in the clear, they are re-exchanged after the external protocol's handshake (the client replays the server's choice in its Client Core Data, the server replays the client's request in its Server Core Data), and a client SHOULD drop the connection if the replay disagrees. The specification describes that check as following an external protocol's handshake. When the legacy layer is selected the same fields travel in a connection that, per section 1.3.1.2, has no server authentication, so the check is not a reason to keep the layer. ## What does not close the path | Measure | Why it is not the control | |---|---| | Raising the encryption level to High | The level belongs to the native layer; the host still negotiates Standard RDP Security | | Setting the FIPS level | The same layer with FIPS-validated methods; the specification still gives the sequence no server authentication, and a client lacking those methods simply fails | | A strong certificate on the listener | That certificate is what the TLS layer presents; the legacy layer's server certificate is a different one (a proprietary certificate or a licence-server X.509 chain, section 5.3.3) | | Changing the listening port | It moves the listener and leaves the negotiation unchanged | ## What closes it 1. **Require an Enhanced layer on the server.** Set the server's security layer so that TLS is required, and require user authentication by Network Level Authentication (the policy 'Require user authentication for remote connections by using Network Level Authentication', under Remote Desktop Session Host, Security). The security-layer setting itself is described here in words because the pages this answer rests on do not name its registry value. 2. **Expect the refusal codes.** A client that offers only `PROTOCOL_RDP` is answered with `SSL_REQUIRED_BY_SERVER` (0x1), or `HYBRID_REQUIRED_BY_SERVER` (0x5) where CredSSP is required, and the server MUST close the connection. 3. **Make the certificate usable first.** A server with no valid authentication certificate cannot start the external protocol and answers `SSL_CERT_NOT_ON_SERVER` (0x3). 4. **Keep an exception list with an owner and an end date** for a device that cannot change, and place its listener on a separate host group at High, so one weak client class does not set the policy for everything. ## Noticing it on your own estate - **A configuration review** of each host group's security-layer and NLA settings is the direct evidence that the legacy layer is refused. - **A client-side error** carrying `SSL_REQUIRED_BY_SERVER` or `HYBRID_REQUIRED_BY_SERVER` shows the control working against a client that offered only the legacy value. - A client reporting `SSL_NOT_ALLOWED_BY_SERVER` has found a listener that allows only Standard RDP Security: an audit finding. - **What these cannot prove.** A quiet log shows that no client was refused, not that the legacy layer is disabled, because a refusal only occurs when a legacy-only client tries. ## The cost Every client that can offer nothing but `PROTOCOL_RDP` stops connecting, such as old thin clients and kiosk images. The decision is how to deal with them, which is the retirement question rather than the mechanism.
- Why does the client not simply refuse a server that selects the legacy layer?The specification only says the client SHOULD either continue, or disconnect and restart offering only PROTOCOL_RDP, which lets a client application prompt the user first. It does not tell a compliant client to refuse. Refusal on the client side therefore depends on that client's own policy, which is why the dependable control is on the server.
- What does the replay of the negotiation after the handshake protect?It lets each side confirm that the choice made in the clear was not altered on the way: the client replays the server's selected protocol and the server replays the client's requested protocols. A client SHOULD drop the connection when the requested flags it receives differ from those it sent. The specification describes it as following an external protocol's handshake, so it is a reason to prefer Enhanced layers, not a repair for the legacy one.
- Claims setting the encryption level to High removes the legacy layer.
- Believes a CA-issued listener certificate protects a legacy-layer session.
- Thinks the client, not the server, is the control point for refusing the legacy layer.
- Says a clean client error log proves the legacy layer is disabled.
- Treats moving the listening port as a replacement for requiring TLS.