Skip to content
System access
ASD ISMISM-1619

ASD ISM 1619 Use group Managed Service Accounts (gMSAs) for service accounts

What it says

Service accounts are created as group Managed Service Accounts.

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

In plain English

Create every service account as a group Managed Service Account, so the domain generates and changes its password; standalone or ordinary accounts do not count.

Service accounts must be created as group Managed Service Accounts (gMSAs). Service accounts are the accounts applications and automated tasks run as, rather than a person. A gMSA is a domain account whose password the domain controllers generate and change automatically, releasing it only to the computers allowed to use it, which can be several servers. Standalone managed service accounts and ordinary user accounts do not count. The control allows no exception, so a service that cannot use a gMSA remains a gap until it can.

Why it matters

Service account passwords set by hand are often weak, reused across servers, rarely changed and known to former staff, and malicious actors can crack weak ones offline. A group Managed Service Account's password is generated and changed automatically, so no person needs to know it.

How to implement

  1. List every service account and what runs under it.

    Combine accounts holding Service Principal Names, the accounts that services, scheduled tasks and application pools run as on each server, and accounts named in application configuration files. For each, note which servers use it and whether the software supports group Managed Service Accounts.

  2. Prepare the domain to issue group Managed Service Accounts.

    Create the Key Distribution Services root key if the forest has none, and allow time for it to take effect on every domain controller before creating the first account. Confirm the servers that will use them run an operating system version that supports gMSAs.

  3. Create one gMSA per service and environment.

    Allow only the service's servers in that environment to retrieve its password (the PrincipalsAllowedToRetrieveManagedPassword setting), give it only the access the service needs, and set the service, task or application to log on as it. Then disable the old account, and revoke its credentials once nothing uses them (ISM-2145).

  4. Treat each service that cannot use a gMSA as an open gap.

    Some software and systems outside the domain cannot use one. Record each case and its reason for the system's authorising officer, ask the vendor for support, and meanwhile give the account a random credential of at least 30 characters kept in a vault (ISM-1685, ISM-1795, ISM-1954).

Keep it running

Create each new service account as a gMSA from the start, through the account request process and build scripts. Update the computers allowed to retrieve each password when a service moves or a server is retired, and revisit gaps when vendors add support.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    An independent list of the accounts that services, scheduled tasks and application pools run as on every server, gathered by script or endpoint management, plus accounts holding Service Principal Names.

    Look at

    Whether each account is a group Managed Service Account (object class msDS-GroupManagedServiceAccount), a standalone managed service account or an ordinary user account.

    Good evidence

    Every service account found is a group Managed Service Account, and none is a standalone managed service account or ordinary user account, whether or not it is recorded as a gap.

  2. Check 2 of 3What an auditor asks for

    Ask for

    The directory's enabled user accounts not tied to a named person, with their recent logons, and the accounts named in sampled applications' and appliances' configuration.

    Look at

    Whether any of these accounts is used by an application, appliance or script without being a group Managed Service Account.

    Good evidence

    Every account that an application, appliance or script uses is a group Managed Service Account, and no configuration holds a password for a service account.

  3. Check 3 of 3What an auditor asks for

    Ask for

    The list of service accounts recorded as unable to use a group Managed Service Account, with the vendor or test evidence for each.

    Look at

    Whether each reason holds for the installed version, and how each account's credential is protected meanwhile.

    Good evidence

    Each reason holds for the installed version, each account meets ISM-1685, ISM-1795 and ISM-1954 meanwhile, and these accounts are reported as not meeting this control.

Mappings

Closest match in ISO/IEC 27001: A.5.16, Identity management, which this control partially meets.

ISO 27001

ISO/IEC 27001: 1 mapping

  • A.5.16Identity managementPartially meets
Essential Eight

ASD Essential Eight: 1 mapping

ASD Essentials

ASD Essentials for enterprise IT: 1 mapping

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