Hyundai Uses Example Keys for Encryption System
This is a dumb crypto mistake I had not previously encountered:
A developer says it was possible to run their own software on the car infotainment hardware after discovering the vehicle’s manufacturer had secured its system using keys that were not only publicly known but had been lifted from programming examples.
[…]
“Turns out the [AES] encryption key in that script is the first AES 128-bit CBC example key listed in the NIST document SP800-38A [PDF]”.
[…]
Luck held out, in a way. “Greenluigi1” found within the firmware image the RSA public key used by the updater, and searched online for a portion of that key. The search results pointed to a common public key that shows up in online tutorials like “RSA Encryption & Decryption Example with OpenSSL in C.“
EDITED TO ADD (8/23): Slashdot post.
Q • August 22, 2022 6:48 AM
So nothing wrong here. All is as it should be.
People who buy a vehicle should be able to do whatever they wont with it. Including running their own code. The manufacturer shouldn’t ever be permitted to lock the owner out from anything. It’s none of their business what people do with their own cars.