ASD ISM 1284 Ensure content validation for gateway files
What it says
Files imported or exported via gateways or CDSs undergo content validation.
Quoted as published. Everything else on this page is written by Control Stack.
In plain English
Every file passing through a gateway or cross domain solution, in either direction, must be validated as well formed for its format, which scanning alone does not do.
Files imported or exported through a gateway or cross domain solution (CDS) must undergo content validation. Gateways and CDSs control data flows between security domains, such as an internal network and the internet. Content validation checks that each file is well formed, meaning its internal structure follows the specification for its format, or an agreed schema for structured data such as XML. It differs from antivirus scanning (ISM-1288) and allowed file type filtering (ISM-0649), and neither of those meets this control.
Free. Save your status, tasks and notes.
Why it matters
Many malicious files use deliberately malformed structure to exploit flaws in the software that opens them, and a new exploit may have no antivirus signature. Checking each file's structure against its format can flag such files whether or not the payload is known.
How to implement
Choose a validator for each format on the allowed file types list (ISM-0649).
Use the format checking in the content filter or CDS, or a file validation service the gateway sends files to, and check structured data such as XML or JSON against an agreed schema. Confirm in vendor documentation that it checks structure, not only type.
Close gaps where a format cannot be validated.
The control makes no exception, so find a validator or remove the format from the allowed file types (ISM-0649). Where a bought email or web service has no format validation, route files through a gateway stage that has it.
Test each validator with malformed samples.
Send harmless files with broken structure, such as a truncated PDF or an image with a wrong length field, in and out on each path, and confirm each one is caught.
Keep it running
Add a validator before allowing any new file type on a path, and recheck coverage when the content filter, CDS or a bought service is upgraded or replaced. Look into spikes in validation failures, which can mean a faulty sender or someone probing the filter.
Evidence and audit
- Check 1 of 3What an auditor asks for
Ask for
The allowed file types for each path (ISM-0649), with the validation settings and vendor documentation for each format.
Look at
Whether every allowed format is checked against its specification or schema in both directions, rather than only identified or scanned.
Good evidence
Every allowed format on every path and direction has structure validation turned on, and no format relies only on antivirus scanning, type identification or an extension check, whatever exceptions have been recorded.
- Check 2 of 3What an auditor asks for
Ask for
Harmless but malformed test files in several allowed formats, such as a truncated PDF, each with a well-formed copy, sent in and out on each path.
Look at
What happens to each malformed file and its well-formed copy, and the reason the logs give.
Good evidence
Every malformed file is flagged by validation and held or blocked in both directions, while each well-formed copy passes.
- Check 3 of 3What an auditor asks for
Ask for
Content filter logs and quarantine release records for a recent period, compared with the gateway's record of files passed.
Look at
Whether every passed file, including files unpacked from archives, completed validation, and the review decision for any that failed.
Good evidence
Every file passed in either direction, including files unpacked from archives, completed validation before release, and any that failed was released only after a recorded review approved its release.
Mappings
Closest match in ISO/IEC 27001: A.5.14, Information transfer, which this control partially meets.
ISO/IEC 27001: 1 mapping
This control partially meets A.5.14.
ISM-1284 requires that files imported or exported via gateways or Cross Domain Solutions (CDSs) undergo content validation to prevent unsafe or non-compliant content crossing security boundaries. ISO/IEC 27001:2022 Annex A 5.14 requires information transfer rules and procedures for all transfer facilities, which can include gateways and the need for checks on transferred content. ISM-1284 is a specific technical/operational control within the broader governance requirement of Annex A 5.14 (which also covers agreements, responsibilities, and multiple transfer methods beyond file gateways).
Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.




