News for hackers. Stuff that matters.
Re:Thieves boosting signal from key fobs inside homes to ste... by mikeash on Wednesday December 05, 2018 @11:23AM (#18609665)
The vulnerability is pretty much inherent to the idea. No amount of encryption can protect you from a relay attack. The only foolproof mitigation is to enforce a short round trip time to ensure the fob is actually close to the car, but with the short distances involved that means the fob has to generate and transmit a response within a few nanoseconds.
Re:Thieves boosting signal from key fobs inside homes to ste... by maxerickson on Wednesday December 05, 2018 @01:18PM (#18610901)
Re:Thieves boosting signal from key fobs inside homes to ste... by improbable22 on Wednesday December 05, 2018 @11:36AM (#18609820)
As long as the fob's own delay is very consistent, I don't see why you couldn't time the signal.

Edit: there's a discussion down the page somewhere. The issue seems to be that (for power reasons) they use low-freq radio, on which it's hard to get timing accurate enough for 10m distance changes.

Re:Thieves boosting signal from key fobs inside homes to ste... by squarefoot on Wednesday December 05, 2018 @06:35PM (#18613885)
"but with the short distances involved that means the fob has to generate and transmit a response within a few nanoseconds."

And the challenge-response pair must be different for every transaction, otherwise the thief can easily grab a SDR with tx capabilities, get to the car and ask for a transmission, record the spectrum, then go near the car owner door, transmit the car challenge and record the key fob response, go back to the car, wait for another challenge transmission and time the response accordingly. Not even need for a second thief.

Re:Thieves boosting signal from key fobs inside homes to ste... by alistproducer2 on Wednesday December 05, 2018 @12:19PM (#18610296)
I disagree. A physical switch on the key itself which opened a circuit to the decryption key would mean the key would need to physically be in the possession of the driver.
Re:Thieves boosting signal from key fobs inside homes to ste... by mikeash on Wednesday December 05, 2018 @12:34PM (#18610434)
“The idea” here refers to having the key operate automatically without having to manipulate it. If you require the driver to push a button on the key, the problem is trivially solved.
Re:Thieves boosting signal from key fobs inside homes to ste... by raisedbyninjas on Wednesday December 05, 2018 @12:35PM (#18610450)
This eliminates all of the convenience of keyless entry/start.
Re:Thieves boosting signal from key fobs inside homes to ste... by alistproducer2 on Wednesday December 05, 2018 @05:15PM (#18613224)
I suspect many people will happily give up such a convenience if it means they won't have their cars stolen so easily.
Re:Thieves boosting signal from key fobs inside homes to ste... by huebnerob on Wednesday December 05, 2018 @11:59PM (#18615548)
You suspect that the average person is going to give up a convenience that benefits them multiple times daily to ever so slightly mitigate the risk of an incredibly rare problem? I do not agree.
Re:Thieves boosting signal from key fobs inside homes to ste... by zuppy on Friday December 14, 2018 @05:59AM (#18679936)
i'm a very technical person and I also wouldn't give up the convenience of keyless entry. that is what insurance is for.
Re:Thieves boosting signal from key fobs inside homes to ste... by altfredd on Wednesday December 05, 2018 @04:21PM (#18612692)
Isn't "keyless entry" basically same concept as "not locking a door"? You can trivially implement it on every vehicle without using any electronics at all.
Re:Thieves boosting signal from key fobs inside homes to ste... by frankchn on Wednesday December 05, 2018 @04:40PM (#18612871)
Uh, no? When you touch a door handle when the car is locked, the car will try to detect a keyfob near the door and then unlock itself when the keyfob is detected. The car won't unlock if a keyfob is not detected.
Re:Thieves boosting signal from key fobs inside homes to ste... by askvictor on Wednesday December 05, 2018 @03:50PM (#18612397)
And what problem does keyless entry/start aim to solve?
Re:Thieves boosting signal from key fobs inside homes to ste... by frankchn on Wednesday December 05, 2018 @04:41PM (#18612887)
It is a convenience feature -- you don't have to fish your keys out of your pocket/handbag and press a button to unlock your car doors or to start the car. So long as you have the key somewhere on you (bag/handbag/pocket), you can unlock and start the car.
Re:Thieves boosting signal from key fobs inside homes to ste... by askvictor on Wednesday December 05, 2018 @06:03PM (#18613650)
Is getting your keys out of your bag or pocket really that hard? In comparison to the security risks?

To think of it another way: before keyless entry was a thing - how many people were thinking 'damn I wish I didn't have to get these annoying keys out of my pocket?'

To think of it yet another way: How many people buy the upgraded trim on their car mainly for the keyless entry?

(Not having a go - genuinely curious)

Re:Thieves boosting signal from key fobs inside homes to ste... by frankchn on Wednesday December 05, 2018 @11:56PM (#18615539)
Like with anything to do with security and convenience, there is always a trade off (longer passwords are more secure but harder to type, etc...). I don’t think this is a big enough security issue right now for car manufacturers and insurance companies to really do too much about.

I used to have a car without this feature and it was sort of annoying for 5 seconds each time I have to unlock the car. I do get annoyed when I get a rental without this feature too.

Additionally, this also helps when I am carrying bags or other large items with two hands. I can simply make a kicking motion at the bottom bumper of my car and the trunk will open automatically instead of me having to put the bags down and fish for my keys.

I agree that it is minor and not a real deal-breaker, but it is a nice to have.

Re:Thieves boosting signal from key fobs inside homes to ste... by mulmen on Wednesday December 05, 2018 @05:14PM (#18613211)
It’s really pretty impressive too. I once tried (accidentally) to lock my key in the trunk of my car and it refused to close the latch.
Re:Thieves boosting signal from key fobs inside homes to ste... by closeparen on Wednesday December 05, 2018 @12:41PM (#18610513)
That’s what we had 10 years ago.
Re:Thieves boosting signal from key fobs inside homes to ste... by alistproducer2 on Wednesday December 05, 2018 @05:14PM (#18613207)
And apparently what we had 10 years ago was better as people couldn't steal your car without touching it.
Re:Thieves boosting signal from key fobs inside homes to ste... by mulmen on Wednesday December 05, 2018 @05:10PM (#18613165)
Is it true that encryption cannot proetect from a relay attack? If the encrypted payload is passed based on some kind of pre-shared secret (pairing) then each message should be unpredictable to a third party right?
Re:Thieves boosting signal from key fobs inside homes to ste... by mikeash on Wednesday December 05, 2018 @05:18PM (#18613247)
The third party doesn’t need to predict it, just repeat it. The relay doesn’t need to understand or modify the message, just pass it along.
Re:Thieves boosting signal from key fobs inside homes to ste... by mulmen on Wednesday December 05, 2018 @06:22PM (#18613789)
If the message is encrypted with some time component and a pre-shared secret then it is protected from a replay attack no?
Re:Thieves boosting signal from key fobs inside homes to ste... by mikeash on Wednesday December 05, 2018 @06:29PM (#18613835)
Yes, but a replay attack is quite different from a relay attack.
Re:Thieves boosting signal from key fobs inside homes to ste... by mulmen on Wednesday December 05, 2018 @07:56PM (#18614406)
Hm, good point. I guess I don't really know how these systems work. I assumed there was some kind of rotating value but I have no reason to believe this. Based on these attacks it seems the keys are really just sending the same signal every time. That appears to be a real shortcoming of the design.
Re:Thieves boosting signal from key fobs inside homes to ste... by sulam on Wednesday December 05, 2018 @10:01PM (#18614988)
I think you’re not understanding the attack. It could be a unique, unpredictable signal every single time and the relay attack would work just fine. The devices intend to use distance to prevent this, with distance determined by strength of signal. The relay captures the challenge, passes it to the fob and then passes the response back to the car, boosting the signal if necessary. The timing on this is fast enough that it is within the tolerance of the system. As long as these devices are acting as proximity sensors and your fob isn’t electromagnetically isolated, this attack will work. No amount of key rotation will help.
Re:Thieves boosting signal from key fobs inside homes to ste... by mulmen on Thursday December 06, 2018 @04:13PM (#18622292)
Ok yes, I was confused. Thank you for spelling that out for me, now I understand what is happening.
Re:Thieves boosting signal from key fobs inside homes to ste... by mikeash on Wednesday December 05, 2018 @08:15PM (#18614522)
The modern ones send a unique value each time, so capturing the transmission and playing it back is useless. But that doesn’t save you from an attacker that just amplifies the signal and otherwise lets the two ends communicate normally.
Re:Thieves boosting signal from key fobs inside homes to ste... by ryacko on Wednesday December 05, 2018 @12:47PM (#18610574)
Embedded devices can be laggy at times.

More efficient for the car to estimate the distance and power of the transmitter.

Re:Thieves boosting signal from key fobs inside homes to ste... by mikeash on Wednesday December 05, 2018 @02:26PM (#18611592)
You’ll just estimate the distance and power of the relay. Roundtrip delay is the only thing you can’t fake.
Re:Thieves boosting signal from key fobs inside homes to ste... by ryacko on Wednesday December 05, 2018 @03:48PM (#18612375)
The relay could emulate a reasonable power output, but that requires more precise measurements and would discourage thieves.
Re:Thieves boosting signal from key fobs inside homes to ste... by jules on Wednesday December 05, 2018 @01:08PM (#18610793)
Can't you stop the car if the key is not present in the car? I guess the thieves could fake it with long distance transmission of the signal, but that would be more difficult and the further the car drives away from the actual key, the easier if becomes to detect the timing delay.
Re:Thieves boosting signal from key fobs inside homes to ste... by blattimwind on Wednesday December 05, 2018 @01:24PM (#18610964)
No. Safety-wise you can't just shut the engine off and lock the steering because the RF connection to some keyfob is wonky.

These thefts have been going on for years and they will not stop until key-less go is dropped or changed such that the key requires interaction (like every higher security transponder has for, like, always).

Re:Thieves boosting signal from key fobs inside homes to ste... by jules on Wednesday December 05, 2018 @05:54PM (#18613563)
Obviously you would not use that absurd shutdown procedure. You'd give a warning and tell the driver that the engine is going to shut off in X minutes, and after X minutes you decrease its max speed to 10 km/h for Y minutes before shutting down completely. Cars already do way more dangerous stuff if you assume that arbitrary components fail.

It also depends on the reliability. You could also say that you can't just shut the engine off if the electrical contact in the keyhole is wonky.