Skip to content
System hardening
ASD ISMISM-2010

ASD ISM 2010 Ensure SPNs use strong encryption in AD services

What it says

Service accounts configured with an SPN use the Advanced Encryption Standard for encryption.

Quoted as published. Everything else on this page is written by Control Stack.

In plain English

Service accounts that have a Service Principal Name (SPN) must use AES for encryption, so tickets for their services are encrypted with AES rather than RC4 or DES.

Service accounts configured with a Service Principal Name (SPN) must use the Advanced Encryption Standard (AES) for encryption. For these accounts, that means the Kerberos tickets issued for their services are encrypted with the account's AES keys, not the older RC4 or DES types. The account's supported encryption types decide which can be used, so leaving RC4 or DES allowed lets a ticket be issued without AES. ISM-1769 prefers AES-256, and on TOP SECRET systems ISM-1770 rules out AES-128.

Why it matters

Any domain user can request a ticket for an account with an SPN and attack it offline. Requiring AES means the attack faces a salted key that is slow to derive from each guess, rather than RC4's unsalted password hash, which cracks far faster.

How to implement

  1. List service accounts with an SPN and their encryption types.

    Read msDS-SupportedEncryptionTypes on each, including group Managed Service Accounts. A value allowing RC4 (0x4) or DES (0x1 or 0x2), or an empty value that falls back to the domain controllers' default, needs review. KRBTGT also has an SPN; check its tickets in the last step.

  2. Find what still uses RC4 before changing anything.

    With each service owner, check domain controller events 4769 for tickets issued for the account with Ticket Encryption Type 0x17 (RC4). A service that reads its key from a keytab file needs a new keytab with AES keys. Plan to upgrade or replace anything that cannot use AES.

  3. Set each account to allow AES only.

    If the password was last set before the domain supported AES, change it first so AES keys exist. Then set msDS-SupportedEncryptionTypes to AES-256 only (0x10), the size ISM-1769 prefers, or to AES-128 and AES-256 (0x18) where the service or a client supports only AES-128 and the system is not TOP SECRET (ISM-1770).

  4. Confirm the tickets now use AES.

    From a client, request a ticket for each SPN with klist get and check that klist shows an AES type, and that the krbtgt ticket does too. Then watch events 4769 for any RC4 (0x17) ticket issued for these accounts.

Keep it running

Set AES only when creating a service account that will hold an SPN, and whenever an SPN is added to an existing account. Alert on events 4769 showing RC4 (0x17) tickets for these accounts, and replace keytab files whenever the password or encryption types change.

Evidence and audit

  1. Check 1 of 2What an auditor asks for

    Ask for

    A directory search, run by the auditor, for service accounts with an SPN and the msDS-SupportedEncryptionTypes value of each.

    Look at

    Any value that allows RC4 or DES, or is empty while the domain controllers' default still allows RC4, including on group Managed Service Accounts (KRBTGT is covered by the ticket check).

    Good evidence

    Every service account with an SPN can be issued tickets with AES types only, through its own setting or the domain default it relies on.

  2. Check 2 of 2What an auditor asks for

    Ask for

    Domain controller Kerberos ticket events (4768 and 4769) for a recent period, with auditing of both event types turned on first where it is off.

    Look at

    The ticket encryption type of each ticket issued for these accounts, including ticket-granting tickets.

    Good evidence

    Every ticket issued for a service account with an SPN, including ticket-granting tickets encrypted with KRBTGT's key, used AES (0x11 or 0x12), and none used RC4 (0x17) or DES.

Mappings

Closest match in ISO/IEC 27001: A.8.24, Use of cryptography, which this control partially meets.

ISO 27001

ISO/IEC 27001: 1 mapping

  • A.8.24Use of cryptographyPartially meets

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.