Source
Downloaded from D-Link's public download server: https://legacyfiles.us.dlink.com/DIR-878/REVA/FIRMWARE/DIR-878_REVA_FIRMWARE_v1.30B08_FIX_BUFFER_OVERFLOW_HOTFIX.zip (cert CN *.us.dlink.com, O=D-Link Systems Inc.).
Format and unpacking
- Container: D-Link SHRS image.
- Encryption: SHRS (AES-128-CBC). Fixed key
C05FBF19...F08D6AD8derived via D-Link's own imgdecrypt obfuscation; per-file IV from header offset0xC. - Tool: 0xricksanchez/dlink-decrypt, reimplemented using python3-cryptography.
Verification
- All three SHA-512 digests embedded in the SHRS header matched the decrypted firmware (format-carried checksum).
- Output is a valid uImage (magic
27051956, nameLinux Kernel Image, OS=Linux, arch=MIPS, comp=LZMA) with aDIR-878device tag.
Contents
- Kernel: uImage (LZMA, MIPS).
- SoC: MediaTek MT7621AT.
- Uploaded the decrypted image.
Credit
Method reference: afflicted.sh / tpbreak.