Skip to content
System hardening
ASD ISMISM-1832

ASD ISM 1832 SPN configuration for Active Directory accounts

What it says

Only service accounts and computer accounts are configured with Service Principal Names (SPNs).

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

In plain English

Set Service Principal Names (SPNs) only on service accounts and computer accounts, so no account a person uses holds one.

Service Principal Names (SPNs) must be configured only on service accounts and computer accounts. An SPN is the name Kerberos uses to find the account a service runs under, so clients can request tickets for that service. Service accounts are user accounts that a non-human user, such as an application, uses for automated tasks. Computer accounts identify the domain's computers. No account a person uses, privileged or unprivileged, may hold an SPN. ISM-1932 then keeps the number of service accounts with SPNs to a minimum.

Why it matters

Any domain user can request a Kerberos service ticket for an account with an SPN and try to crack its password offline. Passwords people choose are much easier to crack than the long, randomly generated credentials ISM-1795 and ISM-1954 require for service accounts.

How to implement

  1. Find every account that holds an SPN.

    Search the directory for every object with a servicePrincipalName value and set computer accounts aside. Expect KRBTGT in the results: ISM-1847 treats it as a service account, and it carries an SPN by default.

  2. Sort the rest into service accounts and accounts people use.

    Ask each account's owner whether a person logs on with it, and check logon events (4624) for interactive or remote desktop logons. A name such as 'svc' proves nothing: an account a person logs on with is not a service account. Note SPNs that no running service uses.

  3. Move each SPN off accounts people use.

    Remove SPNs no service uses. Otherwise, with the service owner, remove the SPN from the person's account, register it on a group Managed Service Account (ISM-1619) running the service (ISM-1834 bars duplicates) and test a Kerberos logon. If people log on with a service's own account, give them their own instead.

Keep it running

Re-run the search after installing or migrating any application that registers SPNs. Alert on changes to servicePrincipalName on user accounts through directory change auditing (event 5136), and check that each new SPN sits on a service or computer account.

Evidence and audit

  1. Check 1 of 2What an auditor asks for

    Ask for

    A directory search for every account holding an SPN, run by the auditor during the audit, and the current staff directory.

    Look at

    Whether each account is a computer account or a service account, and whether any matches a person in the staff directory or is an administrator's account.

    Good evidence

    Every account with an SPN is a computer account or a service account, and none is an account a person uses, privileged or unprivileged.

  2. Check 2 of 2What an auditor asks for

    Ask for

    Logon events (4624) for each non-computer account holding an SPN over a recent period, from the central log store.

    Look at

    Interactive and remote interactive logons (logon types 2 and 10) by those accounts, after confirming the store collects logon events from the servers and workstations people log on to.

    Good evidence

    The store collects logon events from the servers and workstations people log on to, and none of these accounts had an interactive or remote interactive logon in the period.

Mappings

Closest match in ISO/IEC 27001: A.5.15, Access control, which this control partially meets.

ISO 27001

ISO/IEC 27001: 2 mappings

  • A.5.15Access controlPartially meets
  • A.8.9Configuration managementPartially meets

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