Skip to content

RC4 in Kerberos

Will Aftring edited this page Jun 3, 2026 · 2 revisions

RC4 (ARCFOUR-HMAC-MD5, etype 0x17) is a legacy cipher suite still present in many Active Directory environments. While not as critically broken as DES, RC4 lacks the security properties of AES and is increasingly being deprecated.

This page serves as a hub for RC4-related documentation, guidance, and tooling.

Recent changes

Detection

Identifying RC4 ticket or session key usage

Use the Get-KerbEncryptionUsage.ps1 script to check for RC4 usage:

.\scripts\Get-KerbEncryptionUsage.ps1 -Encryption RC4

Identifying accounts restricted to RC4

Accounts that only support RC4 will have msDS-SupportedEncryptionTypes set to 0x4 (RC4 only) or otherwise lack the AES bits (0x8 for AES128, 0x10 for AES256):

# Accounts that explicitly list RC4 but NOT AES
Get-ADObject -Filter 'msds-SupportedEncryptionTypes -band 0x4 -and -not msds-SupportedEncryptionTypes -band 0x18'

Remediation Guidance

Additional Information

Clone this wiki locally