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

romdump.net
romdump.net › Dump index › Synology DiskStation DS1821+

Synology DiskStation DS1821+ DSM 7.2.2-72806

pending review

uploaded by admin ·

F2FS image · x86-64 · Debian · f2fs · grub · 374.9 MiB

request takedown

About this dump

Source

Downloaded from Synology's public download server: DSM_DS1821+_72806.pat

Format and unpacking

  • Container: Synology signed 0xADBEEF archive — 0xADBEEF header magic, msgpack header + 64-byte Ed25519 signature, then entries (high-entropy, no filesystem magic before decryption).
  • Encryption: each entry is XChaCha20-Poly1305 secretstream (libsodium); per-entry key = crypto_kdf_derive_from_key(master_key, subkey_id, ctx) with subkey_id/ctx from the header.
  • Tool: synacktiv/synodecrypt via a local libsodium (ctypes) + msgpack shim.
  • Key (reverse-engineered): the key table is baked into the proprietary libsynocodesign.so. I extracted libsynocodesign.so.7 from usr/lib/ inside hda1.tgz of the plaintext DSM 7.0.1-42218 DS920+ .pat, then brute-force-recovered the keys by sliding a 32-byte window over the .so and testing against a real target: Ed25519 signing key 64faba48feec6c8a2484d2489a11418a0e980317a9cc6b392f1041925b293fe0 at .so offset 0x23830; XChaCha20 master key 078a7529a07a998cffadb87d7378993b7d9ccfa7171f5c47f150838a6a7caf61 at adjacent offset 0x23858. Keys are stable across DSM 7.x.

Verification

  • Ed25519 header signature verified OK against the recovered signing key.
  • All per-entry BLAKE2b checksums matched (synodecrypt warns on mismatch; none).
  • Output is a valid tar: VERSION productversion=7.2.2, build=72806, unique=synology_v1000_1821+.
  • Contains zImage, rd.gz and hda1.tgz.

Contents

  • Kernel zImage + rd.gz ramdisk + hda1.tgz rootfs.
  • Platform: AMD Ryzen V1500B, x86_64 (8-bay).
  • Uploaded the decrypted tar.

Credit

Method reference: afflicted.sh / tpbreak.

Technical fingerprint

F2FS image · x86-64 · Debian · f2fs · grub

entropy 7.98 bits/byte · analysed 256.0 MiB (the leading part of a larger file)

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

  • compressed or encrypted 94%
  • code or packed data 2%
  • text and tables 5%

Structures by offset

OffsetStructureKind
0x0 tar File format
0x101 tar Filesystem
0x642a00 grub Bootloader
0x65678f gzip Compression
0x1008400 xz Compression
0x16f3d01 bzip2 Compression
0x71ad77d zip Compression
0xe0af0a1 f2fs Filesystem

What's inside

FieldDetected information
File format tar
Architecture x86-64 0x643210
Operating system Debian 0x726b22Ubuntu 0x726b07
Bootloader grub 0x642a00
Filesystem f2fs 0xe0af0a1tar 0x101
Compression bzip2 0x16f3d01xz 0x1008400zip 0x71ad77dgzip 0x65678f
C library glibc 0x65201a
Libraries & daemons libgcc 0x64cfe5libstdc++ 0x64cfb7
Archive members DiskCompatibilityDB.tar

Symbols

1681 names from the symbol tables of 1 ELF/PE file and strings that are symbols (capped: there may be more). A name searches the site for it; an offset opens the hex viewer there.

Links against libdl.so.2 libstdc++.so.6 libm.so.6 libgcc_s.so.1 libc.so.6

NameKindAddressOffset
call_gmon_start function 0x41177c 0x65477c
GetAvailableMemBlockIdx function 0x411834 0x654834
GetAvailableMemBlockNum function 0x411876 0x654876
read_efi_systab function 0x4118bd 0x6548bd
FindSmiMainFuncNum function 0x411942 0x654942
PhysMemInit function 0x411baf 0x654baf
FindSMICommad function 0x411be7 0x654be7
map_memory function 0x412114 0x655114
unmap_memory function 0x41226d 0x65526d
GetReserveMemory function 0x4122cf 0x6552cf
OpenDriver function 0x41238b 0x65538b
CloseDriver function 0x412541 0x655541
28 more listed here
WriteSecureFlashPhysicalMemory function 0x4125c5 0x6555c5
ReadWriteMemBuffer function 0x412666 0x655666
sys_physmap function 0x412728 0x655728
sys_physummap function 0x412751 0x655751
SecureImageMemorySetup function 0x412773 0x655773
AllocatePhysicalMemoryWithBuffer function 0x412988 0x655988
ReleasePhysicalMemory function 0x412bea 0x655bea
InitSystemReserveMemorySlot function 0x412cbc 0x655cbc
GetSystemReserveMemorySlotSize function 0x412d1a 0x655d1a
AllocateSystemReserveMemorySlot function 0x412daf 0x655daf
FreeSystemReserveMemorySlot function 0x412f18 0x655f18
DeinitReserveMemorySlot function 0x412fb1 0x655fb1
InitReserveMemory function 0x412fe7 0x655fe7
FreeReserveMemory function 0x413018 0x656018
AllocReserveMemory function 0x41302f 0x65602f
ReadReserveMemory function 0x41304e 0x65604e
WriteReserveMemory function 0x4130ff 0x6560ff
WriteSecureFlashReserveMemory function 0x4131ba 0x6561ba
WriteReserveMemoryBlock function 0x41323e 0x65623e
AsmCmosRead function 0x4132b4 0x6562b4
AsmCmosWrite function 0x4132ee 0x6562ee
AsmCmosReadExtend function 0x41332c 0x65632c
AsmCmosWriteExtend function 0x413366 0x656366
initTermios function 0x4133a4 0x6563a4
resetTermios function 0x413475 0x656475
getch_ function 0x413491 0x656491
getch function 0x4134b9 0x6564b9
getche function 0x4134c9 0x6564c9

1636 more not listed: symbol search finds them all, with sym:name or name*.