Hybrid Backup Sync Decipher
Currently there is no official tool to decipher files from Hybrid Backup Sync (on QNAP devices) on all plateform. I've made this tool with some ideas : light (<1MB), fast (<3s for 300MB on my computer), universal, open source, with as less as possible dependencies.
This software is provided without any warranties, use it at your own risk.
Starting from 1.16, this tool can be used not only with files from "Sync" tasks but also with files from "Backup" tasks in HBS.
Tool under GNU version 3 license.
All files in my releases are signed with public key : https://keybase.io/yoannttz/pgp_keys.asc?fingerprint=a01357e69dd3cb79274d3d25e9f568afd4d56c13
First of all, this program is not supported or affiliated with QNAP Systems Inc. It is a small tool to decipher files ciphered with Hybrid Backup Sync with cloud providers. It requests the user password and cannot be affiliated with any hacking tool. Both GUI and CLI executables are provided, to be used in script environment or directly by user. After each decipher operation, the result plain file is compared to original plain file by a digest method (or by size in new HBS files >2.1).
As a JAVA tool, this tool should be compatible with a large variety of OS, as long as a JRE 7+ is installed.
- At least 512 MB of system memory. Recommended minimum is 1 GB.
- A modern operating system. Both x86 and x64 are supported.
- Oracle JAVA JRE 8+, can be found here:
- Tested on Windows 10 64bits, CentOS 6 32 bits, Oracle JRE 8 and JRE 9.
** IMPORTANT : notes for MAC users **
- for password field, use Ctrl+C / Ctrl+V to copy and past.
Deprecated if you are using JAVA after update 151
-Unlimited JCE policy for your JAVA version, can be found on Oracle website.
WARNING: without it JAVA cannot use AES 256 (used by Hybrid Backup Sync) so this tool cannot work. After each JAVA update, JCE policy must be re-applied.
-For JCE on MAC, change in 2 locations :
JRE: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/jre/lib/security
How to decipher a file (summarized):
Pre. You need to download files from your provider to access them locally. Executable must be unzipped
In CLI :
- Go to the current tool folder
- use command line : java -jar hybrid_backup_sync_decipher_XXX.jar -i PATH_FILE_TO_DECIPHER -o PATH_PLAIN_FILE (where XXX is the current version). You will be ask for the password, or you can provide it with '-p' option. You can add verbose mode with '-v'.
In GUI (require hbs_decipher_gui project) :
- Go to the current tool folder
- use command line : java -jar hybrid_backup_sync_decipher_XXX_gui.jar (or start it from your file explorer)
- Choose a source and destination files
- Start deciphering.
- A dialog show you the result and more informations are available in HBSUtility_report.txt in destination folder.
Note If you have visual problem :
You can start the GUI as a resizable window, with "r" command-line argument, or simply create a file "resizeEnable" in the same directory as hybrid_backup_sync_decipher_XXX_gui.jar.
Note on files choices: you can choose a folder as source or destination.
If a folder is chosen as source, the destination MUST be a folder too.
If a folder is chosen as destination but the source is a file, a file with the same name will be created in destination folder.
If the source and the destination are the same file or folder, a new file will be created, with same name prefixed by "plain_".