Live data from Hacker News

Using RTL-SDR to Open Car Doors (2016)

anthonys.io

51–53 of 53 posts

Re: Using RTL-SDR to Open Car Doors (2016)

#51
post #11

So, what is the solution? Implementing a PKI over between the key and the car? This would be quite nice, wouldn't it? -Key asks car to unlock and sends public key for recognition, -Car sends challenge encrypted with key Public key -Key sends back private-key-encrypted challenge Bing, authenticated.

This would prevent the attack but would be difficult to implement for existing car models. The car most probably lacks the hardware to send at 315 MHz. Not that the key had the ability to receive either, but that means that you'd not only have to replace the key fobs but do a full recall campaign with new hardware in the car.

Speaking of the car, it has a receiver scanning that band, it should just detect that there's a jamming signal, and somehow prompt the driver to use the physical key to get in. Do modern cars still have physical keys?

Re: Using RTL-SDR to Open Car Doors (2016)

#52
post #5

Does anyone know a good alternative for HDSDR for Linux?

I love GQRX. Use it a lot.

Unfortunately it has a rather severe bug that prevents it from even starting up in Ubuntu. The workaround/solution is to install a bunch of PPAs and software from them, which I didn't bother with.

Re: Using RTL-SDR to Open Car Doors (2016)

#53
post #37

Earlier quoted context omitted.

You don't need PKI for this - the car and the key have pre-shared keys. All you need is to include a counter in the signal that is incremented for each button press. The car remembers the last counter value it receives and ignores any before that. Obviously the counter needs to be encrypted in some way but it's not exactly difficult. I'm kind of amazed this still happens in 2016. Or maybe it doesn't. The cars could b…

Assume you're getting downvoted instead of commented on because, as above poster pointed out, the weak point is the counter in any one-way scheme. Specifically when the car doesn't see a fob press but the fob is pressed (e.g. out of range / blocked). Thus, you have a broken keyfob if you ever press it outside the car's range (or require a "re-pairing" handshake to resynchronize the counters). Infeasible due to terrib…

Err, no. You wouldn't require then counter to go up by exactly one each time. You just wouldn't allow it to go backwards.
Post reply on HN