Decrypt WhatsApp crypt12

I received a WhatsApp crypt12 file with the corresponding key file. Unfortunately, I cannot find a way to decrypt the file. I would like to do this in Python, but any method is welcome. I find several sources of information for crypt8, but not for crypt12.

PS: I do not ask for a code. Any hint that helps to understand the fomat file and use cryptographic algorithms is more than welcome.

+7
python cryptography whatsapp
source share
1 answer

EDIT:. Meanwhile, Mohamed Ibrahim has published a small java program (including source) that can decrypt databases in crypt12 format: https://gitlab.com/digitalinternals/whatsapp-crypt12/tree/master He describes the procedure in detail in this article .

Alternatively, WhatCrypt can decrypt WhatsApp databases up to crypt12:

So far, WhatCrypt has not released a single source or information on how decryption is done.

If you need a decryption process, I would recommend the following:

  • In the past, WhatsApp has gradually changed its database encryption, usually with minor changes between different versions. I guess crypt8 decryption information might be a good starting point.
  • Try decompiling WhatsApp
  • Try decompiling WhatCrypt. Please note that WhatCrypt developers declare:

In the spirit of education, we have no problem with anyone backwards engineering apk alone. However, you are strictly forbidden from publishing any links to decompiled sources or distributing the binary file itself or any modified binary files.

+6
source share

All Articles