Slashdot Mirror


Open Millions of Hotel Rooms With Arduino

MrSeb writes with an excerpt from Extreme Tech about a presentation at Black Hat: "Bad news: With an Arduino microcontroller and a little bit of programming, it's possible for a hacker to gain instant, untraceable access to millions of key card-protected hotel rooms. This hack was demonstrated by Cody Brocious, a Mozilla software developer, at the Black Hat security conference in Las Vegas. At risk are four million hotel rooms secured by Onity programmable key card locks. According to Brocious, who didn't disclose the hack to Onity before going public, there is no easy fix: There isn't a firmware upgrade — if hotels want to secure their guests, every single lock will have to be changed. I wish I could say that Brocious spent months on this hack, painstakingly reverse-engineering the Onity lock protocol, but the truth — as always, it seems — is far more depressing. 'With how stupidly simple this is, it wouldn't surprise me if a thousand other people have found this same vulnerability and sold it to other governments,' says Brocious. 'An intern at the NSA could find this in five minutes.'"

19 of 268 comments (clear)

  1. Well, that's it! by camperdave · · Score: 5, Insightful

    Bad news: With an Arduino microcontroller and a little bit of programming, it's possible for a hacker to gain instant, untraceable access to millions of key card-protected hotel rooms.

    Well, that's it! There's only one thing we can do... outlaw Arduinos

    --
    When our name is on the back of your car, we're behind you all the way!
    1. Re:Well, that's it! by Joce640k · · Score: 5, Insightful

      "...who should be scolded for not disclosing the hack to Onity before going public"

      a) As if they don't already know what the hack is.
      b) If the only solution is to change all the locks, maybe on their own dime, do you think disclosure will make them volunteer to do it?

      --
      No sig today...
  2. I wouldn't have either by Anonymous Coward · · Score: 5, Insightful

    When the guys share these hacks with the companies ahead of time, they tend to get sued or get their presentations cancelled by the vengeful corporations. They're better off not disclosing these things ahead of time.

  3. Bad news for you maybe by crazyjj · · Score: 5, Funny

    Great news for the budget-minded vacationer looking for a hotel bargain.

    --
    What political party do you join when you don't like Bible-thumpers *or* hippies?
  4. Re:Lock the door when inside by Iniamyen · · Score: 5, Funny

    Don't fret, most hotel rooms have safes secured by Onity programmable key card locks.

  5. Re:Lock the door when inside by h4rr4r · · Score: 5, Informative

    Many of those safes have backup passwords, hotels generally do not change the default one.

  6. A bit of hyperbole... by kaizendojo · · Score: 5, Insightful

    When demonstrated for the reporter, the hack only worked on *one* out of *four* of the doors tested in a REAL hotel, and then only on the second attempt after Brocious fine tuned and tweaked his software. Also, this can be defeated by simply using any one of the mechanical locks on the door.

    The bottom line is that if you aren't using the mechanical bolt or slide lock when staying at *any* hotel, you were vulnerable way before this hack. Keep in mind that there are plenty of AUTHORIZED users of master card keys on the hotel staff.

    1. Re:A bit of hyperbole... by SkimTony · · Score: 5, Insightful

      When a hotel staffer uses a master key card, it's logged (the security system notes which key was used when). Presumably with this hack, that isn't necessary. Also, the ability to open the doors on 25% of hotel rooms is still a concern.

    2. Re:A bit of hyperbole... by Anonymous Coward · · Score: 5, Insightful

      The bottom line is that if you aren't using the mechanical bolt or slide lock when staying at *any* hotel, you were vulnerable way before this hack.

      That might work if you're *in* the room. What if you need to venture outside?

    3. Re:A bit of hyperbole... by Anonymous Coward · · Score: 5, Interesting

      Does Onity offer centrally logged door units?

      99% of the shit I've worked with at hotels (from an installation POV) just checks that the mag card has a particular number in track 3. They're dumb as fuck.
      Putting the word "ADM" in track 2 unlocks most of the doors in many hotels. Sad but true fact.

  7. swedish supermodels beware by tekrat · · Score: 5, Funny

    Geeks now have the ability to get into your hotel room while changing into your bikini...

    But why would a geek be changing into your bikini?

    --
    If telephones are outlawed, then only outlaws will have telephones.
  8. What happened to responsible disclosure? by nastav · · Score: 5, Insightful

    It's easily and effectively argued that security through obscurity does no one any good, but responsible disclosure is still widely considered to be a good practice. Supposing a vendor is willing to fix their serious bugs, it really helps in preventing large scale attacks between the time of disclosure and reaction (by the vendor). If Onity had been willing to replace all it's locks over a short period of time (say, 6 months) at massive cost to itself - but nevertheless done it to protect it's long term reputation, it makes a lot of sense to give Onity that opportunity without outing the flaw. It's unlikely that such a large-scale replacement of locks would have been pursued, but giving Onity an opportunity to consider that option would have been responsible. It helps Onity, but it also helps customers of Onity (like Hotels who might have chosen to replace their locks, or individuals who might ask questions before going to a particular hotel). Now everybody knows it can be done, and many will try. Sure, an NSA intern could have figured it out, but the fact remains that it was not being massively exploited for large-scale robberies, for e.g.. Targeted exploits are bad - no doubt - and I'm sure some of this was already going on, but there isn't much doubt that the sum total of targeted exploits does less bad than what might happen now - namely large scale exploits. I suppose I'm arguing that security-through-obscurity does work - but in a targeted and limited fashion - as to provide cover for short durations when real security is pursued. It may not work, but it's worth a try - and by going public before giving Onity a chance to pursue a 'fix', this researcher has, in my books, acted against public good.

    --
    -- obligatory (but true) caveat: my comments my own, and don't reflect my employer or colleagues' positions.
  9. Re:Reliable? by Anonymous Coward · · Score: 5, Insightful

    From TFA: He tested this hack on three randomly choosen hotel room doors, failed to open any. Had to stop to reprogram the device, and then managed to open one of the doors. I'll stick to being worried about corrupt security guards.

    Proof of Concept != Final Version

  10. Re:I'm sure the government has easier ways by Maximum+Prophet · · Score: 5, Insightful

    Silly Reader, warrants are so 20th century. These days, they just show a letter, that you can't discuss with anyone, citing a "secret" law. Yes, it's unconstitutional, but if you're a $12/hour clerk, and the guy with the gun is asking, are you going to make a fuss?

    --
    All ideas^H^H^H^H^Hprocesses in this post are Patent Pending. (as well as the process of patenting all postings)
  11. Image by firewrought · · Score: 5, Interesting

    The hacker has (in his picture for the Forbes article) unkempt hair and a T-shirt that says "It's Fun To Use Learning For Evil!". I realize Black Hat has this whole counterculture thing going guys, but would it kill you to put on the veneer of respectability? Geez... this guy looks like a cliche movie hacker lackey.

    You know that your intentions are honorable, that you wouldn't (for instance) rob a hotel room, and that maybe you are part of the process by which society gets stronger over the long run, but the audience of Forbes is predisposed to see you as a shady menace (or cost multiplier). And the audience of Forbes has more real influence to pass laws that restrict or limit access to your favorite toys (prior examples being some telephony tools, radio electronics, lockpicks, encryption software, etc.).

    It sounds silly, but a clean shave and a button-down is how you say "I'm one of the good guys" to this crowd (or the general public, actually).

    --
    -1, Too Many Layers Of Abstraction
    1. Re:Image by slashmojo · · Score: 5, Insightful

      would it kill you to put on the veneer of respectability?

      Like a banker? ;)

  12. So they're called by oldmac31310 · · Score: 5, Funny

    pwnity now...

    --
    http://www.acetonestudio.com
  13. Re:Lock the door when inside by SilverJets · · Score: 5, Informative

    You mean those safes where hotel staff have a master code that unlocks them in case the guest forgets the code they set? Those safes?

  14. Re:Reliable? by Anonymous Coward · · Score: 5, Informative

    I suspected upon hearing this that he was trying to bitbang a protocol using the Arduino functions such as delaymicroseconds and digitalwrite and he was probably having to adjust these to account for inconsistencies caused perhaps between locks (where battery voltage may affect timing) but also the inherent timing problems caused by the braindead manner in which these "friendly" functions operate. Even worse, he is using the Arduino's Serial library which is even worse about causing timing and memory problems.

    Upon reading his code I found that assumption to be correct. If he ditched the Arduino library and wrote correct AVR code using ISR's and hardware timers to implement the communication protocol I think the reliability of the exploit would dramatically improve. Reading his analysis of the protocol I even think the two-wire interface could be used directly with a tiny bit of extra hardware. Also, the Arduino MEGA is unnecessary; a normal arduino or even a $2 ATTiny would do this job fine.

    I should mention that it's not his fault that the Arduino library is terrible code and that its essentially unusable for this kind of thing; they do sort of purport that is more capable than it is. I do however suggest that you adjust your thoughts on the reliability of his exploit.