Skip to content
System hardening
ASD ISMISM-1829

ASD ISM 1829 Ensure no passwords remain stored in Group Policy Preferences

What it says

Passwords are not stored in Group Policy Preferences.

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

In plain English

Find and remove every password stored in Group Policy Preferences, so none remains in the policy files that every domain user can read.

No password may be stored in Group Policy Preferences, the part of Group Policy that sets items such as local accounts, mapped drives, services and scheduled tasks on computers. Older management tools let administrators put a password in these items, which was saved in a policy file on SYSVOL, a share every domain user can read, encrypted with a key that has been published. It is met when no preference item holds a password; ISM-1930 requires that new ones cannot be added.

Why it matters

Any domain user can read SYSVOL and decrypt a stored preference password with freely available tools, and these are often local administrator or service account passwords used across many computers. Removing them closes a quick route from an ordinary account to administrator access.

How to implement

  1. Search every domain's SYSVOL for stored passwords.

    Look in the Policies folder for preference files, such as Groups.xml, Services.xml, ScheduledTasks.xml, DataSources.xml and Drives.xml, containing a cpassword attribute with a value. Include unlinked Group Policy objects and any Group Policy backups kept on file shares.

  2. Remove the password from each item found.

    Delete the preference item, or rebuild it without a password. Replace what it did with a managed approach: a unique, managed password for each computer's local administrator account (ISM-1685), and group Managed Service Accounts for services and scheduled tasks (ISM-1619).

  3. Change every password that was stored.

    Any domain user could have read it, so treat it as compromised and change it on every account and computer that used it (ISM-1590). Do this after removing the item, so the old preference does not set the old password again.

Keep it running

Search SYSVOL again after Group Policy migrations, restores from old Group Policy or domain controller backups and domain consolidations, which can bring old preference files back. ISM-1930 stops new passwords being entered through the editing tools.

Evidence and audit

  1. Check 1 of 2What an auditor asks for

    Ask for

    A search of SYSVOL in every domain for cpassword values, run by the auditor or watched as it runs.

    Look at

    Every preference file in each domain's Policies folder, including those of unlinked Group Policy objects.

    Good evidence

    No preference file in any domain contains a cpassword attribute with a value; empty cpassword attributes do not count.

  2. Check 2 of 2What an auditor asks for

    Ask for

    Group Policy backups and copies of SYSVOL kept elsewhere, such as backup shares, migration folders and administrator workstations.

    Look at

    Whether any copy contains a cpassword value.

    Good evidence

    No copy outside SYSVOL contains a cpassword attribute with a value, except backups that were made before the passwords were removed and are locked against change or deletion until their retention period ends (ISM-2151).

Mappings

Closest match in ISO/IEC 27001: A.5.17, Authentication information, which this control partially meets.

ISO 27001

ISO/IEC 27001: 1 mapping

  • A.5.17Authentication informationPartially meets
Essential Eight

ASD Essential Eight: 1 mapping

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