Source
Downloaded from D-Link's public firmware server: DAP-1820_REVA_FIRMWARE_v1.11B01.zip (support.dlink.com; inner file DAP-1820A1_FW111B01.BIN). This is the current/latest firmware published for the DAP-1820 rev A on D-Link's support download server.
Format and unpacking
- Container: D-Link
SHRSimage (magicSHRS, 1756-byte header); payload high-entropy (8.0 bits/byte), no filesystem magic before decryption (packed). - Encryption: AES-128-CBC, IV = the 16-byte salt from the header at offset
0x0C. - Key: the legacy fixed D-Link SGE/T&W
vendor_key = c05fbf1936c99429ce2a0781f08d6ad8(as documented in OpenWrt firmware-utilsdlink-sge-image.cand0xricksanchez/dlink-decrypt). - Tool: a small pure-Python script (stdlib +
opensslCLI) reproducing the SHRS format (AES-128-CBC, no padding).
Verification
md_post= SHA-512 of the encrypted payload matched the header.md_before= SHA-512 of the decrypted payload matched the header.md_vendor= SHA-512 of (decrypted payload +vendor_key) matched the header — confirms the key.- Decrypted output begins with a valid U-Boot uImage (magic
27051956, arch MIPS, compression LZMA) and carries the device tagDAP-1820at offset0x40.
Contents
- U-Boot uImage (MIPS kernel + LZMA-packed rootfs).
- Device: D-Link DAP-1820 (rev A1), AC2000 dual-band Wi-Fi range extender / access point; MediaTek MT7621 (MIPS).
- Uploaded the decrypted image.
Credit
Method reference: afflicted.sh / tpbreak.