Brain Dump

File Signatures

Tags
security

A [see page 5, file signature] is a unique sequence of identifying bytes written to a files header (I.E. the magic value sometimes used to determine the mime-type).

For example a JPEG image has a file header of FFD8 whereas PNG has 89504e47.

We use both file-headers and footers to determine file types.