3 ms·
> UWB is essential for secure vehicle unlocking. Bluetooth isn't, because it can be relayed. It'll give Apple a nice integration point with your new car. The r
by amluto 7y ago
> UWB is essential for secure vehicle unlocking. Bluetooth isn't, because it can be relayed. It'll give Apple a nice integration point with your new car.
The radio technology involved should have almost nothing to do with the ability to perform a relay attack. There are two straightforward mitigations:
1. Timing. The two parties confirm that a message can round trip in a specified, very short time T. This proves that the distance between the parties is T/2c or less.
To be useful, T should be, say, 20ns or less, which requires a bit of clever crypto to make the actual exchange fast enough.
2. The transmitter attempts to localize itself, using GPS or other technologies, and refuses to authenticate unless it’s near the receiver.
There is reason to believe that UWB will help with localization. I see no reason it would be any better than any other technology for time-of-flight measurements unless sub-nanosecond resolution is needed.
- tlb 7y agoBluetooth uses frequency hopping, which is unsuitable for measuring TOF. This group tried it: https://hal.inria.fr/hal-01995171/document https://hal.inria.fr/hal-01995171/document and even with a lot of cleverness they were seeing 100 foot RMS errors from Bluetooth. Not enough to prevent stealing someone's car parked in their driveway while their phone is in the house.
- amluto 7y agoThey’re using unmodified hardware and minimally modified software. It would be interesting to see how much precision could be achieved with hardware modifications.
- jazzyjackson 7y agoWell sure, but at that point is it still Bluetooth?
- kalleboo 7y agoInstead of Bluetooth (which Apple could totally fudge on their own devices if they wanted to), the TOF for the Apple Watch<>Mac auto-unlock uses Wi-Fi 802.11v. It seems really quick too (presumably the Mac is establishing a short-lived AP), would work fine for unlocking a car.
- Operyl 7y agoHere’s a good article further explaining it for those curious: https://networkingnerd.net/2016/09/21/apple-watch-unlock-802-11ac-and-time/ https://networkingnerd.net/2016/09/21/apple-watch-unlock-802...
- deleted 7y ago[deleted]
- tzs 7y ago> To be useful, T should be, say, 20ns or less, which requires a bit of clever crypto to make the actual exchange fast enough I don't think you even need crypto on the actual exchange. The car and the key fob could negotiate a pair of random values, R1 and R2, using an encrypted protocol so that eavesdroppers cannot figure out R1 and R2. This negotiation does not have to be particularly fast, so no need for anything clever. This is also where you would do authentication to prove to the car that it is talking to an authorized key fob. For the actual distance measurement, the car sends a message containing R1 and the key fob responds with a message containing R2. Each R1/R2 pair would only be good for one try, so it doesn't matter if an eavesdropper sees the distance measurement attempt.
- amluto 7y agoThis is not necessarily good enough. Suppose one party sends R1 at a rate of 1 bit per 10 ns, i.e. 100 Mbps. The other party checks R1, aborts if it’s wrong, and otherwise sends R2. The first party checks that R2 was received on time and correctly. An attacker can relay all but the last n of R1 and guess the last n bits. With probability 2^-n, the guess is correct, and the attacker learns R2 n*10 ns early. If the attacker can attempt the attack a few times, then getting a 60ns advantage is entirely reasonable and is enough to break some use cases. So some more cleverness really is needed.
- chipsa 7y agoR1 and R2 aren't reused. So you can't chain the attack to gain enough of an advantage.
- amluto 7y agoMy attack doesn’t need reuse. It’s based on the fact that cheating the protocol has a success probability that falls off too slowly with the amount of cheating. This can be improved with multiple rounds. I’m not sure it’s possible, even in theory, to do better in a single round.
- tzs 7y ago