Skip to content
Cryptography
ASD ISMISM-1768

ASD ISM 1768 Use appropriate SHA-2 output size for hashing

What it says

When using SHA-2 for hashing, an output size of at least 384 bits is used, preferably SHA-384 or SHA-512.

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

In plain English

In TOP SECRET systems, any use of SHA-2 for hashing must have an output of at least 384 bits, which in practice means SHA-384 or SHA-512.

When SHA-2 is used for hashing in a TOP SECRET system, the output size must be at least 384 bits, preferably SHA-384 or SHA-512. SHA-2 is a family of hashing algorithms, which turn data into a fixed-length value called a digest; output size is the digest's length in bits. Of the standard variants, only SHA-384 and SHA-512 qualify; SHA-224, SHA-256, SHA-512/224 and SHA-512/256 (224-bit and 256-bit versions of SHA-512) fall short, as does any digest cut below 384 bits. The ISM applies this control to TOP SECRET systems only.

Why it matters

Shorter digests make collisions (two inputs sharing a digest) easier to find, so forged data or a forged signature could pass a check. A 384-bit output gives about 192 bits of security strength, ASD's target for TOP SECRET data; SHA-256 gives about 128.

How to implement

  1. Find every place each TOP SECRET system uses SHA-2.

    Cover certificate and code signatures, TLS, SSH and IPsec settings, integrity checks, password storage and in-house code. SHA-256 is a frequent default, so read each variant, and any truncation, from configuration, code or vendor documentation rather than assuming it.

  2. Move every use below 384 bits, such as SHA-256, to SHA-384 or SHA-512.

    Reissue certificates, re-sign code and recompute stored integrity values. In TLS 1.3, offer only TLS_AES_256_GCM_SHA384 and limit signature algorithms to SHA-384 or SHA-512 ones, such as ecdsa_secp384r1_sha384. Where a protocol control offers SHA-2 options, such as ISM-1772 for IPsec, choose the 384 or 512-bit ones.

  3. Replace products that cannot use SHA-384 or SHA-512.

    Ask the vendor for an update first. Where none exists, the product does not meet this control while it hashes with a smaller variant, so plan its replacement and record it for the authorising officer as a shortfall until then.

Keep it running

Recheck when a TOP SECRET system, certificate template or signing tool is added or changed, after updates that can reset protocol defaults, and when a system is reclassified to TOP SECRET.

Evidence and audit

  1. Check 1 of 2What an auditor asks for

    Ask for

    A scan of certificates and TLS, SSH and IPsec settings across TOP SECRET systems, chosen from network discovery rather than the organisation's own list, including connection attempts that offer only SHA-256 options.

    Look at

    The SHA-2 variant each endpoint uses, and whether any accepts a smaller one.

    Good evidence

    Every endpoint uses SHA-384 or SHA-512, and none accepts a connection that uses a SHA-2 output below 384 bits.

  2. Check 2 of 2What an auditor asks for

    Ask for

    Hash calls found by a code search across every repository for TOP SECRET systems, a sample of recently signed software and stored integrity values, and vendor documentation for a sample of bought products drawn from software discovery.

    Look at

    The SHA-2 variant each uses, and whether any code keeps only part of a hash digest (an HMAC tag is not one).

    Good evidence

    Every SHA-2 call, signature, stored integrity value and sampled product uses SHA-384 or SHA-512, with no digest cut below 384 bits, confirmed from code, configuration or vendor documentation.

Mappings

Closest match in ISO/IEC 27001: A.8.24, Use of cryptography, which this control partially meets.

ISO 27001

ISO/IEC 27001: 1 mapping

  • A.8.24Use of cryptographyPartially meets

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