Slashdot Mirror


Breaking a Car's Cipher

An anonymous reader alerts us to research out of Belgium and Israel that claims a practical attack on the KeeLoq auto anti-theft cipher. Here are slides from a talk (PDF) at CRYPTO 2007. From the researchers' site: "KeeLoq is a cipher used in several car anti-theft mechanisms distributed by Microchip Technology Inc. It may protect your car if you own a Chrysler, Daewoo, Fiat, General Motors, Honda, Toyota, Volvo, Volkswagen, or a Jaguar. The cipher is included in the remote control device that opens and locks your car and that controls the anti-theft mechanisms. The 64-bit key block cipher was widely believed to be secure. In a recent research, a method to identify the key in less than a day was found. The attack requires access for about 1 hour to the remote control (for example, while it is stored in your pocket). The attacker than runs the implemented software, finds the secret cryptographic key, and drives away in your car after copying the key." Update: 07/23 15:27 GMT by KD : One of the researchers, Sebastiaan Indesteege, pointed out that the link to the paper was incorrect; their paper has not yet been released to the public. I also managed to mis attribute his nationality. He is Belgian, not Dutch. My apologies.

25 of 253 comments (clear)

  1. Wrong paper by mkilmo · · Score: 3, Informative

    The linked paper is by Bugadanov (requires the entire code book). The authors of this paper have not published their paper in the wild (yet).

  2. So? by Rob_Ogilvie · · Score: 4, Insightful

    If a car thief has access to your keys for an hour, aren't you going to lose your car anyway?

    --
    Rob
    1. Re:So? by iggymanz · · Score: 4, Funny

      a long time ago I had a girlfriend who liked to put her hand in my pocket and had access to my master key for hours. one day she took something from me using the key, but it wasn't my car

    2. Re:So? by tomstdenis · · Score: 3, Funny

      Step 1. Stop being lazy. Just turn the damn key in the door.

      Step 2. Yeah, if they used 3DES or Blowfish at the time, this wouldn't be an issue.

      Step 3. See Step 1.

      --
      Someday, I'll have a real sig.
    3. Re:So? by dkf · · Score: 5, Funny

      That means the person next to you, or a few feet/meters away could be stealing the car keys. So now we need tinfoil pocket protectors as well as tinfoil hats?
      --
      "Little does he know, but there is no 'I' in 'Idiot'!"
    4. Re:So? by Otter · · Score: 5, Funny
      This being Slashdot though, all the cryptography "experts" will tell us how things should have been implemented.

      Sorry, we can only communicate through analogies to either automobiles or door locks. Discussion of actual automotive door locks is therefore impossible, and referring to Belgium as "the Netherlands" will have to be the site's sole contribution.

    5. Re:So? by morgan_greywolf · · Score: 3, Informative

      On most newer cars, there's also an anti-theft chip in the key itself. The information stored on this chip is directly linked to the VIN number of the car. So the person would ALSO have to copy your key, as it says in TFS. These keys are around $80, and you used to have to get them from the dealer, but apparently nowadays you can get them from Wal*Mart.

    6. Re:So? by robbiethefett · · Score: 3, Funny

      I just like the fact that when someone steals my Jag, they don't have to break the window, or even damage the door lock.. All I have to do is wait for Lo Jack to track down my unscathed car and thank the police when they return it. Sweet. Technology really is making life better for everyone.

      --
      "Luke, you've switched off your targeting computer, what's wrong?"
    7. Re:So? by Anonymous Coward · · Score: 4, Funny

      You bastard.

    8. Re:So? by Znork · · Score: 3, Informative

      "Or did I miss something ?"

      Yep. Passive RFID chips require so little energy that the reader can power them with the current the antenna produces when hit by the EM waves from the reader. Usually this means that you have to hold the chip (card, key, etc) very close to the reciever (against it, the key in the lock, etc).

      However, that proximity is only necessary if you use the standard reader. There's nothing stopping someone from getting a standard reader and jacking up the power enough to activate and read the chips from a much greater distance.

      Unless you get a tin-foil wallet. And tin-foil pockets. Etc.

    9. Re:So? by wiredlogic · · Score: 4, Funny

      This being Slashdot though, all the cryptography "experts" will tell us how things should have been implemented.

      A Beowulf cluster of keys (bound by a token ring) would make it difficult to interrogate any specific key.

      --
      I am becoming gerund, destroyer of verbs.
    10. Re:So? by BosstonesOwn · · Score: 3, Interesting

      Except for that fact that Lojack doesn't work in all parts of the us.
      http://www.lojack.com/where/lojack-coverage-areas. cfm

      if it can't get a signal it can't send. since it rides traditional communications services.
      http://www.lojack.com/lojack-faqs/index.cfm

      They can remove the transponders rather quickly if they are experienced car thieves.

      I had a 2004 Dodge Ram that was stolen for the gear in the bed of the truck since it was a capped truck with a security system it was easier for them to take the whole truck and work on the locks elsewhere. They found the lojack unit and threw it in a dumpster 3 cities over, police found that 3 hours after I reported the truck missing. They found my truck in a Southern State 6 weeks later completely stripped. They even took the Navi dvd's and the sirius radio tuner.

      --
      This package Does Not Contain a Winner
    11. Re:So? by Phisbut · · Score: 4, Funny

      If a car thief has access to your keys for an hour, aren't you going to lose your car anyway?

      Basically, these electronic-chips-encrypted-stuff-on-the-car-key aren't meant to make it any harder for a car thief to get your car. It's just there to manage to increase the penalty for car theft.

      Car theft isn't that much of a crime nowadays. However, breaking the cipher will net you a DMCA violation and such things will carry the death penalty pretty soon.

      --
      After 3 days without programming, life becomes meaningless
      - The Tao of Programming
    12. Re:So? by cayenne8 · · Score: 4, Interesting
      "The article (or at least the summary) implies what you say, although I find it hard to believe that someone would be so retarded as to design a key that communicates at all without manual initiation by its owner. Or, to use the technical term, pushing a goddam button."

      Nope..I first found this on my first corvette...a '97 C5. It had a setting through the dash display, where you could set the car to sense when you came near enough with the keys, and it would automatically unlock. You could set it to unlock either both doors, or just drivers side.

      I played with it awhile, but, I found that the hook I kept my keys on near the front door...were too close to where the car was parked...and would at times unlock the car in the driveway. I turned it off after that.

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
  3. Obligatory by Billosaur · · Score: 4, Funny

    KITT: Michael, someone's trying to hack into my operating system! Help me Michael!

    --
    GetOuttaMySpace - The Anti-Social Network
  4. learn to read, you insensitive clod by Anonymous Coward · · Score: 5, Informative

    OK, what part of "Katholieke Universiteit Leuven, Belgium" looks like "researchers in The Netherlands"??

    In other news: The Canadian president George W. Bush invaded Iran because of the 9/11 attack on the World Trade Center of Chicago.

  5. Summary by Anonymous Coward · · Score: 3, Interesting

    According to their slides, all you need is proximity to one of these devices for an hour, and the master key for the manufacturer can be found - which is simply XORd to the vehicle ID to authenticate. They were relying on a vast keyspace instead of a secure encryption method - security through obscurity.

    Break one key device, break them all.

  6. Re:So? CNC... by foodnugget · · Score: 5, Interesting

    While it may be simple to break the code on the chip, you still need a copy of the key unless the car is push-button-ignition.
    These days, many high-end car keys are CNC cut (my mini's key has huuuuuge tooling marks from a spindle-out-of-square), which will actually cause a bit of trouble. This isn't something you could easily do a putty-transfer on, nor does the group of people who spend a lot of time breaking cyphers typically overlap with the group of people who have and can work with CNC equipment.
    In the end, I think flatbedding the car is the way to go. All the big chop shops are doing this now. If you're small-time, carjack. Alternately, get a real job.

  7. Daewoo? more like Daew00t. by that+IT+girl · · Score: 3, Funny

    It may protect your car if you own a Chrysler, Daewoo,...
    That's okay. If you own a Daewoo, you could hand the key to a thief and they still wouldn't steal it. Nothing to see here, move along.
    --
    10 FILL MUG WITH COFFEE
    20 DRINK COFFEE
    30 GOTO 10
  8. Not really by dachshund · · Score: 4, Insightful
    There's still a mechanical lock preventing the ignition from being engaged, and they would also have a steering wheel lock to work around. This is effectively bypassing the imobilizer that comes equipt on most modern cars. If someone wants your car bad enough now-a-days, they just take your keys from you.


    I just purchased a new car that doesn't have a mechanical ignition system. There's an place to attach the key (doesn't have metal teeth or anything), and a big "Start/Stop" button. The steering wheel lock is also electronic, and is controlled by the electronic signal from the key. I have no idea if my car uses KeyLoq--- I sure hope not.

    Mechanical locks are on their way out, largely because they're ineffective against even moderately sophisticated criminals. That's the whole reason Immobilizer systems were rolled out in the first place. This attack effectively stips the immobilizer out of the car and rolls the security back to pre-Immobilizer levels. You only need to look at theft rates among models with and without immobilizers to see what impact that has.

    Finally, for those who say that 1-hr access to the key is unreasonable: remember that the attack here is _key copying_, not theft. The immobilizer systems are designed to prevent copying, so that your valet or repair person can't make a copy of your key and steal it later. This attack takes a lot longer than other attacks which are out there (example), but it's still not out of the question.

    The basic lesson of all these attacks is that manufacturers need to use strong cryptography rather than custom, homebrewed ciphers. Hopefully with fabrication prices dropping, this will be the last generation of truly ridiculous authentication systems.

  9. Re:Belgium not The Netherlands by Daimanta · · Score: 5, Funny

    This is in Belgium, not Holland.
    It's the Netherlands, not Holland.
    --
    Knowledge is power. Knowledge shared is power lost.
  10. Symmetric Key Exchange by Doc+Ruby · · Score: 3, Interesting

    Why don't remote keys resync symmetric, unbreakable keys with the car every time they're physically inserted into the ignition?

    When someone patents that device, just point to this post as prior art. If it's patent free, anyone can use it, and there's no excuse for not securing cars (and homes, and bikes, and ...) properly.

    You're welcome.

    --

    --
    make install -not war

  11. Re:Belgium not The Netherlands by AVee · · Score: 4, Funny


    It is however an understandable mistake to make, as most Dutch know very well, you can't expect Belgians to figure these things out.


    But than again, it's not like linking to a .be domain is a dead giveaway is it?

  12. Re:Old reliability data by Technician · · Score: 4, Informative

    It's simply not worth it to have to deal with electronics that break, batteries that die, etc.

    That has turned out to be FUD now that they are getting lots of miles now. The battery pack is easier to change than a typical transmission and now costs less. In addition it has been proven more reliable. (Google search Prius Battery Failures). The little 12 volt battery is a much higher failure rate item needing a 3-5 year replacement cycle just like their conventional counterparts.

    In the trade of of mechanical parts for electronic, most mechanical high failure items on the Prius has been eliminated.

    Here is a short list..
    No belts, not even for a water pump or AC.
    No Hydraulics hoses or lines except the brakes.
    No leaky AC rubber hoses or shaft seals.
    No clutches, pressure plates, bands, or hydraulics of any kind in the transmission

    Here is how the improvements work.
    The AC is a sealed electric unit like a home refrigerator. The compressor is body mounted eliminating Leaky shaft seals, belts, clutch, and hoses.

    The transmission has 7 moving parts. None of them is any kind of friction, shift, or hydraulic part. It's built like and as reliable as a differential. The battery pack is composed of 7.2 volt modules. A module failure does not equal a battery pack replacement.

    The Power steering is a linear electric motor for assist. This eliminates the power steering pump, hoses, and power steering fluid issues.

    The power brakes use a compressor so it is a trade off for the vacuum module for a compressor.

    The cooling system is powered by electric pumps. It traded belt driven problems for electric pump problems. I haven't seen reliability reports on these pumps yet which is a good thing.

    Even the starter moter with it's brushes, solonoid bendix gear and other failure items has been eliminated. The brushless AC Motor/Generator set in the transmission starts the engine.

    I studied all these issues before I bought a Prius. TCO is an important number to me.

    For me personally, Here are some of my stats.

    I have 120,000 on my Prius. At 20,000 and 80,000 miles I changed tires (the originals don't wear well). At 70,000 miles I had to change the 12 volt battery in late 2005 so it lasted almost 4 years.
    At the last tire change, I had the brakes checked. I have 80% remaining. Other than give it gas and regular oil changes, it has required zero repairs except a rock chip in the windshield.

    Most other cars I drove with over 100,000 miles were getting into needing starters, alternators, brakes, belts, power steering, Air Conditioner, and transmission service.

    --
    The truth shall set you free!