Is there a tool to read WhatsApp messages from an encrypted iTunes backup?
Asked by
glyphQ4
I have an encrypted iTunes backup containing WhatsApp data and want to convert or open it in a readable format, similar to how iMazing lets you browse messages. I've found the WhatsApp SQLite database file, but standard SQLite tools don't seem to recognize it. Is there a reliable way to decrypt or convert the database so I can read the messages and attachments?
Answers
Encrypted iOS backups are difficult because the WhatsApp database is usually wrapped in an additional encryption layer. Simply renaming the file or converting it to a regular .db file wonโt help. You need to decrypt the backup and use the appropriate SQLCipher settings before the message tables will be readable.
Reply to this answer
The database is likely protected with SQLCipher rather than being a normal SQLite file. You generally need to decrypt the iTunes backup first and obtain its backup key, using a tool such as an iTunes-backup decryption script. After that, open the WhatsApp database with SQLCipher and provide the correct key; it should then be queryable from Python or another SQLCipher-compatible client.
Reply to this answer
Add your answer
Answers are reviewed before publication.
glyphQ4: I was able to extract the WhatsApp database file, but regular SQLite tools canโt open it. Iโll look into the SQLCipher and backup-key steps.