Skip to content
System hardening
ASD ISMISM-1842

ASD ISM 1842 Use dedicated privileged service accounts to add machines to the domain

What it says

Dedicated privileged service accounts are used to add machines to the domain.

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

In plain English

Add machines to the AD DS domain only with privileged service accounts kept for that one job, never with administrators' own accounts or other service accounts.

Machines must be added to the domain using dedicated privileged service accounts. A service account is a user account used by an automated process, such as a build or provisioning system, rather than by a person. Dedicated means it adds machines and does nothing else. Privileged here means it holds the directory rights to create and join computer accounts. Joining machines with an administrator's own account, even a domain administrator's, does not meet the requirement. ISM-1841 separately bars unprivileged accounts from adding machines.

Why it matters

Joining machines with staff's own administrator accounts exposes powerful credentials on computers that are not yet hardened or trusted. A service account limited to adding machines is far less useful to a malicious actor who captures it.

How to implement

  1. Create a service account used only to add machines.

    Use one per deployment system if they need separate accounts, name each for its job and deny it local and remote desktop logon. These are service accounts, so ISM-1619 (group Managed Service Accounts) and ISM-1795 (credentials of at least 30 characters) also apply.

  2. Grant only the rights needed to create and join computer accounts.

    Delegate create computer objects on the OUs where new machines go, plus the rights a join needs on those objects, such as reset password and validated writes to DNS host name and service principal name. Keep the accounts out of highly privileged groups such as Domain Admins (ISM-1940).

  3. Point every join process at these accounts.

    A group Managed Service Account's password (ISM-1619) is managed by the directory and cannot be typed into a tool, so run the process that creates each computer account as the service account, on a domain member allowed to retrieve that password, for example a task that prepares an offline domain join file.

  4. Take join rights away from staff accounts.

    Remove create computer objects and similar rights that administrators' own accounts or other groups hold on OUs. Built-in administrator groups keep the ability, so confirm through computer creation events (4741) that only the dedicated accounts add machines.

Keep it running

Review the accounts' logon and computer creation events for use from any computer not allowed to retrieve their passwords, and update their rights when the OUs for new machines change. When deployment systems change, update which computers may retrieve the accounts' passwords.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    Computer accounts created since the last audit, with the account that created each, taken from computer account creation events (4741) or each object's owner.

    Look at

    Each creator compared with the list of dedicated service accounts.

    Good evidence

    Every computer account was created by a dedicated service account; none was added with a person's own account, an administrator's included, or with any other service account.

  2. Check 2 of 3What an auditor asks for

    Ask for

    The group memberships, delegated rights and logon events of each dedicated service account, and the computers allowed to retrieve its password.

    Look at

    Whether the account is used for anything besides adding machines, and whether it holds more than the rights to do so.

    Good evidence

    Each account is in no highly privileged group, holds only rights to create and join computer accounts, and logs on only to run the join process on the deployment systems allowed to retrieve its password.

  3. Check 3 of 3What an auditor asks for

    Ask for

    A report of who can create computer objects on every OU and container.

    Look at

    Each holder other than the built-in administrator groups.

    Good evidence

    Apart from the built-in administrator groups, only the dedicated service accounts can create or join computer accounts.

Mappings

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

ISO 27001

ISO/IEC 27001: 1 mapping

  • A.8.2Privileged access rightsPartially meets
Essential Eight

ASD Essential Eight: 1 mapping

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