Source
Downloaded from Hikvision Europe's public firmware portal: NVR / K-series / 76 77NI-K2 K4 / V4.74.200, file NVR_K51_BL_ML_STD_V4.74.200_230522.zip (server cert CN *.hikvisioneurope.com). The zip contains digicap.dav.
Format and unpacking
- Container: Hikvision
digicap.davfirmware container. The 372-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(Hikvision),header_length=372,files=7. - The file-table entries (name, offset, length) chain contiguously from offset 372 through the payload.
- Component data matches the table names:
uImagestarts with the uImage magic27051956;gui_res.tar.lzmastarts with the LZMA magic5d 00 00 80.
Contents
- Hikvision NVR firmware:
uImage(kernel, ~10 MiB) +sys_app.tar.lzma,gui_res.tar.lzma,webs.tar.lzmaapp partitions, plusheadEx/start.sh. - Hikvision K-series NVR (DS-7616/7716/7732NI-K2/K4, K51 build).
- Uploaded the header-decoded
digicap.dav(SWKH index readable, component data intact).
Credit
Method reference: afflicted.sh / tpbreak.