Data format check Inspects data to ensure that it conforms to expected/permitted format(s). Data range check Checks the data within each field to ensure that it falls within the expected/permitted range. Data type check Inspects each file header to determine the file type. File extension check Checks file extensions to ensure that they are permitted. Keyword search Searches data for keywords or ‘dirty words’ that could indicate the presence of classified or inappropriate material. Metadata check Inspects files for metadata that should be removed prior to release. Protective marking check Validates the protective marking of the data to ensure that it complies with the permitted classifications and endorsements. Manual inspection The manual inspection of data for suspicious content that an automated system could miss, which is particularly important for the transfer of image files, multi-media or content-rich files. 20.3.6.C.01. ControlSystem Classification(s): All Classifications; Compliance: MUST [CID:4329] Agencies MUST block, quarantine or drop any data identified by a data filter as suspicious until reviewed and approved for transfer by a trusted source other than the originator. 20.3.7. Content validation 20.3.7.R.01. Rationale Content validation aims to ensure that the content received conforms to a defined, approved standard. Content validation can be an effective means of identifying malformed content, allowing agencies to block potentially malicious content. Content validation operates on a whitelisting principle, blocking all content except for that which is explicitly permitted. Examples of content validation include: ensuring numeric fields only contain numeric numbers; other fields operate with defined character sets; ensuring content falls within acceptable length boundaries; ensuring XML documents are compared to a strictly defined XML schema. 20.3.7.C.01. ControlSystem Classification(s): Confidential, Secret, Top Secret; Compliance: MUST [CID:4332] Agencies MUST perform validation on all data passing through a content filter, blocking content which fails the validation. 20.3.7.C.02. ControlSystem Classification(s): All Classifications; Compliance: SHOULD [CID:4333] Agencies SHOULD perform validation on all data passing through a content filter, blocking content which fails the validation. 20.3.8. Content conversion and transformation 20.3.8.R.01. Rationale Content conversion, file conversion or file transformation can be an effective method to render potentially malicious content harmless by separating the presentation format from the data. By converting a file to another format, the exploit, active content and/or payload can often be removed or disrupted enough to be ineffective. Examples of file conversion and content transformation to mitigate the threat of content exploitation include: converting a Microsoft Word document to a PDF file; converting a Microsoft PowerPoint presentation to a series of JPEG images; converting a Microsoft Excel spreadsheet to a Comma Separated Values (CSV) file; or converting a PDF document to a plain text file. Some file types, such as XML, will not benefit from conversion. The conversion process should also be applied to any attachments or files contained within other files, for example, archive files or encoded files embedded in XML. 20.3.8.C.01. ControlSystem Classification(s): All Classifications; Compliance: SHOULD [CID:4336] Agencies SHOULD perform content conversion, file conversion or both for all ingress or egress data transiting a security domain boundary. 20.3.9. Content sanitisation 20.3.9.R.01. Rationale Sanitisation is the process of attempting to make potentially malicious content safe to use by removing or altering active content while leaving the original content as intact as possible. Sanitisation is not as secure a method of content filtering as conversion, though many techniques may be combined. Extraneous application and protocol data, including metadata, should also be inspected and filtered where possible. Examples of sanitisation to mitigate the threat of content exploitation include: removal of document properties information in Microsoft Office documents; removal or renaming of Javascript sections from PDF files; removal of metadata such as EXIF information from within JPEG files. 303 Version_3.5__January-2022

Select target paragraph3

Connect to a paragraph
Connect to an entity
Disable highlights
Add to table of contents