90

Around a year ago I have asked a question about the weakest factor of authentication.

I have had some good answers that convinced me as I always imagined the authentication process in my head as some employee in a high security facility trying to get access to his office by entering his pin or someone trying to login into his PC by entering his password but the answers make little sense if we were talking about a vehicle.

  • Car keys can get easily lost or stolen by a stranger you met in some pub but it's highly unlikely that you shout your password while you are sleep talking
  • It's a big hassle and an expensive process to change your car keys; Passwords are very easy to change.

As you can tell from the other question, the biggest issues with passwords (according to the answers I received) were:

  • If someone has your password, you may not be able to tell that they are actively exploiting that knowledge.
  • Passwords enable random guessing, offline dictionary search, and other attacks.

Well...

  • That's true if someone were spying on your system, but if a stranger had your car keys I don't think they would return your car and if they did, you will be able to tell that someone else had access to your car.
  • Having the car locked for 5 minutes after three failed attempts is a pretty good solution.

Are you in hurry to go to work? Get inside the house and get the master physical key; having a master physical key that overrides the password system is a good rescue solution, but not when you carry it with you all the time. Carrying the authentication secret in your head is safer than carrying it in your pocket.

Few other things that come to my mind which makes me wonder why I've never seen a car with a password

  • You can always use your car as a getaway car in a bank robbery and you later claim that you have lost the keys and it was not you; you can't do that with a password.

  • A similar idea has been introduced by an infosec expert got turned down the other day on Dragons' Den even when he has invented a nice combination of a device that get attached to the car engine and a mobile app. The mobile app is superior to your physical key and you can't start the car without the app, even if you have the key.

Dragons' Den season 13 episode 5

Peter Jones attacked the idea based on the fact that your mobile might run out of charge; the authentication system of the car would never run out of charge as it gets powered by the car battery; it's replaceable, protected and if it's down, the car is down anyway and you can't blame the authentication system.

Ulkoma
  • 8,793
  • 16
  • 66
  • 95
  • 2
    Good question. This would also defeat a common crime in the UK: burglars breaking into houses to steal car keys. – paj28 Aug 20 '15 at 09:44
  • 68
    Because every time a solution like this comes out, it's horribly broken, people's cars get stolen, and manufacturers have to do huge recalls. – Polynomial Aug 20 '15 at 10:01
  • @Polynomial How? That's my question, what's the weak point of such system? – Ulkoma Aug 20 '15 at 10:04
  • 2
    Usually poor protocol (vulnerable to sniffing or replay), poor RNG, poor crypto, poor implementation on the car side (e.g. not enforcing correct state machine) or anything in between. – Polynomial Aug 20 '15 at 10:06
  • 10
    If you get an accident and loose your memory ... –  Aug 20 '15 at 10:14
  • 42
    Then you've got much bigger problems than getting into your car's unlock app. Arguably you shouldn't be driving at all if you're suffering from retrograde amnesia. – Polynomial Aug 20 '15 at 10:18
  • 3
    Similar question: [Why do most cars use physical keys and no PIN?](https://security.stackexchange.com/q/39168/32746), even though it seems to limit the password to numeric-only PIN code some answer are still relevant to he current question. – WhiteWinterWolf Aug 20 '15 at 10:38
  • 44
    It's a usability and maintainability question. How long will it take you to enter `Correct Horse Battery Staple` on a cold windy night in Dawson City? – Deer Hunter Aug 20 '15 at 12:23
  • 18
    If your battery dies, are you then no longer able to get into your own car? If so, how would you pop the hood to replace the battery? – Greg Aug 20 '15 at 13:02
  • 7
    Keys are much faster and easier to use, and they are actually quite reliable. Note how we're actually moving *away* from passwords in computer security - two-factor security being one popular modern method. People are starting to use their phones for payments as well - yet another key/token. Contact-less payment cards no longer require entering PIN for low-value payments. The list goes on. And from personal experience, I've had my passwords stolen a few times (even "strong" passwords) - I've never lost my keys. – Luaan Aug 20 '15 at 14:16
  • 2
    @Luaan I think it different from one person to an other, I always forget where I put my phone but never forgets its password, even if I did, it way easier for me to remember the password rather than the place where I would have chucked my phone – Ulkoma Aug 20 '15 at 14:18
  • 6
    The standard use of car keys allows you to give them to other people and then take them back. The equivalent with a password is to give them the password and then change the password (*sounds like more of a pain to me*) The phone app just swaps the keys for the phone, which makes loaning even more difficult. I know my family has often shared one or two vehicles among all of us. I can't imagine if a password had to be tied to one of our phones, which had to stay with the car the whole time. – DoubleDouble Aug 20 '15 at 16:17
  • 6
    *"Hey, I forgot something in your car, throw me your keys"* – DoubleDouble Aug 20 '15 at 16:30
  • 9
    _Unlike_ with most traditional uses for passwords, in this case the criminal has physical access to your hardware. And, in all likelihood, has that access for several hours before the next time you or anyone else will check on it. – Alec Gilliland Aug 20 '15 at 17:18
  • 3
    Besides, "Car keys can get easily lost or stolen by a stranger" - not really, our civilization has [several hundred years](https://en.wikipedia.org/wiki/Lock_(security_device)) of practive in handling keys, so nowadays almost anybody can take care of one. Passwords on the other hand, are in common usage for much shorter time, and have already proven being incompatible with most peoples' minds. – el.pescado - нет войне Aug 21 '15 at 10:38
  • 1
    You can insure your car and get it replaced. Your data is a different story. The inconvenience of stolen car is minor to getting your credit card information leaked. Secondly having survived a car hijacking in JHB South Africa I can safely say this idea will get people killed. These car jackers have been known to shoot people that take too long. I would rather hand over my keys and live than type in my password incorrectly. – Namphibian Aug 24 '15 at 21:44
  • If a password for a car is easy to change then that is the security of a password for the car rendered useless. Why attack the existing password directly when there needs to be a generic way of resetting the password? Sure you can have a master key or password for the individual car, but when such a system was used for conventional keys (Fiat, Ducati, and various others used such a system) you just land up with most people losing the physical master key or code and then having a VERY large bill (ie, new ECU, etc). – Kickstart Aug 25 '15 at 10:57
  • Car keys are one-to-one or few-to-one, not many-to-one. My car key won't fit in most brands of car, let alone open them. Passwords allow everyone to try to break in. Physical keys make sense for one-to-one or few-to-one physical objects like cars and houses. Passwords are better for authenticating many people for access to a single system, which could be local or remote. Currently most people don't carry around the tools necessary to break into or steal cars. Passwords change this. – CJ Dennis Aug 26 '15 at 07:03
  • 1
    If someone steals my keys (which has never happened) they need to know where my car is. The keys are useless without the car and the car is useless without the keys. The first part of security is deterrent. If a potential attacker knows they won't succeed they won't try in the first place. With passwords every guess has a chance of succeeding so you'll potentially have more people trying to break into or steal cars. – CJ Dennis Aug 26 '15 at 07:03
  • 1
    Let us not forget all the Tesla owners who drove out into the country, enjoyed the sun, and then couldn't restart their car as they (and the car) had no cell phone receiption for the app to start the car - http://www.telegraph.co.uk/technology/2017/01/16/tesla-driver-stranded-desert-smartphone-app-failure/ – The Wandering Dev Manager Apr 20 '17 at 16:01
  • Based on my observations, the vast majority of drivers aren't technically sophisticated enough to understand how to operate a turn signal. A password entry system would be light-years beyond their comprehension level. – bta Apr 17 '18 at 17:41

17 Answers17

103

Poor password choices

The primary threat that a car lock protects against is theft of the car or of objects inside the car. Most theft is opportunistic, not targeted: go to a parking lot, try multiple cars until you find a poorly protected one. With passwords or PIN, you know that many people are going to pick password or 1234 or for the more paranoid their date of birth. Locking a car after failed attempts doesn't matter: the thief will just try the three most likely values on each car then move on.

Additionally, force-locking the car after failed attempts would be annoying if your kid starts mashing the buttons.

Shoulder surfing

Typing a password is vulnerable to shoulder surfing. It's hard to duplicate a physical key solely from pictures (it can be done, but only with precise enough pictures). It's impossible for an unaided human to duplicate a physical key.

It's easy for an unaided human to remember the PIN they've just seen somebody type. Pass by someone in a parking lot, note the PIN, see them the next day/week around the same time, profit.

Loaning

I can loan my car keys to someone. When they give me back the key, I can be reasonably confident that they no longer have access to my car. Sure, they might have duplicated the keys, but that requires time (if they only borrow the car for a short time, I know they haven't done it), and if I trust them enough to loan my car, I probably trust them not to copy the keys.

If there's a single password to open the car, then if I let someone use my car, they have access forever.

This can be solved by having multiple passwords to open the car, of course. But that adds another set of difficulties. One is that the key space might need to be larger: with a small key space such as a 4-digit PIN, the probability of an uninformed guess can become non-negligible with multiple valid codes. A bigger difficulty is that this requires Joe Random to do key management. Joe Random's VCR blinks 12:00 since the last power failure. (Maybe not anymore with DVR that have an Internet connection.) Joe Random understands physical tokens — if I have the object in my hand, I control it — but not password management.

Gilles 'SO- stop being evil'
  • 51,415
  • 13
  • 121
  • 180
  • 3
    With all these different answers I started to believe that my question is opinion based. Apart shoulder surfing all other reasons are not good enough to prefer keys to passwords, at least in my opinion – Ulkoma Aug 20 '15 at 14:30
  • 27
    I think the loaning is a very important aspect here - otherwise, especially in families (+teens). Also, if you use the same password everywhere, you'ld have a problem - since now, that person also knows your email/skype/computer password! – Katai Aug 20 '15 at 15:21
  • 3
    I believe that the 3rd point is the key, and has close to nothing to do with security: Currently you borrow your car by borrowing the key. Maybe you have 2 sets of keys, but that's it. You likely don't want to change this; the concept of many people using one car randomly doesn't work, and having a physical key is one way how to support this. If I want to borrow my parents' car, I have to call/text them and come to their house to pick it up. It's clear who's in charge of the car at which moment. – yo' Aug 20 '15 at 21:06
  • And with keyless entry/ignition, the part about copying a key from a picture goes from possible but difficult to impossible. – Kevin Aug 21 '15 at 05:35
  • 3
    *"Sure, they might have duplicated the keys, but that requires time"* I disagree: [KeyMe app lets you copy a key in seconds using a PHOTO](http://www.dailymail.co.uk/sciencetech/article-2937632/Copy-key-seconds-using-PHOTO-App-lets-order-new-key-house-post-secure.html) – A.L Aug 21 '15 at 08:45
  • 2
    As far as knowing when someone no longer has access to your car, many garage door systems have "guest" pins that only work for X activations or Y days, and can be generated as needed from the "master password" - it would be trivial to implement something similar for the cars as well if it was an actual issue. – user2813274 Aug 21 '15 at 14:44
  • 20
    @A.L Most car keys these days are chipped; copying the physical key doesn't get the car started. – cpast Aug 21 '15 at 20:53
  • What happens to the rental car business if you use passwords?? – Loren Pechtel Aug 24 '15 at 04:32
  • 1
    Actually, it is [12345](https://www.youtube.com/watch?v=a6iW-8xPw3k). – BЈовић Aug 24 '15 at 09:21
  • 1
    Also think: oil change shops, tire stores, other auto repairs, valet parking. The common practice (in the USA) is to give them your car key to perform the service. – Ogre Psalm33 Aug 24 '15 at 15:58
  • 2
    @Katai, the loaning is the least important because it's a problem that has been solved since the numeric-key-pad garage door openers. You just create a temporary password for that person and remove it when you no longer want them to have access. Only one physical key can open a lock (ignoring "master keys" here...), but a password system can have as many "keys" as you want. Heck, you could even set performance restrictions based on the password. The same could be done for mechanics or valets. Just create a new, one-day password and they write it down. – JPhi1618 Aug 25 '15 at 15:44
  • 1
    @LorenPechtel - I'm sure the rental car agencies would *love* car passwords, all they have to do is print out the password (resetting it for each customer) and hand it to the customer -- no keys to deal with, and no need to handle customer lockouts. – Johnny Aug 25 '15 at 18:50
  • @JPhi1618 you're right - I didn't think about those posibilities. But still, 'create a new one-day password' every day, to lean your car to your daughter for the morning? It just sounds like an awful lot of work instead of just giving out a key with a handmove. Again, that probably can be solved with a phone app - but not everyone I know has a smartphone. Keys just have something... simple. Password Management & (Temporary) Right systems just sound like an overkill for this kind of problem. – Katai Aug 26 '15 at 08:06
  • Loaning isn't a major issue. Assuming that mobile apps are the key (keyboards are kinda over the top and limiting to numbers is bad for security), then the app could presumably allow you to create new user accounts on the fly, then later delete them. That would let you have guests. We could argue that poor password choices is a user problem, and not much different from users choosing not to lock the car. Shoulder surfing would be hard if it's a full keyboard on a mobile device. Brute forcing is taken care of with a short delay between guesses. That leaves phone batteries as the biggest con. – Kat Nov 26 '15 at 20:32
84

Because it's easier to get an electronic system wrong, and when you get it wrong it costs you a lot of money and bad PR to fix it:

There are a lot of ways to get it wrong, too:

  • Poorly designed wireless protocol leading to replay / sniffing attacks.
  • Poorly designed / implemented crypto allowing brute-force of rolling codes.
  • Poor RNG allowing prediction of security-critical values.
  • Improper checks performed in the car's firmware allowing for state machine abuse.
  • Buffer overflows and similar software bugs in the car's firmware.

On top of that, the keys become more expensive, the key provisioning systems become more expensive, and in the long term you end up with a lot of technical debt because you have to support people asking for replacement keys for models of vehicle that you haven't manufactured in 10 years.

Physical locks and keys are relatively simple, relatively reliable, relatively easy to get right in terms of physical design, and don't inherently suffer from remote attacks. Keys also force thieves to be in direct physical contact with the car, which is a bonus from a forensics and investigation point of view.

Polynomial
  • 133,763
  • 43
  • 302
  • 380
  • Then how about a combination lock? If the problem is all about being mechanical or electronic not the authentication type? – Ulkoma Aug 20 '15 at 10:23
  • 10
    @Ulkoma Sure, but it's inconvenient to fiddle with a combination lock if you're trying to open your car. A key is just insert and twist. It can be done in the dark. It can be done with one hand. It can be done if your fine motor control isn't good. – Polynomial Aug 20 '15 at 10:38
  • 8
    Despite this, most car keys have had embedded chips for at least the last ten years, and "keyless" cars are common. – paj28 Aug 20 '15 at 11:10
  • 14
    Parking lot predators would vote for a combination lock. It would keep their victims distracted longer. – k1DBLITZ Aug 20 '15 at 12:51
  • 19
    I cannot see how this answer addresses the original question which asks about using passwords (must know) instead of keys (must have). This answer instead gives a good argumentation for electronic vs. non-electronic keys, but still talks about keys only. – Steffen Ullrich Aug 20 '15 at 13:35
  • @SteffenUllrich I was wondering the same thing, but with all th votes up and the reputation of Poly I thought I was missing the point – Ulkoma Aug 20 '15 at 14:16
  • 3
    Combination locks would also be vulnerable to spying attacks. – IcedDante Aug 20 '15 at 14:42
  • 1
    @Ulkoma I think Poly is bridging the gap from password to electronic system a bit too fast for us common humans. If you have a password input you have an electronic system, so Poly is going a step further and giving a broader answer. +1'd – Mindwin Remember Monica Aug 20 '15 at 15:31
  • Those links are a bit worrisome. Are you aware of anything similar from Ford? (I drive a Ford with a wireless key-token.) – Mason Wheeler Aug 20 '15 at 18:23
  • @MasonWheeler Google for `ford electronic key recall` gives 502k hits. Have fun. – user Aug 20 '15 at 19:58
  • 1
    But isn't the mechanical key flawed as well? I mean, at least here, in Brazil, there's a lot of ... ocorrences of such cases. Search for "abrir gol sem chave" and you get 480k results. Considering that, in these cases, the key needed a password as well, wouldn't it be just better? You have to possess the key to get inside the car, and from the inside, you need the password to turn it on and use it properly. Wouldn't that be better than just the password, or just the key? – Malavos Aug 20 '15 at 20:20
  • 2
    Note that physical keys aren't better. All it takes to start/steal *any* car is an hour of looking around on some non-English forums for shady software and a USB<->CAN cable, as all car's computers will happily dump their entire firmware without authentication and will even allow you to install a modified (like without the immobilizer code) firmware. – André Borie Aug 21 '15 at 11:38
59

I have exactly the opposite problem. Why do we use these silly password based systems that have major flaws when physical keys have secured everything relatively successfully for centuries?

The password based system is horribly flawed. Few people understand how easy it is to guess passwords. Forgetting passwords is incredibly common, far more common than losing all the copies of your keys. I've forgotten dozens of passwords over the years, but not once have I lost every copy of a key.

ErikE
  • 157
  • 8
Steve Sether
  • 21,530
  • 8
  • 50
  • 76
  • 1
    Even with only 6 digits it’s very unlikely to guess a number without having a computer brute-force it. If a car only allows 3 attempts per hour and takes your photo after the third attempt it becomes very inconvenient. – Michael Aug 20 '15 at 19:36
  • 4
    @Michael Why would taking their photo help? They could just wear a mask for a bit. – Kelmikra Aug 21 '15 at 03:03
  • 7
    "when physical keys have secured everything relatively successfully for centuries" -- millenia even. The ancient Egypt already was using keys and the apostle Paul was given a set of three (symbolical) keys for unlocking the truth to three different groups of people, and Jesus is said to "open so that nobody can shut a shut so that nobody can open" – John Dvorak Aug 21 '15 at 06:27
  • 4
    I agree. I bought a YubiKey NEO recently and many things now are so much simpler. Just put the Key in the USB port, press a button and I am logged in. I hope that [U2F](https://fidoalliance.org/specifications/overview/) and the like get more mainstream support soon. Also passwords don't scale with increases in computation power. cryptographic keys do! Te age of the password will soon be over. – Josef Aug 21 '15 at 09:53
  • At one place I worked that was somewhat paranoid about security, it was impossible to log on to any computer without first inserting a smartcard (the same card needed to enter the building), then entering username + password. One might imagine a car doing the same. – gerrit Aug 21 '15 at 09:55
  • 1
    @Michael If the code is randomly created, yes. If the code can be set by a user, then users will use 123456, or their birthday. – Steve Sether Aug 21 '15 at 13:45
  • 7
    @Michael Also, if the system locks you out after 3 bad attempts, that's a DOS attack. I'm assuming you can still use a physical key in that case, but then what's the point of the codes? My other guess is that you could narrow down the possibilities of the code by just looking for fingerprint oil on the keypad. – Steve Sether Aug 21 '15 at 13:54
  • 1
    @Michael If it locks after 3 attempts, I give it less than a day until someone locks every car at the nearest supermarket... Maybe add a loud noise, and lock for 1 minute instead. – Mark Aug 22 '15 at 19:07
  • 4
    Loud noises - we all know how well that worked with car alarms. – Sam I Am Aug 22 '15 at 19:15
  • 4
    Walk around any residential neighborhood typing 123456 on every car parked on the street - you'll have a car within the hour. – Sam I Am Aug 22 '15 at 19:34
  • 1
    @Kyth'Py1k taking their photo will help. the question is how much. (1) many thieves are morons who won't think to wear the mask; (2) wearing a mask inappropriately (i.e., during summer time) may draw unwanted attention; (3) such a mask could be classified as a burglary tool resulting increased punishment; (4) such a mask may violate some jurisdictions existing anti-klan legislation banning wearing masks in public resulting in more punishment. – emory Aug 23 '15 at 16:16
  • 2
    @SamIAm We as a society have failed with respect to car alarms. The correct response would be to dispatch a police tow truck to the distressed vehicle and take it to a secure police lot. The cars owner can reclaim their vehicle after proving ownership and paying off impound fees. If that was the response to a car alarm, there would be few false alarms and when the alarm does go off, the car would actually be protected. – emory Aug 23 '15 at 16:21
  • 3
    @emory Except then if you get mad at your neighbor or a co-worker, just walk over to his car and tap it or fiddle with the handle or whatever you need to do to set off his car alarm. Now he has to go to the police station to get his car back, plus pay a fee. Do it again tomorrow. And the day after. And the day after that. If you get caught, play dumb and say you were just walking through the parking lot and bumped into it. It would take a lot of work to prove you were doing this repeatedly and deliberately.\ – Jay Aug 24 '15 at 18:46
  • 1
    @Jay the most important thing is that I don't get woken up at night. perhaps the alarm manufacturers should makes devices that don't go off just b/c someone bumped into them. – emory Aug 24 '15 at 19:15
  • 2
    There is no way to beat the usability of an electronic key. Walk up to the car, push the button on the door handle, and get in. If the key falls out of your pocket in the car and you try to leave and lock the car, it won't lock the doors. If you are returning from an airline trip with the key in your luggage and it's raining, just push the button and get in - no need to dig the key out. I can't imagine punching in a password or PIN, as some older cars have, while standing in the rain. – Dave Aug 25 '15 at 13:45
15

Cars (and for that matter doors) have used token based authentication for a long time because that was something you could make (relatively) cheaply and simply and it worked OK.

Nowadays we can build password based systems just as cheaply and simply, but why would you want to?

There's nothing inherently wrong with using tokens. We understand how they work. They are very reliable. We're good at managing them. They're easier to steal than passwords, sure. But passwords have their own problems, for example the endless struggle to persuade users to put enough entropy into them.

Car manufacturers and users get better results from improvements to the existing token based systems. For example, modern tech makes it practical to include identification in the token and have the car reconfigure itself based on who is driving.

Graham Hill
  • 15,474
  • 37
  • 63
  • 2
    +1 for endless struggle to persuade users to put enough entropy into them. If we had PIN-protected cars, how many cars would get stolen because the users set the PIN to 1111 or 1234 or the like? If you force a user to use a preselected PIN, then they're just going to write it down on a scrap of paper which would be very easy for someone else to get their hands on (or covertly snap a picture of while the user is looking at it to get into their car). – Doktor J Aug 21 '15 at 14:43
  • Password-based auth requires a layer of abstraction that drastically increases the attack surface, for that matter. In the case of a mechanical token, your security operates at the same layer as the ignition in all but the most recent models :) – bright-star Aug 24 '15 at 09:21
  • 3
    I had a PIN immobiliser in my last car. From the day I bought it to the day I sold it, I never bothered looking up how to change the default PIN. Just a data point... – Jules Aug 26 '15 at 11:38
11

A key is what you have (physical) and a password is what you know. The first one must be cloned and the latter needs only be guessed or sniffed.

Sniffing a password on a computer is done either by "shoulder surfing" (i.e., looking when somebody enters the password) or with a network sniffer. In the (unhacked) car network, sniffing hopefully cannot be done but shoulder surfing can probably easily be done. In lots of cases there are enough people around when you start your car, there are security cameras and there might be other tiny cameras installed which you don't notice, similar to cameras in ATM skimmers.

You might try to find some place in the car for the keyboard where the keypresses can not be watched but this is probably some uncomfortable place. And of course the password must be strong enough so it cannot be guessed but must still easy to remember. This means people either have weak passwords or write the password somewhere into the car or use some other utility to remember it (e.g., cheat of paper in pocket, password manager in smartphone...). So using a password might actually not be that comfortable as intended or might have a really weak security so it can easily be sniffed or guessed.

There are already solutions to reduce the dependence on the key by replacing it with another thing you have, like a fingerprint or a smartphone. While these might be more comfortable they might fail in different ways than the usual key: attackers might remove your finger or not only you but also others might unlock your car remotely because of insecure design. But if car manufacturers team up with security experts they might actually create something that adds comfort without reducing security.

Given the recent trend to improve password security by adding a second factor to augment something you know (password) with something you have (smartphone, security token...) it is unlikely that security with cars will move in the opposite direction. But you never know because the car manufactures sometimes get strange ideas to please their customers which might even impact safety in an unintended way.

ErikE
  • 157
  • 8
Steffen Ullrich
  • 190,458
  • 29
  • 381
  • 434
  • The key can be also bypassed. I showed with some references on how it's done here in brazil in the first answer comment's. And it's quite easy. – Malavos Aug 20 '15 at 20:52
  • 2
    @Malavos: nobody said that keys are 100% secure. But passwords alone are even weaker. And while you can actually see if somebody is trying to break into a car without a key you cannot distinguish a valid car owner from the one who just got the right password by shoulder surfing. – Steffen Ullrich Aug 20 '15 at 21:01
  • hi there. Sure, but I did not state that we should use passwords. I just said that here, the two factor: a key to open the car, and a password to turn it on, works quite well. – Malavos Aug 21 '15 at 12:23
  • @Malavos as others have said that was tried 20 years ago with pin code immobilisers and it didn't catch on. Maybe it would be different today with the smartphone generation but it still means sharing your pin/password with anyone who may need to drive your car such as a mechanic – MattP Aug 25 '15 at 11:33
  • @MattP I see your point, my comment was not intended to provide a point of debate - just to add information for the users that are getting here by google search and duck go. – Malavos Aug 25 '15 at 12:04
10

It may be worth noting some cars do/did use passwords. Those passwords are usually a 4-number PIN.

They look something like this:

keypad

Although I've seen it in multiple cars, I do not know of any cars who have such a system built-in from the factory.

To start the car, both a key and the code are required. It doesn't seem hard to work around it if one feels so inclined, but it is always implemented as an extra step, not a replacement. I'm not a security expert, but a chipped key seems safer to me than a 4-number code on a keypad.

Mast
  • 445
  • 6
  • 15
  • 1
    It seems to me that that particular keypad would pretty quickly show wear and tear or stains, making at least 6 out of 10 keys useless. Our bank also uses a pad just for the PIN, but the keys are touch type only and of the type that doesn't show much. Even then, I wonder if I could not simply detect the build up of the oily substance that's on my fingers (or the french fries of course). – Maarten Bodewes Aug 20 '15 at 20:57
  • Yes, there are, quite a few of them. Citroën is just one manufacturer that used such immobilisers. When built-in from the factory, it can be much more effective because the logic resides in the engine control unit and cannot be bypassed. – Gábor Aug 20 '15 at 22:30
  • @Gábor I encountered one of them in a Citroën Berlingo which looked pretty well implemented. In hindsight it may have been built-in from the factory. – Mast Aug 21 '15 at 07:56
  • @MaartenBodewes All online banking cardreaders I have seen require the user to enter both the PIN /and/ a session-specific code issues by the bank's website. So the keys used for the PIN are only pressed slightly more often than other keys, it would take forensics to figure out what they are. – gerrit Aug 21 '15 at 09:57
  • @gerrit The new one of Rabobank uses a camera to read those session-specific codes, hence the more advanced key pad. A security boon is that you get the entire transaction on the screen of the token (!). So though the physical security is slightly less, it seems better protected against online attacks. (no, not employed a bank yet, just a customer) – Maarten Bodewes Aug 21 '15 at 10:06
  • 1
    Peugeot used such a system for many years. I remember my neighbour swearing at it in their car many time. – Kickstart Aug 25 '15 at 10:50
  • @Kickstart Peugeot and Citroen cars are manufactured by the same company, and share many components. – Jules Aug 26 '15 at 11:39
  • 2
    @Jules Point was more how thoroughly annoying such a system was for those who suffered it. – Kickstart Aug 26 '15 at 11:43
  • @Kickstart It could be switched off if the owner decided so. I don't actually know why they would ever wanted to get rid of the extra security but it was certainly up to them. Stealing such an immobilised car on the spot was only possible if the thief came with an exact matching engine control unit with a known PIN. Not completely impossible but not that likely, either. – Gábor Aug 29 '15 at 11:27
  • @Gábor - when it is very annoying I suspect many would happily have turned it off! – Kickstart Sep 01 '15 at 07:55
  • @Kickstart: the standard advice of RTFM applies here, too. :-) – Gábor Sep 01 '15 at 09:38
  • @Gábor - true, but how many very non technical car owners can manage that (probably more likely their 5 year old child would reenable it with some random unknown code). But if you are a car maker wanting to actually sell your products why would you include some security which will by default intensely annoy many prospective owners? – Kickstart Sep 01 '15 at 09:48
  • @Kickstart: I can't agree (and from personal experience with such a car). This is a very welcome addition that makes stealing the car so much more complicated. Granted, some drivers (maybe a delivery courier needing to restart many times a day) might find it problematic but the vast majority of owners, I'm very sure, is satisfied with such a system. And if they're not, they can still ask the garage to remove the function completely the next time they visit for any reason. Typing a PIN is much less annoying than finding your car gone one morning... – Gábor Sep 01 '15 at 09:50
  • But I can see your point in the US, actually, where there is an ongoing class action on behalf of some Darwin Awards candidates who find the burden of pressing a start/stop button **once** at the end of their journey an unbearable burden. ;-)) – Gábor Sep 01 '15 at 09:57
  • @Gábor , so many owners were unsatisfied that the makers seem to have given up bothering with such a system ;-) ,Typing a pin in thousands of times in the remote possibility that without doing so the car will be gone is pretty annoying. Especially when there is dodgy software to read and reset the codes. – Kickstart Sep 01 '15 at 10:14
10

It's a very good question and a question that touches on some very elementary but often misunderstood information security principles. The most elemental fact is that a car key is an authorization while a password, at least in its common use is often bound to a form of identity (such as a username) and as such is in authentication token. While these concepts are often used interchangeable, they are very much different. Your car does not need your identity to know you are authorized to use it. Your key "is" the authorization. If you went to the bar with a few friends and got totally pissed, you can easily delegate your authority to the car by giving that one friend that only drank perrier all night your car key so he can drive you home safely. After dropping you off at your house he gives back your key, gets on his bike and peddles home. So basically the delegation was voluntarily revoked by him giving back your key.

If you want to replace a car key with something better, its very important that:

A) You don't fall in the trap of using identities. There is absolutely no justification for getting into the complexities involved with identities, authentication, access control lists, etc. After 6 lagers the security savvy sysadmin inside of you sure isn't capable to change the ACLs to allow your friend to drive you home.

B) You will want to embrace and build on the concept of delegation.

I think this old blog post touches on some of the human aspects that a better 'authorization' system would need to think about.

https://minorfs.wordpress.com/2014/07/13/security-debunking-the-weakest-link-myth/

The most important thing to realize is that we need better authorization. NOT (better) authentication, for cases like this. Could such a better authorization system system use passwords? Probably. Would passwords (or memorable password capabilities, that are basicly passwords without identity) on their own be sufficient as replacement tokens of authority? Most definitely not. It would be very interesting though to see if anyone comes up with a solution that is both safer than car keys yet fully embraces the human's natural strength in relatively secure delegation rich interaction patterns.

user1703394
  • 311
  • 1
  • 4
6

Car manufacturers can't even get basic security right, not even with standard keys. Almost all cars today have immobilizer technologies built-in (that read a chip embedded in the key), but :

  • their "crypto" is broken and keys can be cloned, something impossible with any PKI token/smart card worth its price.
  • the computers in the car happily show their entire firmware and memory (which includes all the info needed to program a matching immo chip) to anyone asking, and will even agree to install a new firmware like one patched to remove immo-related code.

So if they can't even get keys right, how do you expect them to get passwords right ? If they try passwords I'm sure there will be some idiot who will say "hey let's implement some un-changeable master password for law enforcement", and imagine the disaster after that.

Plus, you'd still need a physical token to open the car, as typing a long password on a cold night in a sinister parking lot isn't that safe, so if you have a physical token you may as well reuse that. I'd like it to be secure though, as currently it's clearly not.

By the way, about the expensive process to change car keys, that's by design. What would the poor car manufacturers do if they can't steal $300 from you anymore each time you need to replace your keys ? The real reason there are immobilizer technologies in cars isn't because security (as I've said above, their "security" is moot), it's just to force honest customers to pay astronomic amounts for nothing. Thieves on the other hand, can use software-based solutions to continue stealing.

André Borie
  • 12,736
  • 3
  • 40
  • 76
  • 3
    I have a home alarm system. There's a default master password. When I found out about it I changed it. But the security company never gave me any instruction manual or anything that mentioned it. I only found out about it because I am a computer geek and wanted to tinker with the installation, so I went to the web site of the manufacturer of the system -- not the company I bought the system from -- found an installation manual, and downloaded it. I'm sure lots of people who work at security companies know these master codes. – Jay Aug 25 '15 at 15:17
  • 1
    Yes. Now that I know this, I think if I was planning to become a thief I'd get installation manuals from all the major manufacturers and see if they have master passwords. Thieves probably do more work to figure out how to break into homes and offices than the owners do to keep them out. – Jay Aug 25 '15 at 15:26
5

I think there are two main factors to this:

  • Convenience

It is much easier to have a key around, and be able to give it to someone, have a spare copy, etc., than to handle a password, input it every time, change it, when your son gets a fender-bender, etc.

  • Idiocy

People will rather have a device that unlocks the car, than manage a security solution consisting of a password, or set of passwords.

(Side note: In fact in most cases, as an IT specialist, I would rather have people use a chip card, or a simple key to log-in, than a password. It is far more convenient when you need to diagnose/fix something in an enterprise environment, than to have a password policy and have a person share her password. So really I am looking forward to a wider adoption of keys, rather than passwords in general IT.)

Konrad Gajewski
  • 593
  • 5
  • 16
5

This relates to the principles of information security that make multi-factor authentication desirable.

  • Something you know
  • Something you have
  • Something you are

From a security perspective, trading one for a different one does not provide an exponential gain. It is the combination of multiple factors that typically yields increase.

With cars, the something you know is usually the location of the car. Historically, cars were not trackable or reachable remotely, so risk exposure was limited to the local area of the car. This is gradually changing as cars become networked. Much like a data center, a car can be physically secured in a restricted access area, such as a garage. People who are genuinely concerned about having their car stolen will likely only park in restricted areas, or very public areas where brute force theft would be noticed. What makes online account attacks so dangerous is that they are largely invisible and rarely noticed.

The something you have has always been the physical key. Nowadays that might be a keyfob or remote starter. From a security perspective a physical token is valuable because it limits the range of theft from anyone to just someone with the token in hand. That often means committing a separate crime to obtain the physical token. Adding a physical token to online account access for two-factor authentication dramatically decreases risk of unauthorized account access via password.

Something you are is the registered owner. You can have the police arrest anyone in possession of the car who is not the physical owner. This is the primary deterrent to theft, not difficulty. Logging into someone's online account without their permission has questionable consequences, often none at all. Stealing their car and getting caught is almost guaranteed jail time with a felony record.

Applying information security principles to car theft is not yet a one to one. When cars are fully networked, and self-driving, then they will need to be secured the same way online accounts are because they will experience similar risks. At that point, someone might steal your car by logging into it remotely and having it drive itself to their desired pickup location without anyone seeing them, and without physically exposing themselves to capture (important distinction). They might even be able to use your car and return it to the same place without your awareness. Even then, someone might notice and alert you as the owner, since a large physical object is changing state in a way that any person (even a kid) can see. That visibility is a critical point.

We are headed toward strong multi-factor authentication for vehicles. The key (or fob) won't be eliminated, it just won't be enough anymore. Likewise, a purely virtual solution such as a password should also not be enough, as it just trades one type of risk (physical access) for another type (virtual access). I suspect that the key will grant physical access to the vehicle (open doors, trunk, hood), and the key (rfid) plus password or biometrics will then enable it to be used.

As a parting thought, how often are servers hacked remotely (passwords) versus physically stolen from datacenters (keys)? Why is that? Why will that always be true?

Daniel Nalbach
  • 661
  • 4
  • 6
  • Can you elaborate on the third item, please? – Konrad Gajewski Oct 13 '18 at 20:45
  • Something you are is a status check. Some examples include, a citizen of a country, an employee of a company, a user of a system, an owner of a property. My status as a current employee gives me the right to enter our building. My status as a US citizen gives me the right to enter the country. When combined to with something I have (id), I gain usage of things. – Daniel Nalbach Oct 15 '18 at 14:06
4

There 's still another problem with password protected cars. We must not forget that the owner/driver is generally a mere human being. As such he/she has been used to physical keyrings since childhood and one key for the car, between one and three for the house and one at work is easy to carry in a pocket. And even if your neighbour knows the age of you children and the name of your dog, it is no help to forcing your house door.

Passwords on the other hand can be very secure. A truly random password of 4 to 6 digits should provide a security level equivalent to a standard physical key, not speaking on 12 alphadecimal characters. But as I have already said many of us are mere human beings and remembering many truly random password is hard is only possible. So either the passwords are provided by a third part and many people just write them down in many different places ruining the security, or they can be choosen, and you find the birthday of the children or the pet's name. Ok users of security.stackexchange know about IT security, know about password weakness and could use without major risk a car or house door protected by password. But who does not know a friend or relative that could not imagine putting a password on its smartphone or using anything more complex than his girlfriend birthday to protect his facebook page? What would be the real security of his password secured car?

Ok it is just his problem. But do you think that he will buy a password protected car, or a password procted lock on his house door? So now it becomes the problem of the company selling cars and locks

TL/DR: I do not think that passwords will soon replace physical keys for something as serious as a car or a house door, not because of security flaws, but simply because most humans could not securely use them. The problem is not the technic but as for many computer problem: the most dangerous part for a computer is between the chair and the keyboard

Serge Ballesta
  • 25,952
  • 4
  • 42
  • 84
3

When you have 2 competing solutions and none has a huge advantage over the other, the one which already dominates the market wins.

While keys are weak security, and sometimes rather inconvenient, so are passwords - just for different reasons.

  • When you bring the car to a mechanic, you give them the keys. What if you have a password?

  • Cameras can steal your password, but not your key.

  • When someone steals your key, you'll notice. When someone steals your password you won't notice.

  • Passwords can be forgotten.

  • Entering long passwords takes time. Using short passwords compromises security.

  • A keyhole is ugly, but not nearly as ugly as a keypad.

  • Keys can work based purely on mechanics. The password keypad is a bother when the battery is dead and you need to enter the password to open the hood in order to jump start the battery.

Passwords are different, but not better. There are several approaches that are better than passwords and which complement mechanical keys, e.g. pressing the button on the key to unlock the door.

Peter
  • 3,620
  • 3
  • 14
  • 24
  • 1
    In fact you just gave me an idea: how about have the keypad on the key itself? no shoulder surfing plus the advantages of a mechanical key – Ulkoma Aug 24 '15 at 10:58
  • @Ulkoma That's a good one, I guess you'd easily find a few 10,000 buyers for that. But unless you find a way to make it work when the car is out of power it's not suitable for mainstream. – Peter Aug 24 '15 at 11:02
  • the dude from DD has done it, we just need to email him and tell him to shift the app from his cell phone to the key itself, the piece in the engine has it's own battery and it can be used to pop the hood – Ulkoma Aug 24 '15 at 11:08
  • @Ulkoma "has its own battery". I don't see how that solves the problem. What if that battery dies? – Jay Aug 25 '15 at 15:07
  • 1
    While I agree with your answer, I'd quibble that while passwords can be forgotten, keys can be lost. Not sure which happens more often. – Jay Aug 25 '15 at 15:08
  • If you talk about permanently losing the keys, I'd wager that passwords get forgotten much more frequently. My point was that both have an extensive set of disadvantages. – Peter Aug 25 '15 at 15:34
3

Stealing physical keys is risky smallscale business, hacking perhaps not

Consider having to make this choice:

  1. Walk up to someone, put your hand in his pocket, grab his key, immediately get into his car, drive away, sell it for whatever you can get
  2. Hack something, arrange a sale (passwords/actual car), at a convenient time (let someone) pick up the car for which you know you can get good money

Considerations

Even when assuming that looking at the password as they enter it would not be possible, it is going to be much easier to steal a car and get away with it. So, perhaps the number of keys stolen in bars will decrease, but the number of passwords stolen should easily make up for that.


Adressing other points that are mentioned in the question

Car keys can get easily lost or stolen by a stranger you met in some pub but it's highly unlikely that you shout your password while you are sleep talking

Your classical key can only be stolen by someone who has physical access to it. So, anyone who attempts to steal a key will have to take a considerable risk and consider the possibility of being in jail the next day. Also, the person will not only need to steal the key, he needs to use it immediately to get in the car as the opportunity will otherwise have passed. Someone who has stolen your password code can probably remain anonymous, only facing some risk when he finally picks up the car at a convenient time. After all, you will not know that someone else has your password now.

It's a big hassle and an expensive process to change your car keys; Passwords are very easy to change.

As it cannot be acceptable that people can't use their own cars, the keys probably need to be stored somewhere centrally. Also digital keys tend to require changing much more often than physical keys as it turns out people are better at stealing them. Therefore, the annual revenue generated by 'administration costs' will likely be much higher than the total spend on key replacements at the moment.

You can always use your car as a getaway car in a bank robbery and you later claim that you have lost the keys and it was not you; you can't do that with a password.

I don't see why people couldn't claim that someone has stolen their password.

Dennis Jaheruddin
  • 1,715
  • 11
  • 17
  • All this being said, it would of course add to security if you needed a key AND a password to get started. However, I am not sure whether that addition would be worth the hassle. -- Ideally you would like a fingerprint detector and so on, but besides the cost issue you would then reallly not want to get robbed of your car! – Dennis Jaheruddin Aug 25 '15 at 10:29
2

Several of your points don't seem valid to me.

A key is easy to steal but a password isn't? How so? I'm 56 years old and I have never, ever had my car keys stolen. Sure, people can be pick-pocketed, I'm certainly not saying it's impossible to do. But people often write passwords down, and the piece of paper can be stolen. People use passwords that are easy to guess. It's not at all obvious to me that it is easier to steal a physical key than a password. I don't know if anyone has done a study on this. Though I suspect in either case it depends a great deal on how careful you are about protecting the thing. If you're in the habit of leaving your keys on the desk at work or on the bar at the local drinking establishment and walking away, your risk goes way up. If you're in the habit of using "password1" as your password or writing your password on a sticky note and leaving it in plain sight, your risk goes way up.

If you use your car to commit a crime, you could claim a key was stolen, but not a password? That takes us back to the previous point. That argument is only valid if we assume that keys are easy to steal but passwords are impossible to steal. Even if you think keys are easier to steal, it is certainly not impossible to steal a password. I presume that in either case the police would look for more evidence either way.

How do you envision the user entering the password? Presumably there would have to be a keypad on the outside of the car. This keypad would have to work reliably regardless of rain, snow, ice, etc. My daughter's car has a keypad and a combination lock. We bought the car used, and it has never worked.

How long would it take to enter the password? This could be an issue for, say, a woman alone trying to get in her car on a dark night. Or less dramatically, for someone trying to get in their car when it's pouring rain or freezing cold and their fingers are numb.

It's a big hassle to change keys? Not really. I once had to replace the door of my car when it had a bad rust problem. I bought a door from a junkyard. Of course the replacement door lock did not match my keys. I swapped the key cylinder from my old door to my new door with about twenty minutes of effort. I don't know how much it costs to buy a new key cylinder, but it's not like this is something you're going to do every week. A new lock for a house door costs ten or twenty bucks at the local hardware store.

Jay
  • 859
  • 5
  • 5
  • 1
    Addendum: If you need to provide for a master key in case of forgotten passwords, dead batteries, etc, then you have now created two ways for a thief to steal your car instead of one. – Jay Aug 25 '15 at 15:22
2
  1. A password system needs an interface, an interface needs to be secure and durable.

1.1 If the interface is bound to the car it is potentially easy to destroy for vandalists without a lot of noise, a bad designed interface could potential be destroyed by a magnet for fun. How would you open the car if the interface was malfunctioning or damaged ? You mention a master key, but that way you just give attackers 1 more attack vector than before and decrease security.

1.2 If the interface is portable, it is also hackable or atleast bruteforcable, by emulating the hardware and the signals send.

  1. Information security, stealing, uniquness and copies.

2.1 Passwords are a visual information which can be easily stolen from a distance, eg. by observing the finger movement without actually seeing the input device. A camera at any location in a parking lot could easily steal hundreds of passwords without any effort and without it's owner noticing. Additonally cars are used in public places with strangers around and unobserved password input is nearly impossible to guarantee.

2.2 Informations can travel without the owners notice. That means your car password can be obtained without your knowledge, while a car key cannot be stolen without you noticing in the long term.

  1. Relative Cost, complexity and comfort.

3.1 Even if you overcome all of the above challenges somehow in a 100% secure way and produce a input device that is just as durable as a key and lock. Is it cheaper than the key and lock system ?

3.2 Does your system increase complexity for users and/or does it require to get additional devices that may be complex ? (And yes, smarthphones or tablets are complex, and probably not a secure input device anyway)

3.3 Is your system more comfortable than the previous key and lock system ?

3.4 Is your system fast to use ? If it is, is it really secure ? If it isn't, is the hassle really better than a key lock system ?

  1. Shareablity, revoking access rights etc.

4.1 If I lend my son the car, I can't revoke access without changing the password, which would also revoke access for my wife and we would both have to learn a new password by heart. Passwords need to be easily remembered because writing them down devalues them.

4.2 Having multiple valid passwords would make the system more vulnerable to brute force and one leak anywhere would already be fatal to security.

HopefullyHelpful
  • 1,254
  • 1
  • 12
  • 17
0

For two reasons.

One, passwords are an incredibly stupid and weak security concept.

Two, convenience.

The second one is easier. With a key, you have a reasonable amount of security in a convenient form factor. You can give it to your friend for an hour and then take it back. Imagine how many people held the keys to your car during a typical year. The mechanic at the garage, your wife or son, your friend, the valet at that posh restaurant you went to once. Imagine having to set up temporary passwords or change your password every time. Keys today are also much more than just keys. They contain immobilizers, they let you open the door or the trunk or the windows and cabrio roof remotely. For some brands (BMW, for example) they also have a memory chip that stores car data (seat position, climate settings, etc.) so that two different people can each have their own key with their personal settings, as well as diagnostics information for the car dealer / garage if you bring it in for repairs.

Secondly, passwords are a broken security mechanism that we only keep using because it's there and we know it. Passwords are regularily, weak, forgotten, shared. They need to be stored somewhere and there's a hundred ways to attack them, while there's only half a dozen or so ways to attack keys.

There's one more point that is important for law enforcement, insurance, etc. - keys are physical items. Or in legal terms: Evidence. If you believe you stole my car, and the police finds my car keys with you, that's damn good evidence. How could I prove that you know my password?

There are certainly improvements to the car key that can be made (and are being made all the time), but switching to passwords is not one of them.

Tom
  • 10,201
  • 19
  • 51
-3

For the same reason that anything that needs to be secure on the web uses an RSA key. Only 1 person can have it at any time, it can't be guessed or brute forced, and it can't be forgotten. If someone has your key, you know it. If someone has your password, you don't know.

I can remember passwords for things I use every day, but something like a car that you only need to use a few times a month, the password will be forgotten.

Scott
  • 192
  • 4
  • 1
    Whut? Sir or Madam, your answer disappoints me in being astonishingly incorrect. RSA key, 1 person, car used a few times a month... A big fat -1 from me. – Deer Hunter Aug 23 '15 at 18:33
  • @DeerHunter I mostly agree. I use my car 100 times a month. But, I could imagine an RSA token card with a button to enable NFC communication to enter the 6-digit code directly into the car's keypad, with an automatic one minute lockout if any NFC code is invalid (to prevent brute force attacks). The *concept* sounds cool, and I'd be the first one to try it out. You could even give out guest cards (e.g. 3 uses), or loan the card to someone (like a key), or so on. Of course, I don't trust manufacturers to get it right, either... – phyrfox Aug 24 '15 at 19:30