Skip to content
Gateways
ASD ISMISM-0677

ASD ISM 0677 Ensure file integrity through signature validation

What it says

Files imported or exported via gateways or CDSs that have a digital signature or cryptographic checksum are validated.

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

In plain English

Any file crossing a gateway or cross domain solution that carries a digital signature or cryptographic checksum must have it validated, to show whether the file has changed.

Files imported or exported through a gateway or cross domain solution (CDS) that carry a digital signature or cryptographic checksum must have it validated. Gateways and CDSs control data flows between security domains, such as an internal network and the internet. A digital signature shows who signed a file and that it has not changed since. A cryptographic checksum is a hash or similar value calculated from the contents. Validating means checking that the signature verifies, or that a recalculated checksum matches. Files with neither are not covered.

Why it matters

A file altered in transit, such as an installer with code added or a document changed after approval, can still look normal. Validating its signature or checksum can reveal the change, which may mean tampering, so the file can be stopped before it is used.

How to implement

  1. Identify which files on each path carry signatures or checksums.

    Look for signed executables, installers and scripts, signed documents and transfers that come with a checksum or manifest, in both directions. Data authorised for export from SECRET and TOP SECRET systems, which ISM-0675 requires a trustworthy source to sign, will also carry signatures.

  2. Turn on signature and checksum validation in the content filter or CDS.

    Run it before conversion or sanitisation (ISM-1286, ISM-1287) changes the file. For signatures, check the match, the chain to a trusted root and revocation status. Where a bought email or web service cannot validate, route signed file types, such as software downloads, through a stage that can.

  3. Validate every checksum a file carries.

    Recalculate each file's checksum and compare it with the supplied value, or better, one the sender published or sent separately. A plain hash sent with the file reveals accidental damage but not deliberate change, since whoever alters the file can replace the hash too.

  4. Act on every failed or incomplete validation.

    Quarantine files that fail for review (ISM-0652) and log each result. Do not release a file whose validation cannot finish, such as when the revocation service is unreachable.

Keep it running

Keep the trusted certificate list and revocation checking current, and recheck when a signing certificate is replaced or a new signed format starts crossing. Treat a run of validation failures from one source as possible tampering and investigate.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    The validation settings on each gateway and CDS path, and the signature and checksum formats each recognises.

    Look at

    Whether validation runs in both directions on every path, and whether signature checks cover the certificate chain and revocation as well as the match.

    Good evidence

    Every path validates signed and checksummed files in both directions, and signature validation confirms the match, a trusted certificate chain and that the certificate is not revoked.

  2. Check 2 of 3What an auditor asks for

    Ask for

    Harmless test files sent in and out on each path: a correctly signed file, the same file with one byte changed after signing, and a file whose supplied checksum does not match.

    Look at

    What happens to each file and what the logs record.

    Good evidence

    The intact file passes, while the altered file and the file with the mismatched checksum are each logged as failing validation and held rather than delivered, in both directions.

  3. Check 3 of 3What an auditor asks for

    Ask for

    A sample of files from the gateway's transfer logs for a recent period, not only those it recorded as signed or checksummed, with their validation records.

    Look at

    Which sampled files carry a signature or checksum, checked with the auditor's own tools, and whether each such file, in any format, has a validation result.

    Good evidence

    Every sampled file that carried a signature or checksum, in any format, has a recorded validation result, and none was released after a failed or incomplete validation.

Mappings

Closest match in ISO/IEC 27001: A.5.14, Information transfer, which this control partially meets.

ISO 27001

ISO/IEC 27001: 1 mapping

  • A.5.14Information transferPartially meets

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