How to check which Cipher is used during RDP over SSL connection

How to check which Cipher is used during RDP over SSL connection

91
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 15:55 PM


Objective


How do I know which Cipher is being used, when connecting via RDP over SSL?

Procedure


First, we need to enable the logging for schannel.
Update the following registry key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL] "EventLogging"=dword:00000007

After configuring the key, we will be able to see the ciphers used:
Event Viewer > Windows > System

Here is an example when a connection is coming into the PSM Server:
--
A TLS server handshake completed successfully. The negotiated cryptographic parameters are as follows.

   Protocol version: TLS 1.2
   CipherSuite: 0xC030
   Exchange strength: 384 bits
   Context handle: 0x2981af03300
   Target name: 
   Local certificate subject name: DC=local, DC=cybrlab, OU=Servers, OU=HA-Setup, OU=Hardened 2016, CN=COMP121
   Remote certificate subject name: 
--

Another example of PSM connecting to the Target:
--
A TLS client handshake completed successfully. The negotiated cryptographic parameters are as follows.

   Protocol version: TLS 1.2
   CipherSuite: 0xC028
   Exchange strength: 384 bits
   Context handle: 0x2981ad9a990
   Target name: TERMSRV/wint01.cybrlab.local
   Local certificate subject name: 
   Remote certificate subject name: 
--

The Cipher used will be the CipherSuite value stated in the logs. You can easily search the internet for the value and its corresponding Cipher. 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000vsmCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail