Sunday, October 12, 2014

wi fi - How can I access data (such as WiFi keys) in an encrypted Titanium backup?


How can I decrypt an encrypted "Titanium Backup" backup using standard (linux) tools?




Wi-Fi serves as a practical example, many other uses may apply to the solution I'm looking for.


If I quickly want to access backuped Wi-Fi credentials from my Linux box I know a fast way. With encrypted backups I'm currently out of luck.


That's my quick&dirty way how to do it without encryption so far:



me@local:~$ adb shell
root@android:/ # cd /sdcard/TitaniumBackup/
root@android:/sdcard/TitaniumBackup # ls *W*46.*gz
com.keramidas.virtual.WIFI_AP_LIST-20120622-105046.tar.gz
root@android:/sdcard/TitaniumBackup # gunzip -c *W*46.*gz | grep -C1 MyAccessPoint

network={



ssid="MyAccessPoint"
psk="supersecrecretpassphrase"




Some details on the company's site: http://www.titaniumtrack.com/kb/titanium-backup-kb/titanium-backup-cryptography.html



Answer



There are no standard tools as of now yet. TiB uses their own format which they kindly shared with me when I asked them the same above question.


In fact someone needs to write it still. It could be done in Java or even using bash + openssl only.



No comments:

Post a Comment

samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...