TLDR InfoSec · MISCELLANEOUS
THE WINDOWS REGISTRY ADVENTURE #5: THE REGF FILE FORMAT
Summary from the TLDR InfoSec newsletter
This detailed blog post from Google Project Zero explores the regf file format used by the Windows Registry since Windows NT 3.1, which uniquely represents registry data simultaneously on disk and in memory. The format consists of several key components including a base block (header), bins that store data in 4KB chunks, and cells that contain the actual registry data like keys, values, and security descriptors. The post also explains how Windows implements self-healing properties when loading potentially corrupted hives, attempting to fix or isolate damaged data while preserving overall hive integrity whenever possible.