Skip to content
System hardening
ASD ISMISM-1839

ASD ISM 1839 Secure account properties in Active Directory

What it says

Account properties accessible by unprivileged users are not used to store passwords.

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

In plain English

Never store a password in any account property that unprivileged users can access, such as the description or notes field of a user, service or computer account.

Account properties that unprivileged users can access must not be used to store passwords. Properties are an account's attributes, such as description, notes (info) or custom fields, on user, service and computer accounts alike. Unprivileged users cannot change system configurations, account privileges, event logs or security settings, yet by default they can read many properties. So no such property may hold a password, on any account. ISM-1838 separately bans use of the UserPassword attribute on user accounts.

Why it matters

Passwords typed into fields such as an account's description can be read by ordinary accounts. A malicious actor who compromises any one user can query the directory, collect them and log on with them, including as service or administrator accounts.

How to implement

  1. Work out which account properties unprivileged users can read.

    Query the directory with an ordinary test account: every attribute it can read on user, service and computer accounts is in scope. Expect description, info (shown as Notes) and custom or extension attributes to be among them.

  2. Search those properties for passwords in every domain.

    Look for words such as pass, pwd or temp and for strings that look like passwords, using LDAP searches or a directory audit tool. Confirm each hit with the account's owner rather than by trying it.

  3. Change each password found, then remove it from the property.

    Change it on whichever account or system it unlocks: ISM-1590 requires this for user account credentials found stored in the clear, and ISM-2144 for static credentials used by applications. Then clear the value and record the account, property and date.

  4. Stop the practices that put passwords there.

    Change provisioning scripts, account templates and helpdesk steps that record initial, temporary or service account passwords in account fields. Give people new passwords by a secure communications channel or, failing that, split between them and their supervisor (ISM-1594). Keep any password that must be stored in a password manager, as ISM-1402 allows.

  5. Check properties built to hold passwords.

    Some tools keep local administrator or service account passwords in protected attributes on computer or service accounts. Confirm that no unprivileged user account can read them, directly or through a group, and that a read attempted with an ordinary test account fails. Leave read access for computers running a managed service account.

Keep it running

Search again after changes to provisioning scripts, helpdesk tools or account templates, and include directory attributes in the scans ISM-1875 requires for credentials stored in the clear. A new find means some process or habit still puts passwords there.

Evidence and audit

  1. Check 1 of 4What an auditor asks for

    Ask for

    A search, run during the audit with an ordinary test account, of every property it can read on user, service and computer accounts in each domain.

    Look at

    Whether any value is or contains a password, using keyword and pattern matches confirmed with the account's owner.

    Good evidence

    No property the ordinary account can read holds a password, on any account in any domain.

  2. Check 2 of 4What an auditor asks for

    Ask for

    Provisioning scripts, account templates and helpdesk steps for creating accounts and resetting passwords, with a recently created account and a recent password reset.

    Look at

    Whether any step writes a password into an account property.

    Good evidence

    No step or script writes a password into an account property, and the sampled new account and reset left no password in any property.

  3. Check 3 of 4What an auditor asks for

    Ask for

    Records of passwords previously found in account properties, with the last password change date of each account or system they unlocked.

    Look at

    Whether each exposed password was removed from the property and changed after it was found.

    Good evidence

    Every password found was removed from the property and changed after discovery, shown by a later password change date such as pwdLastSet.

  4. Check 4 of 4What an auditor asks for

    Ask for

    Read permissions on attributes built to hold passwords, such as those used by local administrator password tools, and a read attempted with an ordinary test account.

    Look at

    Who is granted read access, and whether the test read succeeds.

    Good evidence

    No unprivileged user account, directly or through a group, is granted read access to any attribute holding passwords, and the ordinary account's read attempt fails.

Mappings

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

ISO 27001

ISO/IEC 27001: 1 mapping

  • A.5.15Access controlPartially meets

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