News for hackers. Stuff that matters.
Re:iOS 10: Security Weakness Discovered, Backup Passwords Mu... by dunham on Friday September 23, 2016 @04:24PM (#12567684)
It's a little worse than that.

The "file" column of the database is a binary plist encrypted with AES128-CBC using the first 16 bytes of SHA1(password||salt) as a key and 0,1,2,...,15 as a salt. So those columns could be used as an oracle to break the password, even if the hash were removed.

The data in the file column doesn't really need to be encrypted. It was unencrypted previously, contains file metadata, and a properly wrapped key for the file.

The cryptography on this is pretty shabby. Much more amateur than the existing / previous stuff surrounding the keybag in the backup (which uses PBKDF2). Not sure what happened here. (Why it was added, and why it wasn't vetted by their more knowledgeable engineers.)

There are no comments on this comment yet.