BitLocker is Microsoft’s full-volume encryption, found on Windows Pro, Enterprise and Education system, data and removable drives, and in device encryption on many laptops. It debuted with Windows Vista (2007) and is actively developed. A recovery password or key protector is needed to unlock a volume.
Overview
A BitLocker volume has its boot sector replaced by a BitLocker boot sector (signature -FVE-FS- at offset 3) pointing to three redundant FVE metadata blocks. The metadata holds a volume master key (VMK) protected by key protectors (TPM, password, recovery password, startup key) and a full volume encryption key (FVEK). Data is encrypted with AES-CBC (with or without the Elephant diffuser) or AES-XTS, depending on version and settings.
History
Introduced with Windows Vista (2007).
AES-XTS and the removal of the Elephant diffuser came with Windows 10 version 1511.
Structures
Offsets are in bytes from the start of the structure named in each heading. Field names are descriptive and are not an official specification. Fixed-width integers are shown as u/i (unsigned/signed) followed by bit width and byte order.
Entries
Offset
Size
Type
Field
Notes
position
2
u16 LE/BE
Size
offset + 1
1
u8
–
position + 2
2
u16 LE/BE
–
position + 4
2
u16 LE/BE
–
Looks Like Bit Locker
Offset
Size
Type
Field
Notes
0x3
8
bytes
–
0x1A8
16
bytes
–
Parse Vmk
Offset
Size
Type
Field
Notes
position + 8
16
bytes
Id
position + 34
2
u16 LE
Protection
Read Fve Block
Offset
Size
Type
Field
Notes
0x0
8
bytes
–
0x8
2
u16 LE
Size
0xA
2
u16 LE
Version
0x40
4
u32 LE
Etadata Size
size + 4
4
u32 LE
Expected
Other fields read
Read in
Offset
Size
Type
Field
Notes
Decrypt Sector
i * 4
4
u32 LE
–
From Startup Key
0x10
16
bytes
–
Stretch
0x0
32
bytes
–
Stretch
0x0
16
bytes
–
Unwrap
0x0
2
u16 LE
–
Open
0xC
32
bytes
–
Constants
Bit Locker Keys
Name
Value
Type
Notes
StretchIterations
0x100000
int
KeyDataHeader
12
int
Bit Locker Metadata
Name
Value
Type
Notes
MetadataAreaSize
64 * 1024
int
SignatureFve
“-FVE-FS-“u8.ToArray()
byte[]
SignatureToGo
“MSWIN4.1″u8.ToArray()
byte[]
GuidNormal
new(“4967D63B-2E29-4AD8-8399-F6A339E3D001”)
Guid
GuidEncryptOnWrite
new(“92A84D3B-DD80-4D0E-9E4E-B1E3284EAED8”)
Guid
Implementation limits
Class
Name
Value
Notes
Bit Locker Decrypted Device
MaxChunkBytes
1024 * 1024
Bit Locker Protection
Name
Value
ClearKey
0x0000
Tpm
0x0100
StartupKey
0x0200
TpmAndPin
0x0500
RecoveryPassword
0x0800
SmartCard
0x1000
Password
0x2000
Signatures and magic strings referenced
Text
Where checked
NTFS
Read Vista Header
-FVE-FS-
Describe
MSWIN4.1
Describe
Structures and constants were extracted from the implementation. Prose sections are a summary from public sources; verify details before relying on them.