Skip to content
System access
ASD ISMISM-1402

ASD ISM 1402 Protecting stored credentials with security measures

What it says

Credentials stored on systems are protected by a password manager; a hardware security module; or by salting, hashing and stretching them before storage within a database.

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

In plain English

Keep stored credentials only in a password manager or hardware security module, or store them in a database solely as salted, stretched hashes.

Credentials stored on systems, including those of service and break glass accounts, must be protected in one of three ways:

  • Password manager: software that keeps credentials encrypted and releases them only to authorised people or processes.
  • Hardware security module: a dedicated device that safeguards keys and performs cryptography inside itself.
  • Database: before storage, each credential is salted with its own random value, hashed one way and stretched so that checking each guess is slow.

Why it matters

Credentials left readable in files, scripts or password tables can be copied in bulk by anyone who reaches the system. Password managers and hardware security modules lock them behind access control; salting and stretching make each stolen database hash slow to crack.

How to implement

  1. Find where credentials are stored today.

    Search file shares, scripts, configuration files, spreadsheets and document libraries, and check how each application stores the passwords and keys it holds. Cover service, break glass and other privileged account credentials, not only user passwords.

  2. Put credentials that must be read back in a password manager or hardware security module.

    Hold API keys and shared administrator credentials in a password manager, with access limited to those who use each one; cryptographic keys suit a hardware security module. For applications and workloads, ISM-2141 prefers short-lived credentials issued on demand, which avoid long-term storage.

  3. Remove old copies and change the credentials.

    Delete credentials from the files, scripts and spreadsheets they were moved out of, and change each one, because a copy may already have been taken; ISM-1590 and ISM-2144 require this for credentials found stored in the clear.

  4. Salt, hash and stretch credentials that only need checking.

    Where an application verifies passwords or API keys, use PBKDF2 with HMAC-SHA-512 (ISM-0471 allows only ASD-approved algorithms), a unique random salt per credential and a work factor as high as sign-in times allow. Reversible encryption does not meet this. Rehash old hashes now, then hash each credential directly at next sign-in.

  5. Check bought services and directories.

    Ask each vendor whose service stores your users' passwords how it protects them, and prefer single sign-on so it stores none. In Active Directory, confirm no user account uses reversible encryption (ISM-1840) and no passwords sit in Group Policy Preferences (ISM-1829).

Keep it running

The scans ISM-1875 requires will show credentials drifting back into files; change each one found and keep the new one in protected storage (ISM-1590, ISM-2144). Review the stretching work factor whenever an application or its password hashing library is upgraded.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    The record of where credentials are stored and how each is protected, with the latest results of the scans ISM-1875 requires.

    Look at

    Which of the three protections each recorded location uses, and whether the scans found credentials anywhere else.

    Good evidence

    Each recorded location uses a password manager, a hardware security module, or salted, hashed and stretched storage in a database, and every credential the latest scans found elsewhere has since been moved into one of them or deleted.

  2. Check 2 of 3What an auditor asks for

    Ask for

    The password storage code or settings of a sample of in-house applications drawn from the software registers, with a count from each production database of stored records by hash format.

    Look at

    Whether each record gets its own salt, which hashing function and work factor are used, whether any value can be decrypted, and the count for each format.

    Good evidence

    Every sampled application gives each record a unique salt and a stretched hash, such as one from PBKDF2 with HMAC-SHA-512, and the count shows no record in plain text, reversibly encrypted or in a single fast hash.

  3. Check 3 of 3What an auditor asks for

    Ask for

    A search of file shares, scripts and configuration files on a sample of servers for a few credentials known to be held in the password manager.

    Look at

    Whether copies of those credentials exist anywhere else.

    Good evidence

    None of the sampled credentials is found outside the password manager or hardware security module.

Mappings

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

ISO 27001

ISO/IEC 27001: 1 mapping

  • A.5.17Authentication informationPartially overlaps
Essential Eight

ASD Essential Eight: 1 mapping

ASD Essentials

ASD Essentials for enterprise IT: 2 mappings

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