13.07.2015 Views

iPhone data protection in depth - Sogeti ESEC Lab

iPhone data protection in depth - Sogeti ESEC Lab

iPhone data protection in depth - Sogeti ESEC Lab

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

IntroductionData <strong>protection</strong>Storage encryptioniTunes BackupsConclusionIntroductionEffaceable areaHFS Content ProtectionHFSExplorerData WipeFilesystem encryptionAlgorithm• AES <strong>in</strong> CBC mode• Initialization vector depends on logical block number• Hardcoded key for system partition (f65dae950e906c42b254cc58fc78eece)• 256 bit key for <strong>data</strong> partition (EMF key)IV computationvoid iv_for_lbn ( unsigned long lbn , unsigned long *iv){for ( <strong>in</strong>t i = 0; i < 4; i ++){if(lbn & 1)lbn = 0 x80000061 ^ ( lbn >> 1);elselbn = lbn >> 1;iv[i] = lbn ;}}<strong>iPhone</strong> <strong>data</strong> <strong>protection</strong> <strong>in</strong> <strong>depth</strong> 31/59

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!