Disabling RC4 and forcing AES encryption

Posted by denstorepingvin@reddit | sysadmin | View on Reddit | 7 comments

Hey folks,

I've been looking into weather or not it's possible for us to disable RC4 encryption fully in the domain.

As i understand, RC4 is sort of native fallback encryption, if KDC doesn't detect that higher alternativies are a possiblity.

However, i find it a bit difficult to fully understand when and when it's not possible. I've reviewed security event logs 4769 on our DC's to get insights if any ticket encryption type was indicating that RC4 is being used.

I found a couple of service accounts, from events looking like this:

A Kerberos service ticket was requested.

Account Information:
Account Name:ACCOUNT@DOMAIN.COM
Account DOMAIN.COM
MSDS-SupportedEncryptionTypes:N/A
Available Keys:N/A

Service Information:
Service Name:SA01
Service ID:DOMAIN\SA01
MSDS-SupportedEncryptionTypes:0x27 (DES, RC4, AES-Sk)
Available Keys:AES-SHA1, RC4

Domain Controller Information:
MSDS-SupportedEncryptionTypes:0x1F (DES, RC4, AES128-SHA96, AES256-SHA96)
Available Keys:AES-SHA1, RC4

Network Information:
Advertized Etypes:
AES256-CTS-HMAC-SHA1-96
AES128-CTS-HMAC-SHA1-96
RC4-HMAC-NT
RC4-HMAC-NT-EXP
RC4-HMAC-OLD-EXP

Additional Information:
Ticket Options:0x40810000
Ticket Encryption Type:0x17
Session Encryption Type:0x12

So as i understand it. The user account account@domain.com has N/A in MSDS-SupportedEncryption due to not having the attribute present or the attribute is empty within attribute editor.

SA01, somehow provides encryptiontypes, although not having anything specified in AD either under MSDS-supportedencryption. I don't understand how this was selected?

Advertized etypes confirms that the requested client, supports AES encryption. We do not have any legacy OS, so this is expected all around the infrastructure.

To get further in the testing, i can add MSDS-supportedencryption attribute with AES, change password and then test weather authentication breaks. However, i'm very uncertain if this is the proper way to go, i feel like it's a bit risky. I was thinking also, that i might be able to add AES and RC4 as supported encryption, then assuming it will grab the highest encryption option available if supported, right?

Anyone with experience doing this?