D3FEND / File Format Verification
D3-FISV: File Internal Structure Verification
Tactic: Isolate. The isolate tactic creates logical or physical barriers in a system which reduces opportunities for adversaries to create further accesses.
Definition
The process of checking specific static values within a file, such as file signatures or magic numbers, to ensure they match the expected values defined by the file format specification.
How it works
File format specifications often define expected values for specific fields. A common example are file signatures, or magic numbers, which are used to quickly identify files. Another example is within the Compound Document Header of Microsoft Office files, the 29th and 30th byte identifies the byte order, specifically 0xFFFE for little-endian. This technique verifies that the file's static values match the values of the declared file format's specification.
MITRE D3FEND 1.4.0, published under the MIT License, copyright 2022 The MITRE Corporation.