(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)

D-Link DIR-878 (rev A1) 1.30B08 buffer-overflow hotfix (2021-03-22)

verified

uploaded by admin · · edited

U-Boot uImage · mips · u-boot · 10.1 MiB

request takedown

About this dump

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.

Technical fingerprint

U-Boot uImage · mips · u-boot

entropy 8.00 bits/byte · analysed 10.1 MiB

Mostly compressed. 100% is compressed or encrypted data; the structures below mark where the streams and filesystems start.

  • compressed or encrypted 100%

Structures by offset

OffsetStructureKind
0x0 u-boot uImage header Bootloader
0x0 uimage File format
0x1f lzma uImage ih_comp Compression
0x8eff gzip Compression
0x21bef5 bzip2 Compression

What's inside

FieldDetected information
File format uimage
Architecture mips uImage ih_arch 0x1d
Bootloader u-boot uImage header
Compression bzip2 0x21bef5gzip 0x8efflzma uImage ih_comp 0x1f

Symbols

1 name from strings that are symbols. A name searches the site for it; an offset opens the hex viewer there.

NameKindOffset
uhwavN string 0xb80c6