Skip to content
System access
ASD ISMISM-1597

ASD ISM 1597 Ensuring credential input obscurity

What it says

Credentials are obscured as they are entered into systems.

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

In plain English

Mask every credential while it is typed into a system, so a password, passphrase or PIN appears as dots or nothing at all, never as readable characters.

Credentials must be obscured as they are entered into systems. While someone types a password, passphrase or PIN, the screen shows masking characters such as dots, or nothing at all, rather than the characters typed. This covers every place credentials are typed, including operating system logon screens, web and application sign-in pages, administration consoles, network device prompts and command-line tools, and every kind of user account, privileged or not.

Why it matters

A credential shown on screen as it is typed can be read by someone nearby, seen in a shared screen or recording, or captured by malicious software that copies the display. Masking keeps the typed characters off the screen.

How to implement

  1. List every place credentials are typed.

    Use the software registers (ISM-1493) and administrators' runbooks to cover operating system logons, web and application sign-in pages, administration consoles, network device and firmware prompts, remote access clients, and scripts or command-line tools that ask for a password.

  2. Test each one by typing a dummy password.

    Every character should appear as a mask or not at all. In software you build, use the platform's password input type for web and app forms, and a prompt that does not echo for command-line tools.

  3. Stop credentials being typed as command arguments.

    A password given as a command-line argument shows on screen and can be saved in shell history, so change scripts and procedures to prompt without echo or to fetch the credential from a password manager.

  4. Turn off reveal options and deal with systems that cannot mask.

    On Windows, enable the policy 'Do not display the password reveal button', and check bought applications' admin settings for the same option. Replace a system that cannot mask credentials, or reach it only through single sign-on that does; until then, record it as a known shortfall.

Keep it running

Include a masking test in the release checks for new or changed sign-in pages, consoles and scripts that prompt for credentials. Recheck after upgrades that change a sign-in screen, and when a new kind of device or application is introduced.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    A live sign-in with a test account at a sample of entry points drawn from the software registers, covering an operating system logon, a web sign-in page, an administration console, a network device and a command-line tool.

    Look at

    What appears on screen as each character of the credential is typed.

    Good evidence

    Every sampled entry point shows only masking characters, or nothing, while the credential is typed, and none displays it in readable form.

  2. Check 2 of 3What an auditor asks for

    Ask for

    The list of credential entry points, compared with the software registers and the remote access and administration tools in use.

    Look at

    Whether any system or tool on those lists is missing, and whether each listed entry point has a masking test result.

    Good evidence

    Every system and tool on those lists appears, and each has a test result showing it masks credentials as they are typed.

  3. Check 3 of 3What an auditor asks for

    Ask for

    Administration runbooks, and the shell history of administrators on a sample of servers and workstations.

    Look at

    Whether any runbook has a credential typed as a command argument, and whether any credential appears in readable form in the history.

    Good evidence

    No runbook has anyone type a credential as a command argument, and no history entry shows one in readable form.

Mappings

Closest match in ISO/IEC 27001: A.8.5, Secure authentication, which this control partially meets.

ISO 27001

ISO/IEC 27001: 1 mapping

  • A.8.5Secure authenticationPartially meets

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