I've started taking a look at the firmware of the Leica Q camera.
After you XOR everything with FF, you end up with something that is like the firmware of Panasonic cameras (UPD format):
UPD is the magic, CAYMN I assume is the codename of the camera, 0316 is the version of the firmware, 0200 the size of the first header, 0312E200 the size of the file without the first header, B5435A78 the checksum.
The firmware contains 22 sections:
18 of which are encrypted. I haven't been able yet to figure out what encryption they use and how to decrypt them, hence this post.
There's an index section right after the second UPD header: I have figured out that:
By just applying AES-128 ECB decryption with the 16 bytes that are a key, I don't get to decrypt the sections.
I have also noticed that right before this UPD header there is a section starting with "leica" that contains 64 bytes that I cannot relate to any checksums: so maybe the encryption method combines those with the 16 bytes of each section in the index.
Has any of you encountered anything similar in the firmware of other cameras? Any hints about how to proceed in order to decrypt the 18 encrypted sections?
It looks like you're new here. If you want to get involved, click one of these buttons!