Skip to content
System hardening
ASD ISMISM-1840

ASD ISM 1840 Prevent reversible encryption of user passwords

What it says

User account passwords do not use reversible encryption.

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

In plain English

Keep reversible encryption off for every user account password, in each AD DS domain password policy, every fine-grained password policy and each account's own options.

User account passwords, including those of privileged and service accounts, must not use reversible encryption. Reversible encryption stores a password in a form the domain can decrypt back to plain text, rather than only as a one-way hash. In AD DS it can be turned on in three places: the domain password policy, a fine-grained password policy (one applied to chosen users or groups) or an account's own options. A password stored that way stays after the option is turned off, and fails the control until it is changed.

Why it matters

A reversibly encrypted password can be turned back into the real password by anyone who obtains a copy of the directory database or holds DCSync permissions. They can then use it wherever that password works, including other systems where it has been reused.

How to implement

  1. Find every place reversible encryption is turned on.

    In each domain, check the domain password policy and every fine-grained password policy, and search for accounts with the option set using the LDAP filter (userAccountControl:1.2.840.113556.1.4.803:=128). List the user accounts each one covers, and use a password audit tool that reads stored credentials to find any password still stored reversibly.

  2. Move anything that relies on it to another authentication method.

    The option is usually turned on for older protocols, such as CHAP for remote access or digest authentication on web servers. Agree each change with the service owner. The control allows no exception, so replace a service that cannot change.

  3. Turn the option off everywhere.

    Set 'Store passwords using reversible encryption' to Disabled in the Group Policy object holding each domain's password policy and in every fine-grained password policy, and clear 'Store password using reversible encryption' in each account's options.

  4. Change the password of every account the option covered.

    A password saved in reversible form may remain until the next change, so require a change for each of those accounts, starting with privileged and service accounts.

Keep it running

Recheck all three places after any password policy change or new fine-grained password policy. When an application asks for this option, usually to support older methods such as CHAP or digest authentication, move it to another method instead.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    The password policy of each domain and every fine-grained password policy, read from the directory during the audit.

    Look at

    The reversible encryption setting in each, and whether every fine-grained password policy in the directory is included.

    Good evidence

    Reversible encryption is disabled in every domain's password policy and in every fine-grained password policy the directory holds.

  2. Check 2 of 3What an auditor asks for

    Ask for

    A search, run during the audit, of every domain for user accounts with 'Store password using reversible encryption' set.

    Look at

    Which user accounts the search returns.

    Good evidence

    No user account in any domain has the option set.

  3. Check 3 of 3What an auditor asks for

    Ask for

    A report of user accounts whose password is still stored using reversible encryption, produced during the audit by a password audit tool that reads stored credentials.

    Look at

    Which user accounts the report lists, and whether the number of user accounts it read matches each domain's total.

    Good evidence

    The report read every user account in every domain and lists none whose password is stored using reversible encryption.

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

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