Source
Downloaded from Hikvision Europe's public firmware portal: NVR / Q-series / 71NI-Q1(D) K20B2, file NVR_K20B2_BL_ML_E_STD_V4.74.115_240106.zip (server cert CN *.hikvisioneurope.com). This is the latest build published for this K20B2 line on the portal. The zip contains digicap.dav.
Format and unpacking
- Container: Hikvision
digicap.dav. The 108-byte header (magic + file index) is XOR-obfuscated; component data is stored natively. - Obfuscation: the header is XOR'd with the public 16-byte key
BA CD BC FE D6 CA DD D3 BA B9 A3 AB BF CB B5 BE, key index per byte =(i + (i>>4)) & 0xF. - Method/tool: reproduced from MatrixEditor/hiktools (the published Hikvision DAV XOR scheme); header XOR-decoded, component data left intact.
Verification
- Decoded header magic is
SWKH(header_length 108, 1 file). - The
cramfs.imgentry begins with the cramfs magic45 3d cd 28(signature "Compressed ROMFS") and chains contiguously from offset 108 through the payload to a 256-byte trailing footer at EOF (16,036,204 bytes).
Contents
- Hikvision NVR firmware: a cramfs root/app filesystem.
- Hikvision NVR Q-series (DS-7100NI-Q1), K20B2 hardware platform — a 1-bay budget NVR platform distinct from the K-series/K41/K53/K74/K9B2/K21B2 NVRs already in the archive. Firmware V4.74.115 Build 240106.
- Uploaded the header-decoded
digicap.dav(SWKH index readable, cramfs data intact).
Credit
Method reference: afflicted.sh / tpbreak.