162 points · by wglb · 11y ago · 143 comments
Essentially it boosts the search range for vehicles from a few feet to something more like 100 meters, when searching for wireless key devices. Then the car will unlock as if the device were very close.
The devices are very inexpensive and starting to see increased use.
[1] http://www.networkworld.com/article/2909589/microsoft-subnet...
That said, signals in twisted pairs propagate at about .6c whereas signals in air propagate at speeds very close to c, so this use case is a little more challenging.
The escalation just after that, of course, is GPS spoofing.
When I was a teenager, my family had a Fiat 500. Something had broken in the part of the ignition switch that you insert the key into, and so my Dad took it off until we could get it fixed, and we kept a screwdriver in the glove box to use to start the car.
There was virtually no car theft in our town (at least in the places we went), and people often left their car doors unlocked. Soon we got out of the habit of bringing our car keys with us. We weren't locking the doors, and we used the screwdriver to start the car, so why bother?
Well, I found out why we should have bothered a few weeks later when I was driving home. We lived a few miles outside of town, out in the sticks. I was a couple miles from home, taking a back road that had almost no traffic, and a tire blew out.
The spare was in the trunk.
The locked trunk.
Back in the later 80s my parents had a Toyota van. One day my mom accidentally started it with her house key. We then realized that pretty much anything that fit partway into the ignition started it. Many years later the key got lost and we kept a screw driver in the cup holder to start it. It was a little odd driving around without a key in the ignition.... always thought cops would get suspicious.
I accidentally stole a bike in college, because it was the same brand as mine, and had the same brand of lock. Got all the way back to my dorm before I realized that the reason the seat felt weird was that it wasn't mine. But my key worked!
I also used my apartment deadbolt key to let my girlfriend into her house when she accidentally got locked out. She was both horrified and grateful that it worked. (I expected that one to fail, but I figured why not try?)
I'm not sure what the trick is to finding locks that aren't vulnerable to this trick. I suspect it's "buy locks at least 50% more expensive than the cheapest option", but that's just a guess.
The one thing that I could see working in theory would be detecting the roundtrip transmission time with a strict ceiling on it. No matter how good your relay is, it can't relay data faster than the speed of light, so you can enforce the fob being close by only listening to it if it responds fast enough.
The problem with this is that light moves pretty fast, and internal delays within the fob will dominate. If you want to put the range limit at, say, 30ft, that means your response time ceiling is a mere 60ns. Can you build a fob that responds anywhere close to that fast?
Edit: one other possibility is if the fob knows where it is. A GPS receiver on the fob, for example, would allow the fob and the car to securely confirm proximity (absent GPS spoofing). Getting a GPS receiver to run on a wireless fob's battery is left as an exercise for the reader.
Why not just make the keys responsible for starting the car again?
We've traded too much security for convenience and it's time to take a step back.
You can still start the car with the push of a button.. only now that button is on the key.
Problem solved.
https://news.ycombinator.com/item?id=9383462
https://en.wikipedia.org/wiki/Distance-bounding_protocol
(I don't pretend to have a clue whether it can be effective or not)
1. Use a modified form of triangulation. Have multiple transceivers in the car (At the front and back) and make the remote directional aware. Then have the remote and transceivers ask each other if the angles they are seeing are the same. The only way for the thieve to bypass this would be two remote amps set at almost 180 from each other.
2. stick an ultrasonic speaker in the key fob and have the car send it a random sequence to play back. For those worried about battery life use a wireless charging system.
Both of these assume that the transmission is encrypted and the thieves are just boosting the signal.
So, in theory, if you wanted to steal a REALLY expensive keyless car you could have two devices connected over a mobile data connection that just relays communication with the keyfob. You put one device near the owner of the fob, so in his office, and you keep the other. Then you can just walk off with the car.
Yikes.
https://en.wikipedia.org/wiki/Quantum_key_distribution
Edit: Nope, I am wrong, as the comments below point out.
Edit: just thought of another possibility -- use spread spectrum. An amplifier would have to be tuned to a specific frequency. With spread spectrum, the car and key fob switches frequencies every second based on a cryptographic function, therefore defeating the amplifier.
Look at SDRs. You can "tune" an SDR to tunnel an entire large chunk of spectrum.
- If the car was inductively powering the key, that might be harder/more dangerous to amplify.
- The car or house could send a false key signal, which would also be amplified, and refuse to open when receiving it. (New attack: lock rich people out of their car with 17$ of equipment!)
- If your house/public-buildings/phone+gps could track the key, they could tell the car to disable the system.
- Sending the signal with audio or visible light? Something that doesn't pass through walls.
- Use a pedometer to deactive the key when it's at rest.
- Use a really long key (like... 2 metres long) with transmitters at each end, use crypto and frequency hopping, and use multiple receivers on the car to triangulate both ends. If both transmissions are coming from the same spot, it's an amplifier.
Inductive power isn't going to really help, I don't think.
A false key signal, like you mention, won't help. Also, it'd be relatively easy to stop via a directional antenna.
Audio does pass through walls. Visible light would be less convenient than a standard key, I'd think.
Disabling the key while at rest would be really annoying for those who tuck it in their purses.
A really long key... I hope you're joking.
The fob has no knowledge of it's own location, so the car must figure it out on it's own, allowing the attack to occur. If you gave the key fob some way of calculating it's position relative to the car, you may be able to transmit that to the car over the existing communication channel and have the car verify it.
The question then becomes: how can one give the tiny computer in a key fob independent access to it's location relative to a car? An inertial navigation system[1] would probably be cheapest and most power-efficient. Though they suffer from inertial drift, that could be mitigated by periodic re-calibration while the car is driving and then parks (and the occasional non-keyless entry). The key fob then only transmits a signal when it detects that it's close enough, and the problem is "solved".
Now you just need to replace the batteries on your keys every few weeks...
[1]:https://en.wikipedia.org/wiki/Inertial_navigation_system
Relay on a parking lot
One antenna near the elevator
Attacker at the car while car owner waits for the elevator
Also, the radio jamming attack described on page 10 is so simple but isn't something I've considered before. Basically you just jam the right frequency before the victim presses the 'lock' button and you now have access to their car (if they didn't notice).
Great link, thank you.
There are far too many attacks that get ignored because they don't match the company's threat model, in general, and this is no exception.
Normal keys work great. I don't see the big advantage of techno-keys that outweighs the (almost inevitable) cost of paying so much for a spare.
The other thing -- do the key fobs have an on/off switch? If not, you wouldn't be able to have a spare "hidden" under your car somewhere (yes this is insecure anyway, but it works for most people).
I think the trade off makes it not worthwhile. If it's optional, I prefer a normal key.
OTOH, There are lots of other cool gadgets that I'd like to see. A car that remembers everyone's seat position and mirrors, that's progress. Manual transmission, normal key, smart seat. That's my niche.
This may not be a problem in California, but it is in some parts of the world. Imagine the shadiest neighborhoods you know. Now, imagine that all of the neighborhoods are like that.
Being able to quickly get in and start the engine is convenient, but also important. The last thing you want to do is to fumble with keys. Or drop them while doing it. It is a plot device in some movies, but also real life.
The problem is that many keyless entry systems - and most wireless 'pushbutton' alarm keys haven't actually picked up gadgety improvements. Instead of a digital system and crypto keys, you have extremely rudimentary, frequency-based systems that are trivial to hack.
I would not have predicted this response for such a trivial thing - what's a few seconds more on top of a 20 minute or 2 hour drive? But it made a big difference to me, and I'm guessing many other people enjoy it as well. The downside of paying for a spare isn't very visible, and when it is, it's just a short acute pain, and is washed away in the daily nicety of "keyless" entry.
How seriously are car manufacturers going to take security though? Is it going to be like the numerous router manufacturers that don't seem bothered? Perhaps some kind of regulatory body will need to intervene to make automotive manufacturers take security seriously.
If you miss your package, it'll get taken to a nearby store where you can collect it with an ID or it'll be given to your neighbour.
Per EETimes [1]: MISRA C is a subset of the C language. In particular, it is based on the ISO/IEC 9899:1990 C standard, which is identical to the ANSI X3.159-1989 standard, often called C ’89. Thus every MISRA C program is a valid C program. The MISRA C subset is defined by 141 rules that constrain the C language. Correspondingly, MISRA C++ is a subset of the ISO/IEC 14882:2003 C++ standard. MISRA C++ is based on 228 rules, many of which are refinements of the MISRA C rules to deal with the additional realities of C++.
I did a quick search for Tesla programming jobs and they do command a familiarity with MISRA C, so somewhere it is being used by Tesla in their firmware. That standard is supposed to ensure security and reliability in firmware programming for critical devices, such as motor vehicles. I wonder if this knowledge expands upon this challenge and other avenues for hacking Tesla, and also I wonder if MISRA C practices extend to outlying modules in the vehicle...
[0] MISRA C: http://www.misra-c.com/ [1] http://www.eetimes.com/document.asp?doc_id=1279810
But on a more serious note this is pretty cool to see not only Tesla but GM and BMW reaching out to these groups. We saw an article or two here on HN not to long about about, IIRC, car makers trying to use DMCA to prevent people from modifying the software in their cars [1] (I know there was another article about tractors as well [2]). I'd be interested to know Tesla/GM/BMW's stance on that issue. They are opening up to hackers to find issues but that doesn't mean they are on board with making it easy for people to modify software in their cars.
[0] http://www.homelandsecureit.com/wp-content/uploads/2012/10/C...
[1] https://www.eff.org/deeplinks/2015/04/automakers-say-you-don...
What if there is an intractable design flaw that is costly to fix? Will it get swept under the rug as they get litigious with those who attempt to expose it?
The assumption usually is if the bounty is less than the expected reward from exploiting a system, then you're really not doing anything other than a PR stunt.
I don't see a mention of a bounty. I do see a mention of them keeping track of those trying to exploit their system at Defcon. Not sure of what the supposed benefit to those that attempt to break their system is.
It makes a nice headline though.
People find a way in either way, whether you want them to or not.