@@ -104,9 +104,12 @@ transferred. The exchange involves the following steps:
1041041 . The server uses the public key to encrypt the session key and sends it to the client.
1051051 . Both the client and server use the new session key to encrypt a ** SecureString** object.
106106
107- The PowerShell Remoting Protocol (PSRP) uses the ` RSAEncryptionPadding.Pkcs1 ` during the key
108- exchange. The algorithm, is ** NOT** secure, therefore, the key exchange doesn't provide any extra
109- security. PSRP requires a secure transport layer for secure data transfer.
107+ The PowerShell Remoting Protocol (PSRP) uses the ` RSAEncryptionPadding.Pkcs1 ` algorithm during the
108+ key exchange. The algorithm is ** NOT** secure, so the key exchange doesn't provide any extra
109+ security.
110+
111+ > [ !IMPORTANT]
112+ > You must use a secure transport layer to ensure secure data transfer over PSRP.
110113
111114Beginning in PowerShell v7.6-preview5, the key exchange was deprecated. The version of PSRP was
112115incremented to v2.4 and includes the following changes:
@@ -120,14 +123,14 @@ incremented to v2.4 and includes the following changes:
120123- The encryption and decryption steps for ` SecureString ` are skipped when both client and server are
121124 v2.4 or higher.
122125
126+ This change is backward compatible.
127+
128+ - For old clients or servers (v2.3 or lower), the key exchange is still used when needed.
123129- PSRP can use a named pipe remote sessions when both client and server are on the same machine.
124130 Since it's possible for a remote client to connect to named pipe and the data is no longer
125131 encrypted with a session key, the named pipe (used for ` Enter-PSHostProcess ` ) rejects the remote
126132 client.
127133
128- This change is backward compatible. For old clients or servers (v2.3 or lower), the key exchange is
129- still used when needed.
130-
131134## Security Servicing Criteria
132135
133136PowerShell follows the [ Microsoft Security Servicing Criteria for Windows] [ 12 ] . Only security
0 commit comments