Skip to content
System hardening
ASD ISMISM-1946

ASD ISM 1946 Restrict write access to certificate templates

What it says

Unprivileged user accounts do not have write access to certificate templates.

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

In plain English

Unprivileged user accounts must have no way to change any certificate template, whether through a direct permission, a group, inheritance or ownership.

Unprivileged user accounts must not have write access to certificate templates. These are accounts with no ability to alter system or security settings, account privileges or event logs, and broad groups such as Domain Users and Authenticated Users contain them. Write access means any permission that lets an account change a template, such as Full Control, Write, Modify permissions or Modify owner, whether held directly, through a group or by inheritance. Owning a template counts, because owners can change permissions. Read and enrol permissions do not.

Why it matters

Anyone who can change a template can make it issue certificates that sign in as other accounts, such as by letting requesters supply names and adding an authentication use, then act as an administrator. Removing unprivileged accounts' write access closes that route.

How to implement

  1. Export the owner and permissions of every template.

    Read each object under CN=Certificate Templates,CN=Public Key Services,CN=Services,CN=Configuration in Active Directory with dsacls or Get-Acl, including inherited entries, rather than relying on the console's Security tab.

  2. Work out which holders include unprivileged accounts.

    Expand every group to its members, including nested groups, and check each member against the definition of unprivileged. Broad groups such as Authenticated Users, Domain Users and Everyone always include unprivileged accounts.

  3. Remove every write permission and ownership they hold.

    Take away Full Control, Write, Write all properties, writes to individual properties, Modify permissions and Modify owner, give any such template a privileged owner, and fix the container permissions they inherit from. Keep Read for each issuing CA's computer account, because the CA must read templates.

Keep it running

Recheck template permissions when templates are created or duplicated, when the Certificate Templates container's permissions change, and when groups holding template rights gain members. Template security changes are among the events ISM-2132 requires to be centrally logged.

Evidence and audit

  1. Check 1 of 2What an auditor asks for

    Ask for

    The owner and full permission list of every template, read from Active Directory, with group memberships expanded.

    Look at

    Any write permission or ownership held by an account or group that includes unprivileged accounts, including inherited entries.

    Good evidence

    No unprivileged user account holds Full Control, Write, Write all properties, a write to any individual property, Modify permissions or Modify owner on any template, directly, through a group or by inheritance, and none owns a template.

  2. Check 2 of 2What an auditor asks for

    Ask for

    The Effective Access result for a typical staff member's unprivileged account on every template, from each template's advanced security settings.

    Look at

    Whether any write right, Modify permissions or Modify owner shows as allowed, including writes to single properties.

    Good evidence

    On every template, the account has no write right of any kind, including to a single property, and no Modify permissions or Modify owner right.

Mappings

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

ISO 27001

ISO/IEC 27001: 3 mappings

  • A.5.15Access controlPartially meets
  • A.5.18Access rightsPartially meets
  • A.8.2Privileged access rightsPartially meets

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