Enforce Strict Kerberos Encryption Types via Regedit
Enforcing strict Kerberos encryption types ensures that Windows domain logons only use modern, robust cryptographic algorithms such as AES-128 and AES-256, rather than outdated and vulnerable ciphers like DES and RC4. This guide provides step-by-step instructions on configuring the Windows Registry Editor (Regedit) to restrict the allowed Kerberos encryption types on a system.
Step 1: Open the Registry Editor
- Press
Windows Key + Rto open the Run dialog box. - Type
regeditand press Enter. - If prompted by User Account Control (UAC), click Yes to grant administrative privileges.
Step 2: Navigate to the Kerberos Parameters Key
In the Registry Editor, navigate through the left sidebar to the following path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Parameters
Note: If the Parameters key does not exist under
Kerberos, right-click on Kerberos, select
New > Key, and name it
Parameters.
Step 3: Create or Modify the SupportedEncryptionTypes Value
- With the
Parameterskey selected, look for a DWORD value namedSupportedEncryptionTypesin the right pane. - If it does not exist:
- Right-click an empty space in the right pane.
- Select New > DWORD (32-bit) Value.
- Name the new value
SupportedEncryptionTypes.
- Double-click
SupportedEncryptionTypesto edit its value.
Step 4: Configure the Value for Strict Encryption
The SupportedEncryptionTypes value uses a bitmask to
define permitted algorithms:
- 0x1 (1): DES-CBC-CRC
- 0x2 (2): DES-CBC-MD5
- 0x4 (4): RC4-HMAC
- 0x8 (8): AES128-CTS-HMAC-SHA1-96
- 0x10 (16): AES256-CTS-HMAC-SHA1-96
- 0x80000000: Future encryption types
To enforce strict encryption (allowing only AES-128, AES-256, and future encryption types while disabling DES and RC4):
- Set the Base to Hexadecimal.
- Enter
7FFFFFF8(or18to enforce strictly AES128 and AES256 without the future types flag). - Click OK.
Step 5: Apply the Changes
For the changes to take full effect across local services and the security subsystem, restart the computer.