5 byte seed key algo

E38 E92 and many others. Approximately 2007 and newer
Post Reply
nmstec
Posts: 4
Joined: Thu Nov 30, 2023 1:03 am
cars: 2021 F350, 11 Q7, 11 q5

5 byte seed key algo

Post by nmstec »

Basically I have an unhealthy obsession with figuring out everything, even when not needed or not in scope. And this one is driving me up the fucking wall.
Usual known information I wont go over in depth, we take the aes key hash, ignore first 2 chars, decode, and then use first 32 out of 44 bytes for the actual key calc. Great.

Question here being, does anyone know what the last 8 bytes are for?

Known factors:
after 32 bytes, we have 3 bytes with some form of marker, always 00 f5 00, fine, not really interesting. Is also the same throughout all 256 keys.
Next byte after that being the algo ID itself.
Theres plenty of references in the sa015 that is is a sha256hash of the password. However that seems to include ALL the data after the first 32 bytes

Gone through DPS source as much as I can, as well as sa015, and still fuck all reference to it.
Last edited by nmstec on Thu Jun 26, 2025 2:45 am, edited 1 time in total.
nmstec
Posts: 4
Joined: Thu Nov 30, 2023 1:03 am
cars: 2021 F350, 11 Q7, 11 q5

Re: 5 byte seed key algo

Post by nmstec »

Update: Boring. Its a SHA256 of the first portion of the data. Just a verification. I failed to reload the project and recheck that I did from like 2 years ago.
User avatar
antus
Site Admin
Posts: 9031
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: 5 byte seed key algo

Post by antus »

I deleted your image attachment as it contained keys. I am not comfortable with sharing the encryption keys on the site, but I will allow the discussion of how it works.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
nmstec
Posts: 4
Joined: Thu Nov 30, 2023 1:03 am
cars: 2021 F350, 11 Q7, 11 q5

Re: 5 byte seed key algo

Post by nmstec »

To be fair those keys are not used, which is why I selected them. I can generate a few fake ones if you prefer?
Post Reply