MHH AUTO
Mercedes Benz Xentry .gmf files decrypt - Printable Version

+- MHH AUTO (https://mhhauto.com)
+-- Forum: Suggestion, Selling & Damaged Links Box (https://mhhauto.com/Forum-Suggestion-Selling-Damaged-Links-Box)
+--- Forum: Software Requests. (https://mhhauto.com/Forum-Software-Requests)
+--- Thread: Mercedes Benz Xentry .gmf files decrypt (/Thread-Mercedes-Benz-Xentry-gmf-files-decrypt)

Pages: 1 2


RE: Mercedes Benz Xentry .gmf files decrypt - job - 07-13-2024

(07-13-2024, 10:13 AM)fang88 Wrote: I wonder if someone tried Encrypt/Decrypt GMF utility, which was shared 1-2 years ago.

public static byte[] ENC_KEY = { // Encryption key
0x00, 0x8d, 0x43, 0x16, 0x5f, 0x98, 0x81, 0x29,
0xde, 0x1f, 0xae, 0xcd, 0x72, 0x14, 0x07, 0x25,
0x47, 0xca, 0xf0, 0x68, 0x08, 0xe9, 0x7e, 0xf3,
0x34, 0xe4, 0x1e, 0xdb, 0xae, 0xb0, 0xff, 0x79

I'm just curious if it came with the right AES encryption key.

is it AES 256 CBC? CBC need IV value.


RE: Mercedes Benz Xentry .gmf files decrypt - fang88 - 07-13-2024

This question is not about details of AES  algorithm implementation. My question, if this shared utility came with the real encryption key.

I was expecting an answer: Yes or No.

I do not have any Mercedes Benz Xentry .gmf, so I had that question.


RE: Mercedes Benz Xentry .gmf files decrypt - petr78rus - 07-13-2024

(07-13-2024, 10:13 AM)fang88 Wrote: I wonder if someone tried Encrypt/Decrypt GMF utility, which was shared 1-2 years ago.

public static byte[] ENC_KEY = { // Encryption key
                0x00, 0x8d, 0x43, 0x16, 0x5f, 0x98, 0x81, 0x29,
                0xde, 0x1f, 0xae, 0xcd, 0x72, 0x14, 0x07, 0x25,
                0x47, 0xca, 0xf0, 0x68, 0x08, 0xe9, 0x7e, 0xf3,
                0x34, 0xe4, 0x1e, 0xdb, 0xae, 0xb0, 0xff, 0x79

I'm just curious if it came with the right AES encryption key.

MERCEDES GMF DECRYPTOR FREE FOR ALL - MHH AUTO - Page 1


RE: Mercedes Benz Xentry .gmf files decrypt - jmattioni - 07-13-2024

I have the old app and it doesn't work. I even have the source code for it and tried different keys. No go.

As I said before, I have since discovered that the file isn't merely encrypted. It's a binary file so even if you could decrypt the file it still wouldn't be readable.


RE: Mercedes Benz Xentry .gmf files decrypt - jmattioni - 07-13-2024

(07-13-2024, 04:56 PM)petr78rus Wrote:
(07-13-2024, 10:13 AM)fang88 Wrote: I wonder if someone tried Encrypt/Decrypt GMF utility, which was shared 1-2 years ago.

public static byte[] ENC_KEY = { // Encryption key
                0x00, 0x8d, 0x43, 0x16, 0x5f, 0x98, 0x81, 0x29,
                0xde, 0x1f, 0xae, 0xcd, 0x72, 0x14, 0x07, 0x25,
                0x47, 0xca, 0xf0, 0x68, 0x08, 0xe9, 0x7e, 0xf3,
                0x34, 0xe4, 0x1e, 0xdb, 0xae, 0xb0, 0xff, 0x79

I'm just curious if it came with the right AES encryption key.

As it turns out the key looks to be the same. The key in my program is in decimal. I didn't check every number, but the first few numbers match the hexadecimal data you listed. Here's the decimal:

{0, -115, 67, 22, 95, -104, -127, 41, -34, 31, -82, -51, 114, 20, 7, 37, 71, -54, -16, 104, 8, -23, 126, -13, 52, -28, 30, -37, -82, -80, -1, 121}

But, I think they changed the algorithm. It's still AES but via a different "provider" (SunJCE). Besides the key there's quite a few other parameters that will affect outcome. I bypassed a lot of that by using the actual Xentry code to read in the file. That Java code was also encrypted on disk. I won't go into how I got around that, but it can be done. It took me over a month to work all this out. I'm retired and did this just as a challenge. Plus, I do want to eliminate those annoying errors I get when diagnosing my headlights. Smile

If you could successfully decrypt the file you would see text strings interspersed with binary data. With the old program I tried all they keys I could find, including the one above. I never saw coherent text in the result. The xml is hard enough to read so I doubt anyone would want to read the raw decrypted file.



RE: Mercedes Benz Xentry .gmf files decrypt - fang88 - 07-13-2024

I studied “free” bogus prs encrypter from these guys. Which can make fake prs files. Possible the same is here, fake algo.