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

Synology DiskStation DS423+ DSM 7.2.2-72806

pending review

uploaded by admin ·

XFS image · x86-64 · Debian · xfs · grub · 369.3 MiB

request takedown

About this dump

Source

Downloaded from Synology's public download server: DSM_DS423+_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 the 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_geminilake_423+.
  • Contains zImage, rd.gz and hda1.tgz.

Contents

  • Kernel zImage + rd.gz ramdisk + hda1.tgz rootfs.
  • Platform: Intel Celeron J4125 (Geminilake), x86_64 (4-bay DiskStation).
  • Uploaded the decrypted tar.

Credit

Method reference: afflicted.sh / tpbreak.

Technical fingerprint

XFS image · x86-64 · Debian · xfs · grub

entropy 7.97 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 1%
  • text and tables 5%
  • padding or empty 1%

Structures by offset

OffsetStructureKind
0x0 tar File format
0x101 tar Filesystem
0x63b200 grub Bootloader
0x64ef8f gzip Compression
0x1000c00 xz Compression
0x15715c0 bzip2 Compression
0x7d4afa9 zip Compression
0xbad34cf xfs Filesystem

What's inside

FieldDetected information
File format tar
Architecture x86-64 0x63ba10
Operating system Debian 0x71f322Ubuntu 0x71f307
Bootloader grub 0x63b200
Filesystem xfs 0xbad34cftar 0x101
Compression bzip2 0x15715c0xz 0x1000c00zip 0x7d4afa9gzip 0x64ef8f
C library glibc 0x64a81a
Libraries & daemons libgcc 0x6457e5libstdc++ 0x6457b7
Archive members DiskCompatibilityDB.tar

Symbols

2100 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 0x64cf7c
GetAvailableMemBlockIdx function 0x411834 0x64d034
GetAvailableMemBlockNum function 0x411876 0x64d076
read_efi_systab function 0x4118bd 0x64d0bd
FindSmiMainFuncNum function 0x411942 0x64d142
PhysMemInit function 0x411baf 0x64d3af
FindSMICommad function 0x411be7 0x64d3e7
map_memory function 0x412114 0x64d914
unmap_memory function 0x41226d 0x64da6d
GetReserveMemory function 0x4122cf 0x64dacf
OpenDriver function 0x41238b 0x64db8b
CloseDriver function 0x412541 0x64dd41
28 more listed here
WriteSecureFlashPhysicalMemory function 0x4125c5 0x64ddc5
ReadWriteMemBuffer function 0x412666 0x64de66
sys_physmap function 0x412728 0x64df28
sys_physummap function 0x412751 0x64df51
SecureImageMemorySetup function 0x412773 0x64df73
AllocatePhysicalMemoryWithBuffer function 0x412988 0x64e188
ReleasePhysicalMemory function 0x412bea 0x64e3ea
InitSystemReserveMemorySlot function 0x412cbc 0x64e4bc
GetSystemReserveMemorySlotSize function 0x412d1a 0x64e51a
AllocateSystemReserveMemorySlot function 0x412daf 0x64e5af
FreeSystemReserveMemorySlot function 0x412f18 0x64e718
DeinitReserveMemorySlot function 0x412fb1 0x64e7b1
InitReserveMemory function 0x412fe7 0x64e7e7
FreeReserveMemory function 0x413018 0x64e818
AllocReserveMemory function 0x41302f 0x64e82f
ReadReserveMemory function 0x41304e 0x64e84e
WriteReserveMemory function 0x4130ff 0x64e8ff
WriteSecureFlashReserveMemory function 0x4131ba 0x64e9ba
WriteReserveMemoryBlock function 0x41323e 0x64ea3e
AsmCmosRead function 0x4132b4 0x64eab4
AsmCmosWrite function 0x4132ee 0x64eaee
AsmCmosReadExtend function 0x41332c 0x64eb2c
AsmCmosWriteExtend function 0x413366 0x64eb66
initTermios function 0x4133a4 0x64eba4
resetTermios function 0x413475 0x64ec75
getch_ function 0x413491 0x64ec91
getch function 0x4134b9 0x64ecb9
getche function 0x4134c9 0x64ecc9

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