Source
Downloaded from Synology's public download server: https://global.synologydownload.com/download/DSM/release/7.2.2/72806/DSM_DS923+_72806.pat.
Format and unpacking
- Container: Synology signed
0xADBEEFarchive —0xADBEEFheader magic, msgpack header + 64-byte Ed25519 signature, then 55 entries (entropy ~8.0 bits/byte from the start). - Encryption: each entry is XChaCha20-Poly1305 secretstream (libsodium); per-entry key =
crypto_kdf_derive_from_key(master_key, subkey_id, ctx)withsubkey_id/ctxfrom 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 extractedlibsynocodesign.so.7fromusr/lib/insidehda1.tgzof the plaintext DSM 7.0.1-42218 DS920+.pat, then brute-force-recovered the keys by sliding a 32-byte window over the.soand testing against the real target: Ed25519 signing key64faba48feec6c8a2484d2489a11418a0e980317a9cc6b392f1041925b293fe0at.sooffset0x23830; XChaCha20 master key078a7529a07a998cffadb87d7378993b7d9ccfa7171f5c47f150838a6a7caf61at adjacent offset0x23858. Keys are stable across DSM 7.x (a 2021 library decrypts this 2024 build).
Verification
- Ed25519 header signature verified OK.
- All per-entry BLAKE2b checksums matched.
- Output is a valid tar:
VERSIONproductversion=7.2.2, build=72806, unique=synology_r1000_923+. - Includes
zImage,rd.gz,hda1.tgz,Synology.sig.
Contents
- Kernel
zImage+rd.gzramdisk +hda1.tgzrootfs. - Platform: AMD Ryzen R1600, x86_64.
- Uploaded the decrypted tar.
Credit
Method reference: afflicted.sh / tpbreak.