Can Injection: keyless car theft (2023)
kentindell.github.io
kentindell.github.io
https://media.stellantisnorthamerica.com/newsrelease.do?id=2...
I’d say this rates as “midrange” in terms of car theft difficulty. Some cars (very new American and nearly all European cars) use some form of cryptography to authenticate that immobilizer messages came from a module which posses an immobilizer secret, so simple message injection won’t work like this.
Others (older cars, famous US market Kias) have no immobilizer at all and not even this level of sophistication is necessary.
https://www.researchgate.net/publication/346706377_Dismantli...
https://www.researchgate.net/publication/235916472_Gone_in_3...
https://blog.cryptographyengineering.com/2011/09/24/where-th...
Newer systems use AES, which is at least less cryptographically unsound than the LFSR-based systems like Hitag2.
Microchip present an interesting theoretical approach to AES-based immobilizer authentication here:
https://ww1.microchip.com/downloads/en/DeviceDoc/article_ope...
Note that these all focus on the key-authentication side. The inter-module communication ranges from completely insecure (like in the parent article - the key module says "OK, the key is auth'd!" and then just blasts an unauthenticated CAN message) to some variant of the key authentication strategy. For example, newer VW immobilizers use an AES-based nonce+MAC strategy similar to the theoretical Microchip one for both key communication _and_ module-to-module communication on the CAN bus.
That’s an issue for 20 year old mechanical key + immobilizer chipped keys. It’s not that you lost the key, it’s just finally in need of replacement. Of course; you could shuck the key from the old one and place it in the new one.
Protip everyone with any mechanical keys: take a picture of your keys!!!!!
I think you could also create a DoS attack in a parking lot by trashing the spectrum.
I generally don't think this is true; most early immobilizer systems were DST80 or Hitag2 based and are broken both cryptographically and practically.
The reason enthusiasts re-flash ECUs is that it's easy, permanent, and works across a whole model line of cars, compared to reverse engineering immobilizer cryptography which is difficult, transient and requires re-work for each individual car.
Even modern systems are generally broken in private; you can find "emergency start" and "all keys lost" products for most newer cars, even European ones using AES. However, they're usually much more complex to use than the fake JBL speaker in the parent article's attack - most revolve around extracting key material from a control module using a software exploit. Common approaches include leveraging a leftover development artifact of some kind which allows sensitive key material to be exfiltrated from RAM, or locating a state-confusion or memory safety exploit against a CAN message handler.
But, at the end of the day, most modern cars are attacked using simple bent-pipe range-extension/relay attacks, so there's less investment in cryptographic attacks or compromising the actual system anyway.
Nobody is going to steal a 90s VW Jetta with Immo-2 when there are much easier to steal much more valuable cars everywhere. Neither shadetree mechanics, or street thugs that steal cars for drug money are spending a lot of time reading deeply into academic cryptography literature- it's only practically broken if you can either buy a $50 or less device, or follow instructions on a forum post to disable it.
Compared to just a key it was a big step forward.
An initial problem has been amplification/relay attacks from wireless key systems.
Totally keyless entry is just the next iteration of attacks.
Next up on HN: "Expensive cars being stolen with cheap microwave ovens"
1: https://www.youtube.com/watch?v=6AgkTdQXFTY (Analog computing will take over 30 billion devices by 2040. Wtf does that mean? | Hard Reset)
Some more discussion then: https://news.ycombinator.com/item?id=35452963
There is no way all that crap can be worth the reliability cost or even the weight...
And of course, everything is a new hack entry.
https://www.eastgatefordpartscanada.ca/oem-parts/ford-signal...
A headlight-leveling servo can last the lifetime of the vehicle. Not everything is a Chrysler.
In my opinion, DOT standards allow too much light above the cutoff. It's great for illuminating overhead signs, but with modern HID and LED systems it's just too much.
There is still the problem of vehicles approaching each other while cresting a small hill. You'll always be under each other's beam cutoff.
Your best hope is adaptive headlights that simply don't illuminate areas where oncoming road users are. Jump up 1:14 in this video:
Everything can last the life of the vehicle. If you have 10,000 parts, each of which can last the life of the vehicle, there is epsilon chance that all of them will last the life of the vehicle.
It's worth mentioning that a gasoline car made with perpetual, indestructible parts will be end-of-lifed when the infrastructure disappears: it cannot be gassed up anywhere. We can regard gasoline as a part that's always requiring periodic replacement. If that's not available, the car is toast.
They were "dumb" in a way (it was obvious looking at the dashboard that a car had such a system installed) but not easy to remove: you had to follow the wiring for a long time to find where the various cut-off points where installed.
Funnily enough after 30 years or so many of these transponders (?) start failing and it's a very common cause of youngtimer cars being stuck on the side of the road. While a dumb hidden toggle switch shall pretty much work forever (but is easier to neutralize as you only need to find the switch).
A toggle switch is literally less than $5 and trivially installed.
For added fun you can also add stuff directly on the fuses: they're easier to find but there are more advanced kits (for example you plug it on an important fuse and then you've got a remote on your keychain to "unlock" the mechanism).
I mean: yup, you can look into cryptography and install this and that software countermeasure.
Or, you, know, you can install (or have installed) a $5 toggle switch.
P.S: this made me think... I'll probably install a fake toggle switch, obvious to be found, linked to the highest non legal alarm I can find on alibaba. So if anyone tries to steal the car, he'll toggle the switch and trigger the alarm. That's dumb as heck and yet may work just fine.
"Please don't throw us into that briar patch," you can hear them begging the regulators.
The act of using them includes a signal to the rest of the world that they're in use (sorry, neighbors) and there's an unavoidable delay between signaling that intention and actually being able to use the equipment. Once in motion they require intimate knowledge of the machinery to remain in that state.
I'm wondering about "security through removing automation" at this point. E.g. what services am I relying on that could be reduced to manual commands when I need them?
This is very unusual terminology. Most vehicles have exactly 1 ECU (occasionally 2, and addresses are allocated for ~4 depending on the gateway) which controls exclusively the engine parameters. The BCM, the HVAC, the ABS, the MIB, etc. are all other modules (nodes on the network) which go by names other than ECU. For example, TCU for the transmission.
Any module can throw a DTC, but only a DTC from the ECU will illuminate the MIL (check engine light).
https://en.wikipedia.org/wiki/Electronic_control_unit
Note that I'm not arguing Wikipedia using it means it is "correct" or whatever, just that it demonstrates it being at least somewhat commonplace.
Good read so far, thank you.
Hindsight is 20/20. Have you ever run across meth heads? They do completely random nonsense and they'll do it time and again. A local meth head's activities are indistinguishable from those of a thief using techniques you've never heard of.