madison

Zero Day

Ryan Naraine and Dancho Danchev

Hacker breaks into ATMs, dispenses cash remotely

By | July 28, 2010, 5:18pm PDT

Summary: Using home-brewed software tools and exploiting a gaping security hole in the authentication mechanism used to update the firmware on automated teller machines (ATMs), a security researcher hacked into ATMs made by Triton and Tranax and planted a rootkit that dispensed cash on demand.

LAS VEGAS —  Using home-brewed software tools and exploiting a gaping security hole in the authentication mechanism used to update the firmware on automated teller machines (ATMs), a security researcher hacked into ATMs made by Triton and Tranax and planted a rootkit that dispensed cash on demand.

Barnaby Jack, Director of Research at IOActive Labs, used a laptop with a custom-built software tool called “Dillinger” (named after the famous bank robber) to overwrite the machine’s internal operating system,   take complete control of the ATM and send commands for it to spew cash on demand.follow Ryan Naraine on twitter

At the Black Hat security conference here, Jack demonstrated two different attacks against Windows CE-based ATMs — a physical attack using a master key purchased on the Web and a USB stick to overwrite the machine’s firmware; and a remote attack that exploited a flaw in the way ATMs authenticate firmware upgrades.

He did not provide any technical details that would allow anyone to reproduce the attack techniques but suggested that a skilled hacker could exploit these weaknesses if ATM manufacturers continue to create software with gaping security holes.

Although the attacks were demonstrated against ATMs made by Tranax and Triton, Jack warned that his attacks could have been performed against a wide variety of ATM brands and called on the financial services sector to invest in code reviews, blackbox audits and penetration tests.

“There are attack vectors in all these standalone or hole-in-the-wall ATMs,” Jack warned, noting that many ATMs are protected by a master key that can be bought for $10.78 on hundreds of web sites.  ”With this master key, I can walk up to a secluded ATM and have access to USB [and] SD/CF slots.  In some cases, opening and inserting my USB key was faster than installing a skimmer,” he said.

The most impressive attack, which used the “Dillinger remote ATM attack/admin tool, was done via a laptop connected to the ATM.  It launched an exploit against an authentication bypass vulnerability in the ATM’s remote monitoring feature (this is enabled by default on all ATMs) and allowed the hacker to retrieve ATM settings, master passwords, receipt data and the location and name of the business hosting the ATM.

The Dillinger tool came with a graphical UI that included features to “Retrieve Track Data,” or simply “Jackpot!”.   A click of the Jackpot button and the commandeered ATM started spewing cash on demand.

“If someone inserts a card on that machine, I can capture and save the track data remotely,” Jack said, explaining that his rootkit runs on a device hidden in the background.   The rootkit even sets up a hidden pop-up menu that can be activated by special key sequence.   The menu functions included instructions to “dispense cash from each cassette,” “print stats on remaining bill counts,” and “Exit!”

After his talk, Jack suggested that TM makers offer upgrade options on physical locks or a unique key for each ATM.  He also recommended the use of executable signing at kernel level to block his attack vector.

To mitigate remote attacks, Jack said ATM manufacturers should disable the on-by-default remote monitoring feature on the machines.

Kick off your day with ZDNet's daily e-mail newsletter. It's the freshest tech news and opinion, served hot. Get it.

Topics

Ryan Naraine is a journalist and social media enthusiast specializing in Internet and computer security issues.

Disclosure

Ryan Naraine

The most important disclosure is of my employment with Kaspersky Lab as a security evangelist. Kaspersky Lab is a global company specializing in anti-malware and secure content management technologies. I do not own stocks or other investments in any technology company.

Biography

Ryan Naraine

Ryan Naraine is a journalist and social media enthusiast specializing in Internet and computer security issues. He is currently security evangelist at Kaspersky Lab, an anti-malware company with operations around the globe. He is taking a leadership role in developing the company's online community initiative around secure content management technologies.

Prior to joining Kaspersky Lab, Ryan was Editor-at-Large/Security at eWEEK, leading the magazine's and Web site's coverage of Internet and computer security issues and managing the popular SecurityWatch blog, covering the daily threats, vulnerabilities and IT security technologies. He also covered IT security, hacker attacks and secure content management topics for Jupiter Media's internetnetnews.com.

Ryan can be reached at naraine SHIFT 2 gmail.com. For daily updates on Ryan's activities, follow him on Twitter.

Talkback Most Recent of 64 Talkback(s)

  • Nice article
    I know the anti-windows zealots will start mouthing off, but it really sounds like these machines have poorly designed software features.

    Regardless of the OS, one would expect that the motherboard was physically secured, and that a technician would require a hardware key of some kind to anything resembling a "firmware upgrade".

    This just sounds like pure stupidity.
    ZDNet Gravatar
    croberts
    28th Jul 2010
  • I don't think the boxes run windows
    Pretty sure they don't. I've seen a couple boot up after a power-loss before, and the OS that came up was something other than a MS product. I can believe that some vendors *may* be using windows, but I can't conceive why? Between license costs, the purpose of the boxes, and everything else around them, I think that would be way overkill. @croberts
    ZDNet Gravatar
    rock06r
    29th Jul 2010
  • The majority used to run OS/2, I believe.
    @rock06r
    Back 10 or more years ago I believe just about all the bank's ATMs ran on IBM's OS/2. There was a lot of discussion on the OS/2 boards when the machines started switching to variants of Windows. I suspect some banks are still using OS/2, and that may have been what you saw. If knew what to look for during the boot up you would be able to tell for sure.
    ZDNet Gravatar
    snberk341
    29th Jul 2010
  • RE: Hacker breaks into ATMs, dispenses cash remotely
    @rock06r Did you even read the article before commenting? The BIG CLUE is here: "At the Black Hat security conference here, Jack demonstrated two different attacks against Windows CE-based ATMs"

    Thank you for attending Windows Defence 101. You scored 100 points for making a pro Microsoft point. You scored -100 points for that being inaccurate, and -100 points for not reading the article.

    Please return to your grade school with a lawsuit or a gun - the choice is yours!
    ZDNet Gravatar
    Graham Ellison
    29th Jul 2010
    • Flagged
  • RE: Hacker breaks into ATMs, dispenses cash remotely
    @rock06r
    Some definitely run windows, about a month back my local banks' atm crashed - it was displaying the default WindowsXP screen saver.
    ZDNet Gravatar
    AndyPagin
    30th Jul 2010
  • RE: Hacker breaks into ATMs, dispenses cash remotely
    @rock06r online degree
    doctorate degree
    online associate degree
    ZDNet Gravatar
    rainnwilson94
    8th Sep
  • RE: Hacker breaks into ATMs, dispenses cash remotely
    @rock06r Thank you for this very useful information.
    IAO Accreditation
    Working Adults
    ZDNet Gravatar
    rainnwilson94
    9th Sep
  • RE: Hacker breaks into ATMs, dispenses cash remotely
    @rock06r Having recently got into the issues around disaster recovery, I can see that triple-redundant, failover to full working site, topologies are the only safe ones.

    If disaster strikes one site, having only one working site means a business becomes much more exposed. Many enterprises only have one-way failover, and often to lower capacity, leaving them partially cripled and with a long period of risk exposure as the failed site is reinstated mostly manually. araba oyunlari friv
    ZDNet Gravatar
    Kerimcan
    10th Sep
  • RE: Hacker breaks into ATMs, dispenses cash remotely
    @croberts
    The Banking industry as a whole is all about being cheap. Unless you do all your banking at the main branch where 5 guards, 30 cameras and bullet proof everything reeks of security.

    I agree that the OS issue is a moot point. If they aren't password protecting the Add/Remove Hardware feature then OS is the least of their worries. The OS in the article has one feature that I have found that would maybe make it give out cash. Hiding your cash in the cd-rom and when you need it you tell it to eject.
    The hardware itself it the main weak spot here. Key locks to secure them are also a break point. The old days when there would be a theft of the entire ATM and when they reported on the news that the money was recovered 2 weeks later when they found the ATM still intact because the robbers couldn't break into it was hogwash. They were just discouraging the next smash and grab guy from trying it.

    This way of robbing the ATM is better for the banks now that they wont have to replace one that had a chain wrapped around it and dragged 5 miles and then had a cutting torch used on it.
    ZDNet Gravatar
    dbisse@...
    29th Jul 2010
  • RE: Hacker breaks into ATMs, dispenses cash remotely
    @croberts
    You are absolutely correct! Why do these machines have USB and SD slots that is accessable by the general public? Why do they have them at all? I sometimes think the smarter we get the dumber we become.
    ZDNet Gravatar
    windozefreak
    29th Jul 2010
  • They're not.... hence the key.
    @windozefreak
    The key gains access to some of the innards and is where the chap is doing his dirty work. It should be noted that ALL ATMs are protected by alarm systems and this would be noticed. At the very least this should flag somehwhere. The cash is in a safe and the dispensing bits will be protected too so don't all think it's an open door.

    The really scary thing is the way this opens up rural, store based remotes to dodgy criminal entrepeneurs. Not a risk for users but definitely a big risk for banks.
    ZDNet Gravatar
    GetReal-mac.com
    1st Aug 2010
  • RE: Hacker breaks into ATMs, dispenses cash remotely
    @croberts Excellent article, it clarified a lot of issues for me. generic medicines , Medication List , Muscle Relaxants , pain drugs online , erectile dysfunction , arthritis drugs , Weight Loss Drugs , Antiviral Drugs , Antidepressants , Allergy Medications
    ZDNet Gravatar
    Peter38
    4th Aug
  • RE: Hacker breaks into ATMs, dispenses cash remotely
    @croberts yes we all know that the anti-windows zealots will start mouthing off. essays | term papers | research papers
    ZDNet Gravatar
    linasmith
    29th Aug
  • RE: Hacker breaks into ATMs, dispenses cash remotely
    Good post,thank you. replica hermes bags
    ZDNet Gravatar
    lovedong
    13th Sep
  • RE: Hacker breaks into ATMs, dispenses cash remotely
    They even got physical ATM's there, how did they get them? If you have thousands of dollars for your research I can come up with a dozen similar things. And so what, in the end anything that was designed can be reversed. What's the big deal, besides the motive of those security researchers to get more grants or leads because they shown us a trick in a casino. Let's say I kick your car to prove my point. You could have guessed the bumber would fall off. See how ridiculous this whole thing is?
    ZDNet Gravatar
    JoeHo
    29th Jul 2010

Talkback - Tell Us What You Think

Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]
Click Here
Click Here

The best of ZDNet, delivered

ZDNet Newsletters

Get the best of ZDNet delivered straight to your inbox

Facebook Activity

White Papers, Webcasts, & Resources
Click Here