Switch to full style
Data recovery and disk repair questions and discussions related to old-fashioned SATA, SAS, SCSI, IDE, MFM hard drives - any type of storage device that has moving parts
Post a reply

Raw recovery on APFS encrypted partitions?

March 25th, 2020, 10:47

I've been trying to recover data from a damaged APFS file system that was encrypted by running a raw file scan after 'unlocking' it, but with no luck. With some more investigation it seems this may not be possible at all.

This seems to explain why doing a raw file scan on an encrypted APFS partition won't work.

https://www.blackbagtech.com/blog/ask-e ... ncryption/

It seems to say that 'unlocking' the drive decrypts the data based only on what is in the file system, instead of decrypting every sector of the partition like with other encryption types.

So if a file has been deleted or part of the file system is missing or corrupted, then 'unlocking' the drive will only decrypt the data that is listed within the file system. Hence doing a raw recovery for deleted files would only pick up useless encrypted data.

Does anyone know of a way around this?

Re: Raw recovery on APFS encrypted partitions?

March 25th, 2020, 11:27

Well ,
First of All Try The Tool Recovery Explorer ,Sometimes back i had a case the apfs was behaving as if it was encrypted ,but it was not ,The developer of recovery explorer was also amazed ,They have some videos on apfs also

Re: Raw recovery on APFS encrypted partitions?

March 25th, 2020, 13:17

It is definitely encrypted. It was an accidentally reformatted drive, but some of the file system was damaged hence trying the raw recovery. Using the password the data still intact from the file system was recovered OK. Was using UFSExplorer
Post a reply