Skip to content
System access
ASD ISMISM-2144

ASD ISM 2144 Change application static credentials found compromised or exposed in clear

What it says

Static credentials used by applications and workloads are changed if:

  • they are compromised or suspected of being compromised
  • they are discovered stored on systems in the clear
  • they are discovered being transferred across networks in the clear.

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

In plain English

Change any static credential an application or workload uses if it is compromised or suspected to be, or is found stored on a system or sent across a network in the clear.

Static credentials used by applications and workloads must be changed if:

  • they are compromised, or suspected to be
  • they are found stored on a system in the clear (unencrypted), such as in code, a configuration file or a log
  • they are found crossing a network in the clear.

Static credentials are long-lived secrets, such as API keys, client secrets and database passwords. Workloads include containers, serverless functions and scheduled jobs. Deleting an exposed copy is not enough. Service account passwords also fall under ISM-1590.

Why it matters

A static credential often works from anywhere, with no second factor, until someone changes it. A key leaked into code history or captured from network traffic stays usable however many copies are deleted; changing it is what stops it working.

How to implement

  1. List every static credential and everything that uses it.

    Use the credential or secrets management solution (ISM-2142) and the key lists in cloud, identity and database platforms. For each, record where it is accepted, every application, workload and pipeline that uses it, and how to replace it, so a change does not break a forgotten consumer.

  2. Set up detection for each trigger.

    Scan code repositories with their full history, build logs and configuration stores for secrets, alongside the system scans ISM-1875 requires. Route providers' alerts about exposed keys to the credential's owner, flag secrets sent over unencrypted connections, and treat every credential on a compromised host or pipeline as suspected compromised.

  3. Issue the new credential, move every consumer, then revoke the old one.

    Where the service allows two active keys, add the new key, update each consumer through the secrets management solution and confirm it works before deleting the old key. Revoke a compromised key at once, accepting the outage, unless intrusion remediation sets the timing (ISM-1732). Remove the exposed copy.

  4. Change vendor-issued credentials through the vendor's own process.

    Use the product's admin portal to regenerate the credential, or ask the vendor in writing and keep its confirmation. A hard-coded credential that cannot be changed is an open shortfall, not an exception: limit where it is accepted and plan to replace the product.

  5. Confirm the old credential is refused and record the change.

    Try it from a test client, or check that the issuing platform shows it deleted or disabled. Record the trigger, the dates it was found and changed, and each consumer updated.

Keep it running

Keep each credential's list of consumers current so a change does not break them, and bring new repositories, pipelines and log stores into the scanning as they appear. Moving workloads to short-lived, dynamically issued credentials (ISM-2141) leaves fewer static ones to change.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    Secret scanning findings, provider alerts about exposed keys, network monitoring findings of secrets sent over unencrypted connections, and incidents involving application hosts or pipelines since the last audit, with the change history of each static credential named.

    Look at

    Whether each credential named was replaced after it was found, and whether its old value was disabled at the system that accepts it.

    Good evidence

    Every static credential that was compromised, suspected of compromise or found in the clear has a replacement dated after the discovery, and its old value is disabled or deleted where it was accepted.

  2. Check 2 of 3What an auditor asks for

    Ask for

    A secret scan the auditor runs over a sample of repositories, including their full history, and over build logs and configuration stores.

    Look at

    Whether each credential found is still active, checked by an administrator in the platform that accepts it.

    Good evidence

    No credential the scan finds is still active where it is accepted, so every exposed static credential has been changed.

  3. Check 3 of 3What an auditor asks for

    Ask for

    A walk-through of one recent change, from the finding to the old credential being disabled.

    Look at

    Whether every listed consumer moved to the new credential, and whether the old one is refused when tried.

    Good evidence

    The old credential is refused when tried from a test client, and every consumer listed for it now runs on the new one without errors.

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.