Skip to content
System hardening
ASD ISMISM-0383

ASD ISM 0383 Change default OS user accounts during setup

What it says

Default user accounts or credentials for operating systems, including for any pre-configured user accounts, are changed, disabled or removed during initial setup.

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

In plain English

Deal with every default account or credential in an operating system before initial setup ends, by changing, disabling or removing it, and that includes pre-configured accounts.

Default user accounts or credentials for operating systems on workstations and servers must be changed, disabled or removed during initial setup. Any one action is enough for each account or credential, so renaming an account while keeping its default password, which is also a credential, falls short. Pre-configured accounts count too, meaning any that a vendor, supplier or image creator has already put in place. A clean-up after setup does not meet this. Server applications, network devices and user applications have their own controls (ISM-1260, ISM-1304, ISM-1806).

Why it matters

Default accounts and credentials are often published or easily guessed, so anyone who reaches a newly built machine could log on with them. Dealing with them during setup means the machine does not enter service with a logon outsiders may already know.

How to implement

  1. List the default accounts and credentials for each operating system.

    Use vendor documentation and list the accounts on a clean install. Include what images, cloud templates, suppliers and provider tools add, such as built-in administrators, guest accounts, root, cloud image logins and vendor support accounts.

  2. Choose change, disable or remove for each one.

    Disable or remove accounts nothing uses, which ISM-0380 requires for unneeded accounts. Where an account stays, give it a new randomly generated credential (ISM-1227). Credentials for built-in Administrator and local administrator accounts also need at least 30 characters (ISM-1795).

  3. Build the actions into the setup process.

    Script them in your standard operating environment build (ISM-1406), so they run before the machine enters service. Set unique credentials at first boot, because a credential stored in a golden image (a master copy cloned onto new machines) is shared by every copy, and ISM-1685 requires unique local administrator credentials.

  4. Test a fresh build before releasing it.

    Build a machine by the normal route, list its accounts and try each default credential. If one works, fix the build and test again.

  5. Handle accounts you cannot change yourself.

    For a vendor appliance or provider-run server with a fixed account, ask the vendor or provider how to change, disable or remove it, and get the result in writing. If there is no way, treat it as a shortfall until closed.

Keep it running

Re-run the check on a fresh build after each change to the build image, new operating system version or new image supplier, because each can bring new default accounts. If a default survives setup on any machine, fix it there and in the build.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    A machine freshly built by the normal route, with the vendor's list of default accounts and credentials.

    Look at

    The state of each default and pre-configured account, and whether each published default credential still works.

    Good evidence

    When setup ends, every default and pre-configured account is disabled, removed or has a changed credential, and logging on with each published default credential fails.

  2. Check 2 of 3What an auditor asks for

    Ask for

    The build sequence or image preparation steps, and the build logs of recently set up machines.

    Look at

    When the change, disabling or removal happens compared with the machine going into service.

    Good evidence

    The action runs as part of setup and is logged complete before the machine enters service, with no later clean-up task doing this work.

  3. Check 3 of 3What an auditor asks for

    Ask for

    Local account lists and password-last-set dates from machines sampled from a network discovery scan, including supplier-built and provider-run machines.

    Look at

    Default accounts still enabled, and credentials unchanged since the image was made.

    Good evidence

    No sampled machine has a default or pre-configured account enabled with its original credential, including machines built by suppliers or outside the normal route.

Mappings

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

ISO 27001

ISO/IEC 27001: 2 mappings

  • A.5.17Authentication informationPartially meets
  • A.8.9Configuration managementPartially meets
ASD Essentials

ASD Essentials for enterprise IT: 1 mapping

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