(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 RackStation RS1221+

Synology RackStation RS1221+ DSM 7.2.2-72806

pending review

uploaded by admin ·

XFS image · x86-64 · Debian · xfs · pmon · 375.0 MiB

request takedown

About this dump

Source

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

Contents

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

Credit

Method reference: afflicted.sh / tpbreak.

Technical fingerprint

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

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
0x640200 grub Bootloader
0x653f8f gzip Compression
0xfa426f bzip2 Compression
0x1005c00 xz Compression
0x393d18a pmon Bootloader
0x4359c41 lz4 Compression
0x71cafeb zip Compression
0x8082406 xfs Filesystem
0xa38f709 rar Compression

What's inside

FieldDetected information
File format tar
Architecture x86-64 0x640a10
Operating system Debian 0x724322Ubuntu 0x724307
Bootloader grub 0x640200pmon 0x393d18a
Filesystem xfs 0x8082406tar 0x101
Compression bzip2 0xfa426flz4 0x4359c41rar 0xa38f709xz 0x1005c00zip 0x71cafebgzip 0x653f8f
C library glibc 0x64f81a
Libraries & daemons libgcc 0x64a7e5libstdc++ 0x64a7b7
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 0x651f7c
GetAvailableMemBlockIdx function 0x411834 0x652034
GetAvailableMemBlockNum function 0x411876 0x652076
read_efi_systab function 0x4118bd 0x6520bd
FindSmiMainFuncNum function 0x411942 0x652142
PhysMemInit function 0x411baf 0x6523af
FindSMICommad function 0x411be7 0x6523e7
map_memory function 0x412114 0x652914
unmap_memory function 0x41226d 0x652a6d
GetReserveMemory function 0x4122cf 0x652acf
OpenDriver function 0x41238b 0x652b8b
CloseDriver function 0x412541 0x652d41
28 more listed here
WriteSecureFlashPhysicalMemory function 0x4125c5 0x652dc5
ReadWriteMemBuffer function 0x412666 0x652e66
sys_physmap function 0x412728 0x652f28
sys_physummap function 0x412751 0x652f51
SecureImageMemorySetup function 0x412773 0x652f73
AllocatePhysicalMemoryWithBuffer function 0x412988 0x653188
ReleasePhysicalMemory function 0x412bea 0x6533ea
InitSystemReserveMemorySlot function 0x412cbc 0x6534bc
GetSystemReserveMemorySlotSize function 0x412d1a 0x65351a
AllocateSystemReserveMemorySlot function 0x412daf 0x6535af
FreeSystemReserveMemorySlot function 0x412f18 0x653718
DeinitReserveMemorySlot function 0x412fb1 0x6537b1
InitReserveMemory function 0x412fe7 0x6537e7
FreeReserveMemory function 0x413018 0x653818
AllocReserveMemory function 0x41302f 0x65382f
ReadReserveMemory function 0x41304e 0x65384e
WriteReserveMemory function 0x4130ff 0x6538ff
WriteSecureFlashReserveMemory function 0x4131ba 0x6539ba
WriteReserveMemoryBlock function 0x41323e 0x653a3e
AsmCmosRead function 0x4132b4 0x653ab4
AsmCmosWrite function 0x4132ee 0x653aee
AsmCmosReadExtend function 0x41332c 0x653b2c
AsmCmosWriteExtend function 0x413366 0x653b66
initTermios function 0x4133a4 0x653ba4
resetTermios function 0x413475 0x653c75
getch_ function 0x413491 0x653c91
getch function 0x4134b9 0x653cb9
getche function 0x4134c9 0x653cc9

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