Slashdot Mirror


USB Sticks Used In Robbery of ATMs

First time accepted submitter JeffOwl writes "BBC is reporting that thieves are infecting ATMs with malware using USB sticks. The malware creates a backdoor that can be accessed at the front panel. The thieves are damaging the ATM to access a USB port then patching it back up to avoid notice. This indicates that the crew is highly familiar with the ATMs in question. Once the ATM is infected, the thieves use a 12 digit code to bring up the alternate interface. The thieves, not wanting their crew to go rogue, have built a challenge-response access control into their software and must call another member who can generate the response for them."

29 of 252 comments (clear)

  1. That's what you get by fisted · · Score: 5, Insightful

    That's what you get from running Windows on ATMs, lol.

    1. Re:That's what you get by Anonymous Coward · · Score: 5, Funny

      Mod parent up! Linux machines are impenetrable, even if an expert has physical access. This is why Torvalds gets so aggressive: he keeps locking himself out of his testing machines and has to buy new ones.

    2. Re:That's what you get by fisted · · Score: 4, Insightful

      I don't know any Linux or unix machine which would be compromised merely by plugging a memory stick. Hint, hint: autorun.
      Furthermore, you presumably wouldn't get administrative access.

    3. Re:That's what you get by Spy+Handler · · Score: 5, Insightful

      no, this is what you get when you put a USB port on a frigging ATM. Whose bright idea was that anyways?

    4. Re:That's what you get by dugancent · · Score: 3, Interesting

      My bank still uses os/2 on their ATMs.

      --
      SJWs are the new boogeyman. -Me
    5. Re:That's what you get by wvmarle · · Score: 4, Insightful

      Making it easy to install upgrades? Or to connect say, a proper keyboard, to do maintenance?

      USB stick is better than over network as physical access is needed. And in this case, they indeed had to physically break the ATM to gain access to this USB port.

    6. Re:That's what you get by asmkm22 · · Score: 5, Insightful

      The USB port is pretty well hidden and secure, which is why the article points out the fact that the thieves appear to be familiar with the machines enough to know where and how to best break that part open. Even the best of security measures won't hold up against an inside job.

    7. Re:That's what you get by lgw · · Score: 5, Informative

      That's what you get from running Windows on ATMs, lol.

      No, it really isn't. I've seen this demo'd at a security conference, and the OS has nothing at all to do with the attack. ATMs have a USB port which can be used to replace the firmware. The port is behind a simple lock, not in the vault with the money.

      This attack replaces the OS on the ATM with the image the attacker provides. What the OS was before the attack really isn't all that relevant. The fact that images aren't signed or anything is.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    8. Re:That's what you get by ericloewe · · Score: 3, Interesting

      ATMs generally run on commodity hardware and a commodity OS (most I've seen are Windows NT 4.0 and newer).

    9. Re:That's what you get by cusco · · Score: 4, Informative

      I'd be very surprised if the "alternative interface" isn't installed by rebooting the machine off the USB stick. The Diebold voting machines were configured to preferably boot off a USB, and Diebold is still the largest manufacturer of ATMs in the US.

      --
      "Think about how stupid the average person is. Now, realise that half of them are dumber than that." - George Carlin
    10. Re:That's what you get by Nkwe · · Score: 3, Interesting

      I don't know any Linux or unix machine which would be compromised merely by plugging a memory stick. Hint, hint: autorun. Furthermore, you presumably wouldn't get administrative access.

      It doesn't require autorun. A usb device that emulates a keyboard or other input device would do the trick. Send the keystrokes necessary to break in. Think Linux is immune? How about the keystrokes necessary to reboot the machine and start up in single user mode? Even if single user mode has been protected, the usb device could provide both keyboard emulation and cdrom emulation -- during reboot the hack could boot to alternate media. The real fail is a design that allows access to the hardware (physical access is full access) and not the choice of operating system.

    11. Re:That's what you get by BosstonesOwn · · Score: 4, Informative

      Because that part of the atm is heavily protected, whereas the usb port is behind a plastic panel.

      --
      This package Does Not Contain a Winner
    12. Re:That's what you get by TWX · · Score: 4, Insightful

      I think that it's stupid to allow the USB port to do anything more than provide a Human Interface Device level of access to the OS unless credentials are entered in to the machine to enable those features.

      Or, in layman's terms, AT BEST the USB port should only work for a keyboard interface as a prompt for a password until the operator is authenticated.

      It's CRIMINALLY STUPID for the USB port to provide any other kind of access by default. It should not give the OS kernel access to media plugged into it. It should CERTAINLY not automatically engage media plugged into it to read it. Arguably, it shouldn't do ANYTHING even with a keyboard plugged in until the technician servicing the machine has otherwise entered passwords, like on an internal keypad.

      --
      Do not look into laser with remaining eye.
    13. Re:That's what you get by jeffmeden · · Score: 5, Insightful

      Because that part of the atm is heavily protected, whereas the usb port is behind a plastic panel.

      All of the flames about windows vs linux are a red herring. This is the real design flaw. Any design that assumes the USB interface to the software is not just as important to protect as the cash itself completely ignores why they would ever put the USB port on there in the first place (to make material changes to the ATM software).

    14. Re:That's what you get by TWX · · Score: 3, Informative

      You mean, the trick I use on the computers I support, by password-protecting the BIOSes and restricting boot to the fixed disk only, a trick that I've used for about twenty years, was ignored on commercial-grade equipment that's responsible for the basic security of our form of government and of our financial system?

      Say it ain't so...

      --
      Do not look into laser with remaining eye.
    15. Re:That's what you get by durrr · · Score: 4, Funny

      I guess this was a...
      STICK-up.

    16. Re:That's what you get by cusco · · Score: 3, Interesting

      You should read up on what a security nightmare the voting machines are, it's appalling. Doesn't help that there are a dozen or more manufacturers, all of them being sold on the basis of friendly back slaps with local politicians rather than actual analysis of the hardware and software (which is always closed source). Testing procedures are a joke, by design, and even systems that fail testing get sold on the promise of an update in future firmware versions. Don't overlook punch card counters either, they put out by far the largest deviations from exit polls of any of the machines.

      --
      "Think about how stupid the average person is. Now, realise that half of them are dumber than that." - George Carlin
    17. Re:That's what you get by Penguinisto · · Score: 3, Interesting

      Err, not really. If we're building a *nix ATM, then you can fix it in one go: If the USB port requires elevated privs just to mount/use anything plugged into it (say, a long numbered sequence entered from the ATM keypad, unique to that machine, that would translate to a variation of "sudo /bin/mount"), the whole USB stick trick falls flat.

      Not sure if there would even be a feasible analog for that in embedded XP/CE/WE

      --
      Quo usque tandem abutere, Nimbus, patientia nostra?
    18. Re:That's what you get by i+kan+reed · · Score: 3, Informative

      Windows doesn't do that anymore either. It gives the user an option to invoke autoruns, but doesn't trigger them.

      Attacks on USB tend to target the drivers these days, not the OS.

    19. Re:That's what you get by Joce640k · · Score: 3, Informative

      It's CRIMINALLY STUPID for the USB port to provide any other kind of access by default.

      Remember: This feature was brought to you by the same company who thought it was a good idea to execute .exe files attached to emails without even asking you.

      --
      No sig today...
    20. Re:That's what you get by Anonymous Coward · · Score: 5, Informative

      The USB port is enabled to write the Electronic Journal when Brinks or whoever comes by to refill the ATM. The copy of the journal is then given to the institution responsible for the ATM.

  2. Barnaby jack jackpotting ATMS by bleh-of-the-huns · · Score: 4, Informative

    Google the subject, he performed this attack live at both Blackhat and Defcon 18. It was definately an eye opener, and one of the reasons I tend to avoid those rental ATM's you see in mom and pop stores, and restaurants/bars...

    yes I realize that even the major Bank ATM's are susceptible, but at least with a major bank you have some recourse if you have issues.

    --
    I came, I conquered, I coredumped
    1. Re:Barnaby jack jackpotting ATMS by retroworks · · Score: 3, Informative
      --
      Gently reply
  3. Re:Moral of the story by Crudely_Indecent · · Score: 4, Insightful

    When has a video camera ever stopped someone from doing exactly what they intend to do? Youtube is full of examples of people behaving badly in front of a video camera (sometimes - because of the video camera)

    Sure, video cameras may cause people to reconsider their behavior - but a criminal intent on committing a crime will just wear a mask or disable the camera with some high-tech sticky tape. If the group is repairing the machines so their modification can't be detected - nobody would be the wiser. They might consider the tape to be the work of a prankster and peel it off.

    Maybe if the video camera was attached to a flame-thrower - that might do the trick.

    --


    "Lame" - Galaxar
  4. Re:Moral of the story by Richard_at_work · · Score: 4, Informative

    In the UK you cannot access the internals of the ATM unit without either accessing the rear of the machine, which is locked away in the safe that they mention, or by cutting into the fascia of the external face, which is what they did here.

    You cannot gain access to the ATM simply by using a key bought off of the internet.

    And yes, most ATMs in the UK have a video camera on them to help identify fraudsters, but that does NOT help prevent the fraud from occurring because someone would have to watch it in real time and intervene. Infact they identified just how this hack was occurring by watching the CCTV footage to see just how the money was going missing, because it wasn't triggering any other alarms.

  5. How do we prevent this? by EMG+at+MU · · Score: 4, Informative

    I feel like I might know how something like this happened.

    Dev: "Hey we need to spend some time on security, for example the USB ports are not disabled, if we wan't to use them for service we should put authentication on them."
    Project Manager: "Well, you have a point but none of our competitors focus on security either and were also behind on the project. It will be fine and we can fix it next time"

    As a embedded dev I have had that conversation.

  6. Oh, ffs. by ledow · · Score: 5, Insightful

    Fail #1: A port that can be accessed without triggering an alarm.
    Fail #2: A USB port.
    Fail #3: Software running that looks at, and allows unsigned executable code to be executed from, a USB storage device without explicit authorisation.
    Fail #4: No intrusion detection whatsoever to notice that this USB device has been inserted, has had code taken from it, that that code has been made executable and executed, or that that code is running with privilege enough to dispense cash.

    I stopped caring at #2, if I'm honest.

    You can state for all the world that the ATM's need software updates, etc. but there's just no excuse for a commodity device to be able to run arbitrary code without at least BOTHERING to check the authenticity of the code it runs first and ALERTING someone somewhere that that's what's happening (i.e. alert the branch, alert the central bank, etc.).

    There's nothing stopping you issuing your updates over the local banking network, even, if that's what you want to do. Just make sure they are signed, verified, encrypted and secured. Honestly, you can't download a fecking game or movie nowadays without requiring DRM... and this is where DRM, code-signing and all that other stuff we do is supposed to be being used the most.

    General purpose computers SHOULD NOT BE USED in security-conscious situations.

    If your ATM isn't a SecureBoot machine (at a minimum), with code-signing explicitly required for any and all updates, and ALL WAYS to execute external code disabled, you're just a fecking idiot.

  7. Software security in finance is surprisingly low by quietwalker · · Score: 5, Informative

    I used to write financial software for a living, including ATM driving software.

    I realized, after a while, that I had certain preconceived notions about the sort of software and hardware that is running on these sorts of high profile, high risk systems. Obviously, the software will have been made highly secure; redundant checks on every action, code signing, etc. It'd likely be running a custom operating system that was built from the ground up and booted off a (P)ROM. The case would be just as impenetrable, with a separate compartment for the computer itself, requiring specialty equipment so that could only really be opened at the point of origin or in a manner certain to destroy the innards - and certainly not in the field.

    Right? I mean, any of us can think up a set of reasonably secure basic premises from which we could build a system like this out of.

    Imagine my surprise when I found out that half of the ATMs out there are just running off the shelf windows desktops, with the original demo software still installed. There's no real optimization, no cleanup, no limited boot, nothing; it's just a desktop machine jammed in a vending machine with a custom card & cable for driving the mechanics of the ATM. Sometimes they're even in the original manufacturer's case (though usually they're just the board). I've also done some work on vending machines, and I can tell you that they're often better made!

    As a software developer, one of the things I was shocked to see was that security for ATMs was almost entirely focused on the physical. There's little to stop someone from hooking up an external line and sending approvals or just do basic proxying - most of the data is sent in the clear, just skim it, or to update the system with a cd or usb if you pull the front cover of the ATM off. Many times, you'll find someone left a keyboard and mouse behind in the unit because it's a pain to always carry your own when doing updates or what have you.

    This follows the same basic trend in the rest of the financial systems I've seen; physical security is very high, software security is relatively low. When it comes down to it, most companies place a focus on tracking transactions rather than securing them, and rely on constant manual review by staff to detect problems (that's why banks close so early - the folks who don't run the registers are in the back doing the day's reconciliation.

  8. Crooks are better at security than the banks!! by cs668 · · Score: 4, Interesting

    At least they built a challenge response system into their hack, that's just f*'ing funny to me!!