8 ms·
Using RTL-SDR to Open Car Doors (2016)
- mkesper 10y agoThe article states the need to jam the transmission (illegal in many countries) but does not explain why.
- yial 10y agoMany key fobs now (to my limited knowledge ) use an expanding one time use "code "essentially so once that transmission has been made, the same transmission won't unlock the car a second time. (On new vehicles at least )
- ipunchghosts 10y agoThis isn't a replay attack in the traditional sense. The attack works by simultaneously receiving the fob signal while jamming it to the car so it doesnt see it. Then, the car can't roll ahead its table. To say another way, it exploits the fact that you can be a hundred miles from your car and push the unlock button on your fob but then return next to your car, push the fob, and the car unlocks.
- lucaspiller 10y agoWhy aren't the previous codes invalidated though? If the attacker catches code X, and the owner presses the button again to send code X+1, why is code X still valid?
- lunixbochs 10y agoBoth X and X+1 are jammed, then the attacker replays X. The car never sees X+1 to revoke either.
- ipunchghosts 10y agoYes. There is a rolling code both inside your car rx and the fob tx. They get out of sync (think of pushing your car unlock when your car is not around) but the fob can never be behind the car. By jamming the the rx at the car it never gets code X+1 but the attacker does so the car never rolls ahead. Then, the attacker replays X+1 and the car unlocks. This attack has been known for a quite a long time along with the TPMS hack (made famous but rutgers and U South Carolina http://www.sc.edu/news/newsarticle.php?nid=1202#.WRXDdVXythE http://www.sc.edu/news/newsarticle.php?nid=1202#.WRXDdVXythE) https://www.theregister.co.uk/2010/09/21/car_jammer_vehicle_theft_scam/ https://www.theregister.co.uk/2010/09/21/car_jammer_vehicle_...
- drdaeman 10y agoI just wonder if there are any car lock systems that don't use any rolling codes, but does a proper challenge-response auth with time-limited nonces.
- izacus 10y agoMight be that the keyless entry systems use that - since they need a challenge from car to engage anyway. Really hard to find documentation though :/
- StavrosK 10y agoThe car locks usually operate on a rolling code system, where each code is only used once. By jamming the signal, you record it but don't let the car receive it, so you have one code. Then, when the remote gets pressed again, you record the second code and send the first. So, you're always one code ahead, and you can use that single code to open the car once. AFAIK, if you let the car read a code straight from the remote, it will sync forward again, making all your stored codes invalid.
- kefka 10y agoIt I remember correctly, it's only a 32bit string on a rolling crypt thats protected by "Secrets"... And I'm reasonably sure that the algorithm is now published. It wouldn't be hard to get 3 or 4 button presses, and then exhaustive search the space for the right serial and then attack it.
- StavrosK 10y agoDoes anyone know a good alternative for HDSDR for Linux?
- fleg 10y agoI've used gqrx for some simple stuff and liked it: http://gqrx.dk/ http://gqrx.dk/
- StavrosK 10y agoThank you.
- BenjiWiebe 10y agoI love GQRX. Use it a lot.
- StavrosK 10y agoUnfortunately 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.
- deleted 10y ago[deleted]
- grymoire1 10y agoOne has to wonder about a technical blog that starts off with "Using the orginal RTL and pair that with HDSDR software on linux". So I did a search, and HDSDR only runs on Windows.
- Kostic 10y agoMaybe the post author used Wine[1] to run HDSDR on Linux. [1]https://www.winehq.org/ https://www.winehq.org/
- norea-armozel 10y agoThere's GNU Radio which can work with the same RTL-SDR dongles as at least as I know it.
- xgbi 10y agoSo, 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.
- deleted 10y ago[deleted]
- weinzierl 10y agoThis 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.
- netsharc 10y agoSpeaking 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?
- netsharc 10y agoSpeaking 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?
- netsharc 10y agoSpeaking 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?
- exhilaration 10y agoA simpler solution is that the car should not accept a "skipped over" code. This attacks works by jamming code A and storing it for later use. The car owner assumes a signal loss and clicks again, opening their car with code B. If the car knows to reject code B in the future, why can't it also know to reject code A?
- disqk 10y agosamyk did it first: http://samy.pl/defcon2015/ http://samy.pl/defcon2015/
- Unhackable 10y agoHey author here, I have since removed the core information but left all the mechanisms to carry out the attack still. If anyone is interesting or have any questions I'll be here and Twitter.com/tech
- tropo 10y agoThere is no need to remove the info. We can talk about jammers in the USA. Here: cut a hole in the door of a microwave oven. That's a jammer.
- ConroyBumpus 10y agoEnjoy your subsequent trips to the oncologist.
- deleted 10y ago[deleted]
- ge96 10y agoCan you listen for the communication and play it back... range maybe. Put a sticker under the car door handle haha