Live data from Hacker News

BMW, Audi and Toyota cars can be unlocked and started with hacked radios

telegraph.co.uk

11–20 of 118 posts

Re: BMW, Audi and Toyota cars can be unlocked and started with hacked radios

#11
post #5

Not my BMW, it's 25 years old and the driver's side door doesn't unlock even if you use a key :P All jokes aside (although it's true about my car), it just seems like a fundamental truth that digitally-secured systems always provide convenience at the cost of, well, security.

In the "Win" column for digitally-secured systems, the electronic immobilizer basically eliminated auto theft. The cars that are still stolen in significant numbers are the last model-years to not have immobilizers. Car door locks are immaterial anyway, since any thief is just going to break a window. The immobilizer matters, certainly, but even an immobilizer vulnerable to sophisticated attackers is doing two orders…

This article reminds me that I thought old busted stuff were less likely to be stolen. That's why I was pretty confident my very low grade, rusty, ugly single-pedal [1] bike would be safe for a day. Some guys proved me wrong, ripped my far too weak cable locks and did whatever they wanted with what was valuable of that bike (5$ for the metal frame ? the rest was plastic).

[1] wear made left pedal unscrew itself over time, I couldn't ride single legged anymore so I took the failing pedal, the seat and went to my appointment.

Re: BMW, Audi and Toyota cars can be unlocked and started with hacked radios

#12
post #3

The auto manufacturers (and for that matter all the "IoT" creators) couldn't give two shits about protecting consumers. Building security into this stuff is trivial and a responsibility.

How would you prevent this type of attack while retaining the keyless start and entry feature? (just curious)

Re: BMW, Audi and Toyota cars can be unlocked and started with hacked radios

#13
This was covered in depth on the Security Now podcast in May 2015 (Transcript [1]). The Passive Keyless Entry and Start PKES system relies on the assumption that if the car can "hear" the key, the key is in close proximity. Normally that's true but it is technically trivial to build a radio system that picks up and amplifies the car's continuous "ping" transmissions. So the key, which might be in your pocket in a restaurant, hears its car's ping, it responds, and the bad guys pick that up and amplify it and the car says, ok, key is here, open the door.

[1] https://www.grc.com/sn/sn-508.htm

Re: BMW, Audi and Toyota cars can be unlocked and started with hacked radios

#14
post #5

Not my BMW, it's 25 years old and the driver's side door doesn't unlock even if you use a key :P All jokes aside (although it's true about my car), it just seems like a fundamental truth that digitally-secured systems always provide convenience at the cost of, well, security.

It's worth noting that non-digitally-secured cars (pre chip-in-the-key tech) provided very little security themselves. Slim jims, hotwiring... The wireless bit does seem like a big regression over non-wired digital security, though.

Speaking from experience (locksmith), you cannot download the skills required to use a slim jim. Well, you kinda can, being that there are books/catalogs that show you where the lock's internal mechanism is, but being able to manipulate it requires more than simply pressing "exploit car radio".

Re: BMW, Audi and Toyota cars can be unlocked and started with hacked radios

#15
post #5

Not my BMW, it's 25 years old and the driver's side door doesn't unlock even if you use a key :P All jokes aside (although it's true about my car), it just seems like a fundamental truth that digitally-secured systems always provide convenience at the cost of, well, security.

Cool. What's it like having a 25 year old car? Why'd you choose to stick with it as opposed to getting something newer?

Re: BMW, Audi and Toyota cars can be unlocked and started with hacked radios

#16
post #6

Earlier quoted context omitted.

Could you say more about those things they should be doing? I'm naive but it doesn't seem trivial to me.

Round trip times? Can't cheat the speed of light, assuming you can't spoof the transmission.

Yes!

Also, the link ought to be fully authenticated and end-to-end encrypted. And one could require the user to press a button on the key fob.

Re: BMW, Audi and Toyota cars can be unlocked and started with hacked radios

#17
Seems a bit weird. The i3 doesn't have an ignition - it is an electric car.

Even if they mean "switch on the electronics which control the motor" - I find that hard the believe. There's nothing on the key fob which can do that.

And, even if they did, the battery use of a parked car is negligible.

Re: BMW, Audi and Toyota cars can be unlocked and started with hacked radios

#18
post #3

The auto manufacturers (and for that matter all the "IoT" creators) couldn't give two shits about protecting consumers. Building security into this stuff is trivial and a responsibility.

How would you prevent this type of attack while retaining the keyless start and entry feature? (just curious)

Lots of ways. The ECU only goes into pairing mode if it gets a valid challenge-response from the manufacturer. If put into that mode, it provides a nonce encrypted with its own pairing mode public key that only the manufacturer knows (could even base-64 encode it and show it on screen to let people do this over the phone). You could make it two-phase where it requires the first response within 5 minutes of starting, then requires a second response that must come one hour later (also with a 5-minute entry window). This makes social engineering much more difficult and the delay makes it impractical for most car thieves, but it won't impact dealers or legit owners at all. If the registered owner provides a cell phone, the first attempt should send a text message to let them know the ECU will enter pairing mode and allow them to reply with "STOP" to cancel any further requests.

Once in pairing mode, the physical key and ECU use standard public-key crypto (ala SSL) to setup a secure connection, then exchange keys.

In theory you could allow boot-strapping another key so long as an existing paired key is present which would make the procedure above your failsafe for when all keys are lost/destroyed. If you wanted to take things a step further you could use a form of distributed Kerberos where the manufacturer sets up a physical key with a ticket allowing access to one (or a set) of allowed cars but that makes the manufacturer's systems a massive target for hacks/social engineering which is a problem because thousands of dealer technicians need access to those systems... that's the point of the delays and short acceptance windows above. An evil tech or hacker can't pre-create a bunch of keys on the sly.

To unlock or remote start, the key broadcasts a HELLO message, encrypted with the ECU's public key. The ECU responds with an ACK+nonce encrypted with the physical key's public key. The physical key decrypts it and replies with an ACK+nonce encrypted with the ECU's public key. Congrats, you now have a reasonably secure system that prevents replay attacks.

Ultimately it would require embedded software engineers and company management who a) understood security and b) gave a shit. Both are in extremely short supply.

Re: BMW, Audi and Toyota cars can be unlocked and started with hacked radios

#19

Earlier quoted context omitted.

How would you prevent this type of attack while retaining the keyless start and entry feature? (just curious)

Lots of ways. The ECU only goes into pairing mode if it gets a valid challenge-response from the manufacturer. If put into that mode, it provides a nonce encrypted with its own pairing mode public key that only the manufacturer knows (could even base-64 encode it and show it on screen to let people do this over the phone). You could make it two-phase where it requires the first response within 5 minutes of starting,…

How does this protect against an attack that connects the key to the car with a wireless range extender?

Re: BMW, Audi and Toyota cars can be unlocked and started with hacked radios

#20
post #15
post #5

Not my BMW, it's 25 years old and the driver's side door doesn't unlock even if you use a key :P All jokes aside (although it's true about my car), it just seems like a fundamental truth that digitally-secured systems always provide convenience at the cost of, well, security.

Cool. What's it like having a 25 year old car? Why'd you choose to stick with it as opposed to getting something newer?

Not the OP, but having owned a 30 year old car up until recently, I can list a few things I loved about it:

1. It operated on mechanics that I could see and touch and fix with a wrench, as opposed to opaque black box computers. I did not need a code reader to diagnose problems.

2. Thanks to point #1, I had the confidence in the knowledge that it was maintained correctly, the parts were good and soundly installed, that every bolt was tightened to the right torque specification, because I did quite a bit of it myself, and could visually inspect any work that someone else did.

3. Points #1 and #2 let me learn a hell of a lot about car maintenance and how everything works than you can with today's computers-with-wheels.

4. It was built years before every manufacturer decided to make their cars look like identical bars of soap, so it had a distinctive '80s look that you don't see much of anymore.

Sadly, the state of California decided that the car had to meet emissions standards that were far stricter than anything the original manufacturer ever dreamed of, so it eventually became impossible to smog. I had to sell it to someone outside the state and I'm currently driving a boring bar of soap.

Post reply on HN