Skip to content
Software development
ASD ISMISM-2044

ASD ISM 2044 Prevent default credentials in software installations

What it says

Software has no default credentials; however, if credentials are required, they are created on first install by the installing organisation.

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

In plain English

Build software to ship with no preset usernames and passwords, API keys or other default credentials; any credentials it needs are created by the installing organisation at first install.

Software must have no default credentials: no username and password, PIN, API key or token that comes with the software before the installing organisation sets its own, whether shared by every copy or unique to each. That includes hidden support accounts and hard-coded credentials. Where credentials are needed, the installing organisation must create them on first install, for example by setting the first administrator's password during setup. This applies to software being developed; changing defaults in products an organisation installs falls under separate controls such as ISM-1806.

Why it matters

Default credentials appear in manuals and online lists, so attackers try them first, and many installs never change them. Software with none, which makes each installing organisation set its own at first install, removes that easy way in.

How to implement

  1. Find every credential the software contains or creates.

    Search code, configuration files, container images and installers for accounts, passwords, keys and tokens, including support, test and service accounts, and use commit-time secret scanning (ISM-2030) to catch hard-coded ones.

  2. Remove preset accounts and hard-coded credentials.

    Strip test and support accounts from release builds, and replace embedded secrets with values created at first install: entered by the installing organisation, generated randomly during its install, or taken from its secrets management solution (ISM-2142).

  3. Make setup require the organisation's own credentials.

    Have first install refuse to finish until the installing organisation creates the first administrator account and its password, or connects the software to its identity provider, with no preset fallback account left behind.

  4. Test a fresh install before each release.

    Install a clean copy, try blank, common and known vendor credentials on every interface, including APIs, consoles and management ports, and compare two installs to confirm no credential or other secret the software ships or generates is identical. For software a supplier builds for you, run the same test at acceptance.

Keep it running

Re-test a fresh install before each release, because a new feature, integration or support tool can add an account or key. Treat any default credential found after release as a vulnerability to resolve (ISM-1754), and tell consumers how to remove it.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    A fresh installation of the current release set up during the audit, with each setup prompt recorded.

    Look at

    Whether any account or interface accepts a credential before the installing organisation sets one, and whether setup forces it to create its own.

    Good evidence

    No account or interface, including APIs and management ports, accepts any credential before the installing organisation creates one, and, where the software needs credentials, setup cannot finish until the installing organisation creates them.

  2. Check 2 of 3What an auditor asks for

    Ask for

    A secret scan of the release build that the auditor runs or watches, with the product's manuals, support procedures and installer scripts.

    Look at

    Whether any hard-coded password, key or token, or any preset support, test or maintenance account, ships in the product or is referred to in its documents.

    Good evidence

    No hard-coded credential or preset support, test or maintenance account is found in the release build, and no manual or support procedure mentions a default logon.

  3. Check 3 of 3What an auditor asks for

    Ask for

    Two separate fresh installations of the same release, compared by the auditor.

    Look at

    Whether any credential, token, private key or other secret that the software ships or generates is identical in both.

    Good evidence

    No credential, token, private key or other secret that the software ships or generates is the same in both installations.

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.