Signal sniffing some laundry pay cards

It seems that [Limpkin] was up to no good this weekend. He decided to snoop around inside a smart-card laundry machine. He posted about his larceny  adventure and shared the details about how card security works with this machine.

We’re shocked that the control hardware is not under lock and key. Two screws are all that secures the panel to which this PCB is mounted. We know that machines using coins have a key lock, but perhaps there isn’t much need for that if there’s no currency to steal. [Limpkin] made a pass-through connector for the ribbon cable coming in from the card reader. That’s the rainbow cable you can see above and it’s being fed to his logic sniffer. He used the ‘card detect’ signal as a trigger and captured enough data to take back to his lair for analysis. Using what he found and a Bus Pirate to test the smart card he laid bare all the data that’s being sent and received by the controller.

Comments

  1. medix says:

    Either the system is ‘older’ (pre-hacker generation), or the manufacturer is relying heavily on security through obscurity. I’m still amazed at the things that *aren’t* more secure, just because whomever built it doesn’t expect the general public to be intelligent enough to reverse-engineer the device.

    • draeath says:

      Given all the “random” reads, I’d lean strongly on security by obscurity.

      If you only write to one place, why bother reading all over the place like that?

    • >Either the system is ‘older’ (pre-hacker generation), or the manufacturer is relying heavily on security through obscurity.

      Or the cost-benefit ratio wasn’t there for the armored electronics. Remember, the manufacture actually has to sell some of these things before they can recoup any R&D costs.

      Hopefully, Limpkin is an ethical hacker, but if one person out of 1337 students gets free laundry for a semester, would that pay for the extra R&D to make the thing more secure?

      Also, lookup “blueboxing” sometime. This is post-hacker hardware for sure. “Hacking” predates the first guy that discovered that a lid from a tobacco tin placed on a telegraph key makes the Morse code easier to copy.

    • Seth says:

      This was possible on the machines at college. The coin box was secured and would have been more difficult to hack, however the front panel of the machine was attached using security screws. One trip to the hardware store and the machine could be opened.

      Whether or not it was planned, the schematics for the machine were inside the case! Instead of hacking the coin counter, it was possible to simply put the machine into diagnostics/program mode and change the price of operation to $0.00.

  2. kaluce says:

    It’s nifty, albeit not something I think I’d ever use. A good look on “simple” electronic security.

  3. davidhaveman says:

    @medix: The “General Public” isn’t smart enough to do this kind of thing.

    It takes some decent electronic skills to be able to customize/interact/extend these circuits.

    • medix says:

      Well, perhaps not this kind of tech (though the numbers of intelligent, capable individuals is growing rapidly), but think about the security ‘hack’ that was tested against the Chicago Transit Authority. From what I remember, all of the information gained and methods used were not overly complicated, and very easily obtained from the internet.

      This example doesn’t quite address the ‘security through obscurity’ point, but you get the idea. When there’s a will, there’s a way.

  4. Reggie says:

    @davidhaveman, not particularly, nothing that can’t be learnt from the internet, especially with articles like this leading the way.

  5. cde says:

    More like: The cost of implementing “””proper””” security against unmitigated and unreasonable to expect attacks outweigh the benefits, when out contacts will indemnify us anyway. You know why they don’t bother? One, they expect that a person won’t be able to access the equipment without being caught, or won’t risk breaking and entering or other criminal charges to get at best, free laundry. Minimal payout = less incentive to attack, less reason to care.

  6. n0lkk says:

    As far as security goes in this instance this most likely is secure enough. I could be wrong, but even in the “general public” of hackerdom, few will have the tools used here in their shop. For the thieving hacker that has the equipment the monetary gain here probably isn’t worth an effort. Even in a world where many wouldn’t pay a cent for a song recording if they could download it for free.

  7. Max Witt says:

    Also have to realize that the cost of laundry isn’t so much. They are more worried about people stealing the coins. If a couple of geeks get some free laundry, it doesn’t make much of a difference. Depending on the level of geekery (in the classic sense), they can consider it a public service.

  8. John says:

    A lot of people are excusing the manufacturer, saying that this is not a high-value target.

    But high value targets do the same thing. There was an instance a few years ago where somebody compromised a point of sale card reader/keypad. Turns out that it communicated with its host computer over plain unencrypted RS232, and all the miscreant had to do was install a sparkfun 232 -> wireless converter.

  9. Aviator747 says:

    He is using a old AVR that used to be used for hacking DN. hehe

  10. hospadar says:

    it does seem to me that this kind of thing is so easy to secure that it’s just plain silly not to do so.

    Card carries ID number
    Reader scans ID, asks server (which is connected by some free public key jazz, ssh/ssl/etc) how much cash the user has.
    Tell server how much you charged and fire up laundry.

    At some point the signals need to get sent to the motors that run the machine, but I don’t see a practical way to stop that if you are facing users who can/will dismantle the machine.

    I’ll never understand why these systems store the critical data on the card, it’d be like if paypal just trusted you to tell them how much money was in your account.

    • Nuno.S.Almeida says:

      Your system needs a central server and network enabled laundry machines or some cryptographic key assignment system. If the value is in the card, none of that is needed, except at the recharge station for the debit/credit card transactions. Cost vs benefit vs hackers ;)

      Once a laundry machine I used had the coin deposit full and wouldn’t accept more. Since the person responsible wasn’t able to come for a week and I had laundry to do, I opened the front panel (protected with a few regular screws) and shorted the wire that detects the coins. That was easy to do since the machine had the schematics in there! Me and all my building neighbors were happy about it.

  11. webkris says:

    We did this back in the day by replicating the “quarter drop” signal that was sent to the board from the lock box (one wire – pulsed to ground). Forget getting to the coins, the hardware AND THE SCHEMATICS FOR THE UNIT were neatly hidden behind two screws. :D Gotta’love fresh laundry!

  12. Dewey says:

    I am really impressed, not only by his clear, uncluttered explanation, but also by the fact that he doesn’t hide behind the typical fake hacker justification of “I’m doing this to show you an irresponsible security flaw of a careless manufacturer” when in reality most hackers are trying to keep the attention on the manufacturer specifically because they don’t want the audience to start realizing how illegal or at least semi-immoral what they’re doing is. It’s such an old and deflated stance. He comes out and makes it clear that he’s doing something borderline legal, and admits you could get in trouble for it. Thanks for at least being honest.

  13. saam says:

    I dislike all this self-censorship and apologetic mealy-mouthed rhetoric when it comes to being plain curious. I understand why an ethical person wouldn’t post detailed instructions for making a bomb but wishing to know this stuff doesn’t make you a terrorist. Pretty soon the population will be so stupid we will not have anyone capable of stopping bad guys. We will all be too busy freaking out over elementary school projects involving wires and magnetic LED signs.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 96,322 other followers