Posted On September 10, 2020

RDP Connection Error: CredSSP encryption oracle remediation

kimconnect 0 comments
blog.KimConnect.com >> Windows >> RDP Connection Error: CredSSP encryption oracle remediation
The Symptom:

[Window Title]
Remote Desktop Connection

[Content]
An authentication error has occurred.
The function requested is not supported

Remote computer: 1.1.1.1
This could be due to CredSSP encryption oracle remediation.
For more information, see https://support.microsoft.com/en-us/topic/credssp-updates-for-cve-2018-0886-5cbf9e5f-dc6d-744f-9e97-7ba400d6d3ea

[OK]
The Cause:

There’s this thing called Encryption Oracle Remediation (EOR) that would be installed on the client, server, or both. If the client has the CredSSP update installed, and Encryption Oracle Remediation is set to Mitigated. Then, this client will not allow insecure connections. On the same token, if the server has the CredSSP patched and is set to Force updated clients. That server will block any RDP connection from clients that do not have the CredSSP update installed. Here are the details of these compatibilities.

Interoperability Matrix:

CAUSE
– – Server – – –
– – Updated Force updated clients Mitigated Vulnerable
Client Updated Allowed Blocked 2 Allowed Allowed
  Force updated clients Blocked Allowed Allowed Allowed
  Mitigated Blocked 1 Allowed Allowed Allowed
  Vulnerable Allowed Allowed Allowed Allowed

Source: Microsoft

The Solutions:
  • Option 1: patch both clients and servers
  • Option 2: Set the Server EOR to Mitigated
    • Not recommended
  • Option 3: Set the Client to Vulnerable
    • How To Execute ‘Option 3’
REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters\ /v AllowEncryptionOracle /t REG_DWORD /d 2

How to Revert ‘Option 3’

Set-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters' -name "AllowEncryptionOracle" 1 -Type DWord

Key value table:

  1. Force Updated Clients
    Registry Hive HKEY_LOCAL_MACHINE
    Registry Path Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters
    Value Name AllowEncryptionOracle
    Value Type REG_DWORD
    Value 0
  2. Mitigated
    Registry Hive HKEY_LOCAL_MACHINE
    Registry Path Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters
    Value Name AllowEncryptionOracle
    Value Type REG_DWORD
    Value 1
  3. Vulnerable
    Registry Hive HKEY_LOCAL_MACHINE
    Registry Path Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters
    Value Name AllowEncryptionOracle
    Value Type REG_DWORD
    Value 2

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Enable Remote Assistance (Windows XP/2003)

The Remote Assistance feature is a convenient way for an administrator to remotely connect to…

Skillset Required as a 2021 Systems Administrator

Long were the days of a SysAdmin only requiring to know how to babysit server…

Some Batch Files

REM Date.batset fscfg=m:\mfgsys\fs.cfgm:\fs_apps\setcfg N0 DT_TODAY={TODAY} REM lexp.batfsguiapp.exe -s -cm:\mfgsys\fs.cfg -iAAA{TAB}y2k99{CR}bexe{ESC}exp{CR}exit Rem Invoice_Prints_ZZ1_2_3_.batfsguiapp.exe -cm:\mfgsys\fs.cfg -iZZ1{TAB}pass1{CR}bexe{ESC}zz1{CR}M:\cabsauto\timeout 15fsguiapp.exe…
Other project: DragonCoin.com