Hello and thanks for this project!
I tried this project on my backup, but it doesn't seem to support decrypting samsung secure folder
Also, it doesn't seem to support decrypting a backup encrypted with a user-selected password like smart switch allows you to use.
Can you specify which device you used to test your project?
Also the value of the key you use in lib/smartswitch_core/crypto/common.py
DEFAULT_DUMMY_HEX = "9AB412D3C1F2EF658BFC0CFFCCC344D44C0A"
DEFAULT_PENC_IV = bytes.fromhex("26c7d1d26c142de0a3b82f7e8f90860a")
Where do they come from and is it possible to figure out how to get the correct decryption key for my device?
Are they universal for all Samsung devices?
The only place I found this entry is here
https://github.com/bugscale/samsung-s25-research/blob/43455a9940fdf5171a3e7eb4c6a8674dc87b0c92/1click-rce/exploit/final_clean_custom.py#L95
Regarding Samsung's Secure Folder
I found some things online that might give some direction
Hello and thanks for this project!
I tried this project on my backup, but it doesn't seem to support decrypting samsung secure folder
Also, it doesn't seem to support decrypting a backup encrypted with a user-selected password like smart switch allows you to use.
Can you specify which device you used to test your project?
Also the value of the key you use in lib/smartswitch_core/crypto/common.py
Where do they come from and is it possible to figure out how to get the correct decryption key for my device?
Are they universal for all Samsung devices?
The only place I found this entry is here
https://github.com/bugscale/samsung-s25-research/blob/43455a9940fdf5171a3e7eb4c6a8674dc87b0c92/1click-rce/exploit/final_clean_custom.py#L95
Regarding Samsung's Secure Folder
I found some things online that might give some direction
https://pdfcoffee.com/download/how-to-decrypt-pin-based-encrypted-backup-data-of-samsung-smartphones-pdf-free.html?reader=1
Methods for decrypting the data encrypted by the latest Samsung smartphone backup programs in Windows and macOS