Posts by pepelxl

    hat jemand ein Verständnis dafür, wie der Prozess der Dateiverschlüsselung im System abläuft? Ich versuche, die Firmware des Systems zu analysieren und Programme/Skripte/Bibliotheken zu finden, die den Inhalt des Kathologen /Data/mnt-c/public entschlüsseln. Ich vermute, dass das CAAM-Modul verwendet wird. ich muss verstehen, wie man das Dekriptieren von Dateien in diesem Verzeichnis aufruft. Ich verstehe, dass es dieser Person gelungen ist, diese Frage zu klären, aber ich weiß nicht, wie ich sie erreichen soll.

    XML
    <?xml version="1.0" encoding="UTF-8"?>
    <DisplayConfiguration>
    <Version> 4.0 </Version>
    <Display id="0" name="Bosch Developer Display" dp_device_name="sharp_psa_rcc_a2_7inch" width_pix="800" height_pix="480" width_mm="155" height_mm="82" capability_touch="single" ilm_env_file="layer-management-env-file-16bit.txt"/>
    <Display id="1" name="Continental Low Speed" dp_device_name="dg4tp_protob_7inch" width_pix="800" height_pix="480" width_mm="152.4" height_mm="91.44" capability_touch="single" ilm_env_file="layer-management-env-file-16bit.txt"/>
    <Display id="2" name="Magneti Marelli" dp_device_name="dgt8c_protob3_8inch" width_pix="800" height_pix="480" width_mm="174" height_mm="104.4" capability_touch="multi" ilm_env_file="layer-management-env-file-32bit.txt"/>
    <Display id="3" name="Valeo" dp_device_name="dgt7cff_7inch" width_pix="800" height_pix="480" width_mm="152.4" height_mm="91.44" capability_touch ="multi" ilm_env_file="layer-management-env-file-16bit.txt"/>
    <Display id="4" name="Continental High Speed" dp_device_name="dgt7c_protob3_7inch" width_pix="800" height_pix="480" width_mm="152.4" height_mm="91.44" capability_touch ="multi" ilm_env_file="layer-management-env-file-16bit.txt"/>
    </DisplayConfiguration>

    I realized that I was looking for too much. enc_key contains the encrypted key for the enc_data block.
    enc_data->parameter is the IV data for the enc_data block.
    enc_data - contains useful data.
    Is there anyone who understands openssl? how do I properly extract the data and decompose it into readable data?
    I can view the certificates using the command

    Code
    openssl smime -pk7out -in license_UIN.key | openssl pkcs7 -text -noout -print_certs

    but I would like to learn how to pull certificates into separate files.

    I managed to get useful data using the command

    Code
    openssl cms -in license_UIN.key -verify -noverify | openssl smime -decrypt -inkey RCC-privkey.pem

    But this is not correct, something like:

    Code
    openssl cms -in license_UIN.key -decript ...

    How do I assemble the right сommand?

    I'm still searching for information that is encrypted in the enc_data block.
    I found a way to decrypt the enc_key block. This block stores the AES key to decrypt the update firmware. The block is decrypted with a unique key located in the head unit. But the key is not suitable for decrypting the enc_data block. Does anyone have any ideas about decrypting this block for RCC? I've posted my best practices here.

    GitHub - pepelxl/psa-rcc-reverse: анализ прошивок магнитолы bosch RCC EU
    анализ прошивок магнитолы bosch RCC EU. Contribute to pepelxl/psa-rcc-reverse development by creating an account on GitHub.
    github.com

    how to view the contents of the license.key for updating the firmware?
    example:

    what kind of data is hidden behind these two fields?
    In the first case, there is a PSA signature - VIP - Embedded component - G1, which is easily downloaded. http://pki.p3cs.com/PSA-OVIP-EC-G1.crt . But its length is 4096 and I do not know how it can be used.