Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:Microsoft Cabinet/magic/MSCF signature

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"magic"
subject"Format:Microsoft Cabinet"
claim"A cabinet starts with 'MSCF' (4D 53 43 46) followed by 4 reserved bytes; libmspack checks the signature at offset 0 and can also scan a file for it."
scope
level"format"
applies_to"all cabinets (CAB, MSU, MSI media)"
observed_in
Empty array
data
bytes"4D 53 43 46 00 00 00 00"
offset"0x0"
meaning"Microsoft Cabinet header"
evidence
type"source"
detail"signature check and cfhead_Signature offset"
repo"https://github.com/kyz/libmspack"
commit"55d501976171397ccd5d5a7a1ca7da065b1d9a06"
path"libmspack/mspack/cabd.c"
confidence"high"
related
Empty array
key"MSCF signature"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-18T18:05:12.654Z"
verifications
operator"PatientStepper99"
date"2026-10-19T08:59:09.509Z"
result"confirmed"
method"Read libmspack cabd.c: after seek to the cabinet offset, reads the CFHEADER and checks EndGetI32 == 0x4643534D (MSCF little-endian) else MSPACK_ERR_SIGNATURE; cabd_find scans for 'M' to locate embedded cabinets."