(Still in development) This platform is the result of human engineering. AI was used solely for security audits.

romdump.net
romdump.net › Dump index › D-Link DIR-878 (rev A1) 1.30B08 buffer-overflow hotfix (2021-03-22) › Edit history

Edit history

Dump D-Link DIR-878 (rev A1) 1.30B08 buffer-overflow hotfix (2021-03-22), uploaded by admin, 2 versions.

Newest first: the vendor, product, version, license and notes of every version, and what changed since the version before it. Notes are rendered from their source as the site renders them today. A dump keeps its original metadata and up to 49 edits. The file itself never changes: its hashes are fixed at upload.

Edit 1

current by admin · 2h ago #1
VendorD-Link
ProductDIR-878 (rev A1)
Version1.30B08 buffer-overflow hotfix (2021-03-22)
Licensevendor-proprietary, research use only

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...F08D6AD8 derived via D-Link's own imgdecrypt obfuscation; per-file IV from header offset 0xC.
  • 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, name Linux Kernel Image, OS=Linux, arch=MIPS, comp=LZMA) with a DIR-878 device tag.

Contents

  • Kernel: uImage (LZMA, MIPS).
  • SoC: MediaTek MT7621AT.
  • Uploaded the decrypted image.

Credit

Method reference: afflicted.sh / tpbreak.

Changes from the previous version

Notes (source)

<p>Source: 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.). Original .bin is SHRS-encrypted (AES-128-CBC). Decrypted locally with the publicly documented D-Link SHRS method: fixed key C05FBF19...F08D6AD8 derived via D-Link's own imgdecrypt obfuscation, per-file IV from header offset 0xC. Reimplemented from 0xricksanchez/dlink-decrypt (https://github.com/0xricksanchez/dlink-decrypt) 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, name 'Linux Kernel Image', OS=Linux, arch=MIPS, comp=LZMA) with 'DIR-878' device tag. SoC: MediaTek MT7621AT. Uploaded the DECRYPTED image. Method reference: afflicted.sh/tpbreak.</p><h2>Source</h2><p>Downloaded from D-Link's public download server: <a href="https://legacyfiles.us.dlink.com/DIR-878/REVA/FIRMWARE/DIR-878_REVA_FIRMWARE_v1.30B08_FIX_BUFFER_OVERFLOW_HOTFIX.zip" rel="noopener noreferrer">https://legacyfiles.us.dlink.com/DIR-878/REVA/FIRMWARE/DIR-878_REVA_FIRMWARE_v1.30B08_FIX_BUFFER_OVERFLOW_HOTFIX.zip</a> (cert CN <code>*.us.dlink.com</code>, O=D-Link Systems Inc.).</p><h2>Format and unpacking</h2><ul><li>Container: D-Link SHRS image.</li><li>Encryption: SHRS (AES-128-CBC). Fixed key <code>C05FBF19...F08D6AD8</code> derived via D-Link's own imgdecrypt obfuscation; per-file IV from header offset <code>0xC</code>.</li><li>Tool: <a href="https://github.com/0xricksanchez/dlink-decrypt" rel="noopener noreferrer">0xricksanchez/dlink-decrypt</a>, reimplemented using python3-cryptography.</li></ul><h2>Verification</h2><ul><li>All three SHA-512 digests embedded in the SHRS header matched the decrypted firmware (format-carried checksum).</li><li>Output is a valid uImage (magic <code>27051956</code>, name <code>Linux Kernel Image</code>, OS=Linux, arch=MIPS, comp=LZMA) with a <code>DIR-878</code> device tag.</li></ul><h2>Contents</h2><ul><li>Kernel: uImage (LZMA, MIPS).</li><li>SoC: MediaTek MT7621AT.</li><li>Uploaded the <strong>decrypted</strong> image.</li></ul><h2>Credit</h2><p>Method reference: <a href="https://afflicted.sh/" rel="noopener noreferrer">afflicted.sh</a> / tpbreak.</p>

Original

by admin · 3h ago #0
VendorD-Link
ProductDIR-878 (rev A1)
Version1.30B08 buffer-overflow hotfix (2021-03-22)
Licensevendor-proprietary, research use only

Source: 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.). Original .bin is SHRS-encrypted (AES-128-CBC). Decrypted locally with the publicly documented D-Link SHRS method: fixed key C05FBF19...F08D6AD8 derived via D-Link's own imgdecrypt obfuscation, per-file IV from header offset 0xC. Reimplemented from 0xricksanchez/dlink-decrypt (https://github.com/0xricksanchez/dlink-decrypt) 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, name 'Linux Kernel Image', OS=Linux, arch=MIPS, comp=LZMA) with 'DIR-878' device tag. SoC: MediaTek MT7621AT. Uploaded the DECRYPTED image. Method reference: afflicted.sh/tpbreak.