Skip to content
System hardening
ASD ISMISM-1932

ASD ISM 1932 Limit service accounts with SPNs in Active Directory

What it says

The number of service accounts configured with an SPN is minimised.

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

In plain English

Keep the number of service accounts with a Service Principal Name (SPN) to the minimum, removing every SPN that no current service needs.

The number of service accounts configured with a Service Principal Name (SPN) must be kept to a minimum. An SPN lets clients request Kerberos tickets for a service running under that account, so only an account running such a service needs one. The control sets no target number: minimised means every service account with an SPN has a current need for it. Computer accounts are not counted, and ISM-1832 already keeps SPNs off all other kinds of account.

Why it matters

Any domain user can request a Kerberos ticket for a service account with an SPN and try to crack its password offline. Each such account is one more password exposed to that attack, so keeping only the accounts services need leaves fewer to crack.

How to implement

  1. List service accounts with an SPN and what each serves.

    From the directory, list each service account with a servicePrincipalName value, including group Managed Service Accounts, with its SPNs, the host and service each names, the account's owner and its last logon date. KRBTGT appears too; leave its default SPN in place.

  2. Confirm each SPN is still in use.

    With the service owner, check the service still runs under that account and clients reach it with Kerberos. Domain controller events 4769 show whether tickets are requested for the account; cover a period long enough to include rarely used services.

  3. Remove SPNs that no current service needs.

    Agree each removal with the service owner. Typical cases are SPNs left by retired, moved or rebuilt services, and SPNs on accounts that only run scheduled tasks or scripts, which need none.

Keep it running

Before adding an SPN to a service account, confirm that clients will reach a service under that account with Kerberos. Repeat the in-use check whenever a service is retired, moved or rebuilt, because SPNs on service accounts usually stay until someone removes them.

Evidence and audit

  1. Check 1 of 2What an auditor asks for

    Ask for

    A directory search for service accounts holding an SPN, run by the auditor, with each service owner's explanation of what the SPN serves.

    Look at

    Whether each SPN names a host and service that exist and still run under that account.

    Good evidence

    Every service account with an SPN runs a current service that clients reach with Kerberos, and no SPN is left from a retired, moved or rebuilt service.

  2. Check 2 of 2What an auditor asks for

    Ask for

    Domain controller service ticket events (4769) for a recent period, matched against the accounts in that search.

    Look at

    Accounts with an SPN for which no client requested a ticket in the period.

    Good evidence

    Every account with an SPN but no ticket requests in the period has a confirmed current reason to keep its SPN, such as a standby service used only in a failover.

Mappings

Closest match in ISO/IEC 27001: A.8.2, Privileged access rights, which partially overlaps with this control.

ISO 27001

ISO/IEC 27001: 1 mapping

  • A.8.2Privileged access rightsPartially overlaps

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