(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 DS1522+

Synology DiskStation DS1522+ DSM 7.2.2-72806

pending review

uploaded by admin ·

tar archive · x86-64 · Ubuntu · tar · grub · 367.6 MiB

request takedown

About this dump

Source

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

Format and unpacking

  • Container: Synology signed 0xADBEEF archive — 0xADBEEF header magic, msgpack header, 64-byte Ed25519 signature, then 55 entries. Entropy is ~8.0 bits/byte from the start (fully packed).
  • Encryption: each entry is encrypted with XChaCha20-Poly1305 secretstream (libsodium); the per-entry key is crypto_kdf_derive_from_key(master_key, subkey_id, ctx) with subkey_id/ctx read from the header.
  • Tool: synacktiv/synodecrypt, run against a local libsodium (ctypes) + msgpack shim.
  • Key (reverse-engineered): the key table lives in 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 recovered the keys by sliding a 32-byte window over the library and testing against this real target. Ed25519 signing key 64faba48feec6c8a2484d2489a11418a0e980317a9cc6b392f1041925b293fe0 at .so offset 0x23830; XChaCha20 master key 078a7529a07a998cffadb87d7378993b7d9ccfa7171f5c47f150838a6a7caf61 at adjacent offset 0x23858. The keys are stable across DSM 7.x (a 2021 library decrypts this 2024 build).

Verification

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

Contents

  • Kernel: zImage; ramdisk: rd.gz (LZMA); root filesystem: hda1.tgz.
  • Platform: AMD Ryzen R1600, x86_64 (5-bay DiskStation).

Credit

The uploaded file is the DECRYPTED tar. Method reference: afflicted.sh / tpbreak.

Technical fingerprint

tar archive · x86-64 · Ubuntu · tar · 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
0x63da00 grub Bootloader
0x65178f gzip Compression
0x1003400 xz Compression
0x2f0c4b0 zip Compression
0x56fac0c bzip2 Compression

What's inside

FieldDetected information
File format tar
Architecture x86-64 0x63e210
Operating system Debian 0x721b22Ubuntu 0x721b07
Bootloader grub 0x63da00
Filesystem tar 0x101
Compression bzip2 0x56fac0cxz 0x1003400zip 0x2f0c4b0gzip 0x65178f
C library glibc 0x64d01a
Libraries & daemons libgcc 0x647fe5libstdc++ 0x647fb7
Archive members DiskCompatibilityDB.tar

Symbols

1680 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 0x64f77c
GetAvailableMemBlockIdx function 0x411834 0x64f834
GetAvailableMemBlockNum function 0x411876 0x64f876
read_efi_systab function 0x4118bd 0x64f8bd
FindSmiMainFuncNum function 0x411942 0x64f942
PhysMemInit function 0x411baf 0x64fbaf
FindSMICommad function 0x411be7 0x64fbe7
map_memory function 0x412114 0x650114
unmap_memory function 0x41226d 0x65026d
GetReserveMemory function 0x4122cf 0x6502cf
OpenDriver function 0x41238b 0x65038b
CloseDriver function 0x412541 0x650541
28 more listed here
WriteSecureFlashPhysicalMemory function 0x4125c5 0x6505c5
ReadWriteMemBuffer function 0x412666 0x650666
sys_physmap function 0x412728 0x650728
sys_physummap function 0x412751 0x650751
SecureImageMemorySetup function 0x412773 0x650773
AllocatePhysicalMemoryWithBuffer function 0x412988 0x650988
ReleasePhysicalMemory function 0x412bea 0x650bea
InitSystemReserveMemorySlot function 0x412cbc 0x650cbc
GetSystemReserveMemorySlotSize function 0x412d1a 0x650d1a
AllocateSystemReserveMemorySlot function 0x412daf 0x650daf
FreeSystemReserveMemorySlot function 0x412f18 0x650f18
DeinitReserveMemorySlot function 0x412fb1 0x650fb1
InitReserveMemory function 0x412fe7 0x650fe7
FreeReserveMemory function 0x413018 0x651018
AllocReserveMemory function 0x41302f 0x65102f
ReadReserveMemory function 0x41304e 0x65104e
WriteReserveMemory function 0x4130ff 0x6510ff
WriteSecureFlashReserveMemory function 0x4131ba 0x6511ba
WriteReserveMemoryBlock function 0x41323e 0x65123e
AsmCmosRead function 0x4132b4 0x6512b4
AsmCmosWrite function 0x4132ee 0x6512ee
AsmCmosReadExtend function 0x41332c 0x65132c
AsmCmosWriteExtend function 0x413366 0x651366
initTermios function 0x4133a4 0x6513a4
resetTermios function 0x413475 0x651475
getch_ function 0x413491 0x651491
getch function 0x4134b9 0x6514b9
getche function 0x4134c9 0x6514c9

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