Synology's Active Backup for Business has a feature for Destination Encryption which only seems to work with BTRFS. It works so that you have to set it up when creating the BTRFS storage. At this point you specify a password and when finished you are given an encryption key which you are told to backup safely. Going forward all backups to this location have Destination Encryption enabled and you cannot disable it. So it is also not possible to have backups without it on this destination. When you want to access or restore files from that destination you have to mount it which only works with the specified password or encryption key.

What makes me wonder is this:

  • When you reboot the Synology server it is not required to mount the destination and thus it is not required to enter the password or encryption key for backups to work (it would only be required if you/a user wants to read or restore from the location but seemingly is not required to write to that location)
  • When you add new clients the password or encryption key is not required anywhere (so not on the client to add and also not on the Synology server, regardless if the destination is currently 'mounted' or not)

So now I'm wondering, for this to be secure this would need to be an approach implemented with asymmetric cryptography. But since it seems to be quite performant (write speeds over 100MB/s even on my cheaper Synology test server are no problem) I'm not sure if it really is. Maybe BTRFS really has something like that? But I couldn't find anything regarding that (rather the opposite, it doesn't even seem to have native options for symmetric key based encryption)... Has Synology a custom BTRFS implementation in that regard?

Another way to make it at least somewhat secure would be the use of a TPM in any sort. But I'm having a hard time imagining an implementation with that and the behavior described above which is really secure...

On Synology's end I couldn't find much. There is a KB article which states that a 'unique machine key' is also used but it doesn't specify much more.

Can anybody clarify what kind of encryption might be at work here and if it might be secure? Or maybe it is easier to confirm that this cannot be fully secure? (I'm asking this in the context of an ISO 27001 risk evaluation with the main risk being the the Synology server getting stolen in whole. We would assume at least a short loss of the power supply so a loaded key in the RAM would be no problem but any way to retrieve the key/backup data after booting the Synology server without knowing/entering the password or key would be a problem.)



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.