Skip to content
Gateways
ASD ISMISM-0649

ASD ISM 0649 Filter gateway files for allowed types

What it says

Files imported or exported via gateways or CDSs are filtered for allowed file types.

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

In plain English

Only file types on the organisation's allowed list may pass through a gateway or cross domain solution, in either direction, and every other type is stopped.

Files imported or exported through a gateway or cross domain solution (CDS) must be filtered so that only allowed file types pass. Gateways and CDSs control data flows between security domains, such as an internal network and the internet. The organisation decides which types are allowed, and any type not on its list is stopped. This is an allow list, not a block list of known bad types. File type means what the file actually is, which renaming does not change. Both directions are covered.

Why it matters

Every file type a gateway accepts is another format in which malicious code can hide or exploit the program that opens it. Allowing only the types the business needs leaves attackers fewer formats to work with, in either direction.

How to implement

  1. Find out which file types each path needs, in each direction.

    Cover email, web, file transfer and CDS paths. List the types seen in recent gateway logs, and confirm with the teams that use each path which ones their work requires.

  2. Record the allowed types for each path and direction.

    Keep each list as short as the work allows, for example PDF and common document and image formats for inbound email. The list is cyber security documentation, so ISM-0888 sets its minimum review interval and requires a 'current as at' date, and ISM-0047 sets who approves it.

  3. Set each filter to allow listed types and block everything else.

    Identify each file's type from its content rather than its extension, and treat a mismatch between the two as suspicious. Apply the filter to files inside archives (ISM-1289) and decrypted files (ISM-1293). Where a bought service can only block named types, add a stage enforcing the allowed list.

  4. Test every path in both directions before relying on it.

    Send a type that is not on the list, and the same file renamed with an allowed extension, and confirm both are stopped.

Keep it running

Add a file type only through change control and only for the path that needs it. Recheck each filter when a gateway product or email or web service is replaced or upgraded, since a new one may start with its own default list.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    The allowed file type list for each gateway and CDS path, and the live filter configuration on each.

    Look at

    Whether each configuration passes only the listed types in both directions, what it does with any other type, and any sender or user exempted.

    Good evidence

    Every path's filter passes only the listed types in each direction and blocks all other types by default, with no sender or user exempted.

  2. Check 2 of 3What an auditor asks for

    Ask for

    A test file of a type not on the list, and the same file renamed with an allowed extension, sent in and out on each path.

    Look at

    Whether the filter recognises the real type in each case.

    Good evidence

    Both files are blocked on every path in both directions, showing the filter reads the real type rather than the extension.

  3. Check 3 of 3What an auditor asks for

    Ask for

    Gateway logs of the file types passed over a recent period, compared with the allowed list for each path.

    Look at

    Any passed file whose type is not on the list for that path and direction, including files found inside archives.

    Good evidence

    No file of an unlisted type passed on any path in either direction, including files inside archives.

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.