Slashdot Mirror


Diebold ATMs hit by Nachi Worm

red floyd writes "The Register is reporting confirmation that Diebold ATMs were hit by the Nachi worm back in August. Apparently some Diebold ATMs run XP Embedded, and got hit with a variant of the RPC DCOM worm. Seems that they hadn't yet applied the available patch."

34 of 414 comments (clear)

  1. Diebold spins it. by grub · · Score: 5, Insightful


    A patch for the critical RPC DCOM hole had been available from Microsoft for over a month at the time of the attack, but Diebold had neglected to install it in the infected machines.

    Nice spin, Diebold. I highly doubt these were the only unpatched machines. It's likely more accurate to say "these unpatched machines, of which there are many more, weren't well protected on their respective VPNs". Think about it: the infection had to come from somewhere, right? Other unpatched machines are probably much better protected on their respective private networks.

    --
    Trolling is a art,
    1. Re:Diebold spins it. by Anonymous Coward · · Score: 5, Insightful

      I watched guy patch an ATM once.

      It was done from a laptop.

      My guess is that an infected laptop managed to screw things up (but no-one would admit to that). If it were because of a network connection, it would have been an 'all or nothing' infection and would've spread like wildfire. I'm not sure how exactly ATMs are connected, but they have to be networked in the grander scale of things for the system to work properly.

      Anyways, my bet is an unsecure laptop - that's how most RPC hole attacks I've seen have spread recently. Having said that, we'll see lots of posts of an anti-MS nature in response to this story, when in actual fact, it's down to user bad practise, patch deployment and the fact that some people get a kick out of writing this stuff in the first place...

    2. Re:Diebold spins it. by SatanicPuppy · · Score: 5, Insightful

      It's just as likely to be a scrap of code inloaded off the back of a credit card. Why in Gods name would anyone use a proven insecure operating system as the base for a series of teller machines? Are ATMs so complex that you need a whole operating system running on the damn things? I seriously doubt it.

      The answer to this is to make a simple, purpose built program, which is INCAPABLE of running externally introduced code. You need to patch? Run the software off a CD/DVD, and when you need to change the code, change the CD. Nothing to get cracked, nothign to get corrupted, nothing but hardwired code. Burn an extended BIOS on a rom chip to run the physical end. Then lock the whole thing up in a metal box, and BAM its as secure as you can make it.

      Diebold should go back to making safes and padlocks, because they sure as hell don't know crap about ATMs and Voting Machines.

      --
      ad logicam Claiming a proposition is false because it was presented as the conclusion of a fallacious argument.
    3. Re:Diebold spins it. by pmz · · Score: 5, Insightful

      Why in Gods name would anyone use a proven insecure operating system as the base for a series of teller machines?

      Because their executives are idiots and their engineers are sheep.

    4. Re:Diebold spins it. by austad · · Score: 5, Interesting

      Most Diebold ATM's run OS/2. But there's a push from some banks for them to install windows on them, even though the banks don't manage them. I used to work for a company that had ATM's with Diebold, and the engineer I talked to was unhappy that they were putting windows on them, but it's customer demand. It's simply some jackass that works for a bank and thinking they should run windows, when he has no idea how an ATM even works.

      As far as VPN's go, for the most part, the ATM's either dial up, or are connected to a LAN that has some sort of WAN connection back to its respective bank. I don't know of any that use VPN's, although it is entirely possible. Keep in mind that Diebold simply provides the machines and fixes them when they break, it's up to the bank or whoever to provide the connectivity and other supporting servers/equipment.

      --
      Need Free Juniper/NetScreen Support? JuniperForum
  2. False sense of security still in effect by RobertB-DC · · Score: 4, Insightful

    From the article:
    "The actual point of service terminal itself getting infected-- that's pretty crazy," said [Windows expert Marc] Maiffret. "But worms are always going to be able to infect a lot more interesting machines than individual intruders are." Moreover, before reaching an ATM network, a human attacker would likely encounter more alluring high-finance targets along the way. "They're going to have to go through a lot of juicer networks first."

    Oh, yeah, that's crazy. As I recall, we discussed this very issue in a previous Slashdot story, and all the experts told us mere geeks that we were ignorant and stupid to even worry about it. Some of the most choice comments came in reply to my own post on the subject.

    Now, even *after* a worm has found its way into an ATM, the "Windows Experts" say there's *still* nothing to worry about.

    Well, ok... I'm not going to worry about my own personal finances, because I'll just ask the bank to reverse any bogus transactions. But if/when some savvy hacker does figure out how to infiltrate an ATM and walks away with a few hundred bucks, someone's going to come up short on their books at the end of the day...

    --
    Stressed? Me? Of course not. Stress is what a rubber band feels before it breaks, silly.
    1. Re:False sense of security still in effect by Angstroem · · Score: 5, Insightful
      I still don't see any reason why a ATM machine must run a bloated operating system. That thing needs:

      (1) A display driver; any text console is sufficient, but if the banks prefer to show logos and useless graphics, fine, make it a simple framebuffer device.

      (2) A rudimentary keyboard controller; any 4x4 matrix will easily do the job. Make it 8x8 and you have more keys you'll ever need.

      (3) Some additional hardware controls to perform currency selection and output, and receipt printing.

      (4) A network driver to hook the ATM machine into the banking network plus the relevant service applications including mandatory security services. Shouldn't be much different from setting up credit card terminals, BTDT.

      So why does anyone need anything like a striped down consumer OS, no matter if it is Windows Embedded or some embedded Linux for that?

      But if I decide to use it, then I better hurry and apply any goddamn bugfix meant to close wide-open security holes. Plus, I keep my networks strictly separated and eventual gateway points heavily firewalled. How could Nachi enter the money transfer network anyway?

      Somebody obviously did not make their homework, both on ATM and network infrastructure design.

    2. Re:False sense of security still in effect by jrumney · · Score: 4, Informative
      So why does anyone need anything like a striped down consumer OS, no matter if it is Windows Embedded or some embedded Linux for that?

      Because it is a lot easier to develop the software if it can be debugged on the developer's PC. Most embedded OS's have been based on POSIX or stripped down Win32 APIs for years now (QNX and Paradigm being two examples I've personally used over 5 years ago).

    3. Re:False sense of security still in effect by alfredw · · Score: 4, Informative

      A number of ATMs also run a stripped-down version of OS/2. Thank god. Unfortunately, Microsoft is pushing vendors to move to Windows as IBM is soon to discontinue OS/2 support.

      --
      In Soviet Russia, sig types you!
    4. Re:False sense of security still in effect by RealProgrammer · · Score: 5, Insightful
      A virus like this bypasses zero levels of account security.

      What color is the sky in your world?

      This worm was caught because it wasn't expecting to be on an ATM. It thought it was on just another XP box on some network and started scanning. Suppose the next worm is patient, stealthily looking for ATMs?

      Malignant code could potentially monitor any device I/O it wanted. How about grabbing the bits on your ATM card swipe and saving them in an arrary with the PIN you just typed? No need to decipher anything, just send a day's worth in a batch and self-destruct.

      The attacker can then recreate your ATM card from the bits on the stripe.

      You're right, we're still safe.

      --
      sigs, as if you care.
  3. Just goes to show.. by iantri · · Score: 5, Insightful
    I think this just goes to show that consumer operating systems are a bad idea to put on important machines that need to be reliable.

    I'd think QNX or something else very simple and reliable would be a much better choice to rnu on ATM machines..

    1. Re:Just goes to show.. by psyconaut · · Score: 5, Funny

      Ahhh....but if you used a proper embedded operating system for an embedded device, you wouldn't be able to hire programmers who have completed a 6-week Visial Basic/.NET programming course at their local community college to write your business critical applications ;-)

      -psy

  4. And this company... by j0keralpha · · Score: 4, Interesting

    Wants us to trust them to run our electorate system? Lets face it, this was a VERY easily preventable oversight. These machines should have survived without patching by installing a rudimentary port blocker of some form. There is no reason RPC should be exposed by an ATM. If they are leaving ATMs wide open, i dont know how we're supposed to expect their Voting Machines to work.

  5. Diebold with the voting machines by ACK!! · · Score: 4, Interesting

    The CEO said that he would do whatever he can to deliver Ohio or some place to Bush.

    The same people that build machines with no paper trail for vote auditing.

    They also do not patch their ATMs.

    This really gives me confidence for the upcoming elections.

    --
    ACK /ak/ interj. 2. [from the comic strip "Bloom County"] An exclamation of surprised disgust, esp. i
  6. They need a new BIOS by RealProgrammer · · Score: 4, Funny

    A new, secure, manageable BIOSwould fix their problem.

    It's really Phoenix's fault.

    --
    sigs, as if you care.
  7. Someone's going to come up short... by abb3w · · Score: 5, Insightful

    The customers at large will; it will most likely be reflected in higher account/ATM fees. Banks will likely pass on the cost of theft just like merchants do the cost of shoplifting. Which sucks for the honest folk out there... all seventy-two of them.

    --
    //Information does not want to be free; it wants to breed.
  8. Diebold ATM (in)Security by Anonymous Coward · · Score: 5, Informative

    My company provides vulnerability assessment and penetration testing services to financial services clients and we crack these things all the time.

    The old ones run OS/2 v3.0 and a vulnerable version of sendmail, the slightly newer ones run Windows NT 4.0, with almost no patches installed and a default username and password.

    Once you gain access, it is possible to directly control the hardware using the utilities already on the system, including dumping the cash drawer :) The latest ones run either Windows 2000 or Windows XP, and have almost the same software as the Windows NT systems, just with more vulnerabilities.

    At this point Diebold has not patched ANY of the RPC vulnerabilities, let alone the Messenger or Workstation bugs. Each of these ATM's is connected to an ethernet segment somewhere waiting for someone to rob it.

    During the Blaster peak, a friend of mine was talking about the XP ATM's in London constantly rebooting... They put these cmd-shell-waiting-to-happen boxes directly on the Internet. Thank god for companies like Diebold and Microsoft, their problems created a market and a community that is still picking up steam.

  9. It's rediculous. by Short+Circuit · · Score: 4, Insightful

    Every company makes mistakes. Running Windows XP is a mistake a lot of companies and people make.

    The reason this is Slashdotworthy is that it is the same Diebold. The people who submit stories are hostile towards Diebold, and it's only to be expected that some of those hostile stories would make it through.

    I'm sure a lot more vital-service machines than just those built by Diebold were hit. A story on the range of systems, maybe with ATMs as a highlight, would have been more appropriate.

    Not ranting at you, just wasting karma, that's all.

  10. RPC vulnerability by UnknowingFool · · Score: 4, Interesting

    I am not a Windows Expert, but why is RPC important in an ATM? Is this something in embedded XP that should be disabled for certain applications like ATMs? If RPC should have been turned off then it's also the fault of Diebold not to configure the machines properly and MS for leaving it enabled by default.

    --
    Well, there's spam egg sausage and spam, that's not got much spam in it.
    1. Re:RPC vulnerability by kobaz · · Score: 5, Informative

      I am no windows expert here. But I tried disabeling as many services as possible for a win2k server i built for someone. When I disabled RPC and rebooted, the machine no longer functioned. Apartently RPC is a critical service that needs to be running in order for windows to function properly.

      I had to boot up in safe mode and do some registry hacking to get RPC back up and running, because everything from windows explorer to control panel, to msie would fail to load. After managed to turn RPC back on, the machine worked "perfectly". As perfect as a windows machine can operate, hah.

      --

      The goal of computer science is to build something that will last at least until we've finished building it.
  11. Re:Propogation by Petronius · · Score: 4, Funny

    This means that after each 'correct' vote, the voting machine wires $20 to your bank account.

    --
    there's no place like ~
  12. That explains it by Anonymous Coward · · Score: 5, Funny

    I remember thinking how weird it was to have my ATM suggest an exclusive opportunity to increase the length of my penis.

  13. Just lame by GillBates0 · · Score: 5, Insightful
    "But worms are always going to be able to infect a lot more interesting machines than individual intruders are." Moreover, before reaching an ATM network, a human attacker would likely encounter more alluring high-finance targets along the way. "They're going to have to go through a lot of juicer networks first."

    Just the fact that ATM machines are reachable from the public Internet is a huge cause of concern to me. A VPN connection without an intervening firewall at the ATM machine itself (which they claim they are installing now) is plain ridiculous.

    You are then just hoping that none of the insiders will try to sabotage the machines, either knowingly, or unknowingly because of an infected laptop etc. They have to realize that VPN is a VIRTUAL PRIVATE network, and NOT a dedicated line, and hence, security measures have to be MUCH more stronger than if it was a REAL private connection. Does it take rocket science to figure that out?

    And then there's that quote from the " Windows expert and "chief hacking officer" that malocious hackers will probably not go for ATM machines, even though they are reachable/hackable, because of other "jucier targets", presumably the bank network itself. Most malicious hackers would do it just for the fun of making an ATM machine spew out cash, if they figure out they can make it do that. That is a very lame assumption from a security expert.

    And finally, for your reading convenience, here's an earlier /. story which mentions that 65% of the ATMs will be running a stripped down version of Windows by 2005.

    --
    An Indian-American Hindu committed to non-violent thought/speech/action alarmed by the global explosion of radical Islam
  14. DHCP errors by jbrw · · Score: 4, Interesting

    Around about this time I saw an ATM in Mayfair, London, with a windows error message in the middle of the screen. It was complaining that a DHCP server couldn't be found, and was happily waiting for someone to come along and click on the OK button.

    Mashing the keypad didn't seem to help. I guess sooner or later they would have realised the ATM had disappeared and would have sent a tech out to press reset or something.

  15. What impact to ATMs, other than going offline? by Slider451 · · Score: 5, Informative

    There's no personal data stored in an ATM. It's just a dumb terminal.

    And Nachi basically makes the machine unusable.

    Without specific code that target's ATMs, this is merely a generic nuisance that happened to hit what some consider a sensitive device.

    Scary when you think what could happen, and frustrating when you think of the loss of trust in the security admins. But let's keep this in perspective. Nothing serious happened and it's a big step to get to where something serious will happen.

    Hopefully those responsible have been sacked, and the new security llamas won't make the same mistakes.

    --
    Nostalgia isn't what it used to be.
  16. Diebold incompetence, not Windows by SuperBanana · · Score: 4, Interesting
    The same Diebold that has grossly insecure voting machines [slashdot.org]?

    Funny- I was just at the ATM today, and I glanced down and saw the Diebold tag. They're pieces of crap- barely a few years old, nobody cleans them, the screens are dim and usually require breaking your finger- and they're SLOW as molassis. Slow as in "I have only three or four things I can do but it still takes me a minute to give you cash"- and it can't all be explained away by network latency. Things like the machine sitting there locked up for 20 seconds or more after the last person leaves, before it will unlock the card slot. What is it doing, debating the meaning of life? It's a fucking ATM machine. It makes you wonder if the whole thing is written in really, really bad VB...or maybe Flash.

    In any case- I agree with the parent. I could care less what the thing runs, as long as they're competent. The voting machines demonstrated that they're completely incompetent. This just goes to show that our suspicion that they're -also- probably incompetent at making secure ATMs.

  17. Re:They wouldn't be allowed to patch it anyways by Valar · · Score: 5, Funny

    We have a new record! Someone didn't even make it all the way through the article TITLE. First, it was rtfa (the linked article). Then it was rtfa (the slashdot article). Now do we need to go to rtft (read the fucking title)? The article is about diebold ATMs, not voting machines.

  18. Why does an ATM need XP? by corebreech · · Score: 4, Insightful

    We're talking about a dumb terminal here, aren't we? Let the user login with his card, enter a passcode, then enter input which gets sent to a server somewhere to be processed and which sends back either output to be displayed to the user or output to be read by the machine which gives you your money.

    The same criticism applies to Diebold's voting machines.

    This is why Linux would be such an ideal solution. No application of Linux has impressed me more than the (now sadly defunct) Linux Router Project, simply because it demonstrated how for many tasks most of the operating system amounted to nothing more than ballast. They were able to boot a router from a floppy.

    This is how I think an ATM--or a voting machine--should work. The amount of software should be kept to an absolute minimum if for no other reason than that it minimizes complexity, and in these kinds of applications, complexity is the mother of all evil.

    And in the case of the voting machines, it would also greatly assist in auditing the code and making sure that what you think is executing is what's executing.

  19. Embedded XP? What were they thinking? by Cajun+Hell · · Score: 5, Interesting
    WTF goes through somebody's head when they decide to use MS Windows for an embedded project?!

    Windows' strength, pretty much its only strength, is legacy compatability. But an ATM doesn't need to run Excel or some 8-year-old custom Visual Basic application that an irresponsible manager got the company locked into. Really, it's ok to use decent software for embedded projects, nothing should hold you back.

    Using Windows in an ATM, sounds like a classic application of the saying: "When the only tool you have is a hammer, every problem looks like a nail."

    --
    "Believe me!" -- Donald Trump
  20. How do we know? by mcc · · Score: 4, Insightful

    Without specific code that target's ATMs, this is merely a generic nuisance that happened to hit what some consider a sensitive device. ...
    Scary when you think what could happen, and frustrating when you think of the loss of trust in the security admins. But let's keep this in perspective. Nothing serious happened and it's a big step to get to where something serious will happen


    How do you know something serious didn't happen?

    So the Nachi worm hit these machines, and its big and obvious, and it breaks the machines. But the Nachi worm moves by brute force; it hit these ATMs by accident. How do we know that during the time before the ATMs were hit, someone with actual, targetted, malicious intent didn't at some point hit a few of the ATMs using the same exploit Nachi did?

    If someone doing it on purpose had hit the ATMs, they could have done something much more subtle. Something that wouldn't have been noticed the way the Nachi worm was, something that (given how unconcerned everyone seems about this) probably wouldn't be noticed at all, even after the Nachi incident. Something like a small patch to the ATM UI that quietly records the ATM card number, personal information, and PIN# of everyone who uses that ATM, then quietly dumps that somewhere on the internet later. It wouldn't be that difficult, and the Nachi thing simply proves its possible.

    It's not a big step at all to get to the point where something serious could happen. It's barely even a step at all, as it's just a step of exactly the distance between a worm hitting an ATM at random and someone with a little bit of intent, knowledge, and time sitting down and deciding they're going to hack an ATM.

  21. Greer, Pfleeger, Schneier et. al. were right ... by JonKatzIsAnIdiot · · Score: 4, Insightful

    Greer, Pfleeger, Schneier, Metzger and the rest of the contributing authors of CyberInsecurity: The Cost of Monopoly were right. This incident proves it . The most likely source of the infection is an infected laptop being plugged into the protected network. Had the ATM's been running a different operating system - even the ancient OS/2 - they would not have been infected.

    It is also very interesting to note that they only found the worm because the infected machines tripped the IDS with excessive network traffic. From this we can infer:
    1. A worm that was less aggressive with it's scans would probably not have been detected and could possibly still be operating today.
    2. They probably don't have any host-based intrusion detection systems in place. No automated file integrity checking, no authorized process lists.

    It's a good thing for us that the worm and virus writers (thus far) have been gifted programmers, but otherwise dumber than a bag of hammers. A well-written subtle worm could probably cripple most of the developed world.

  22. ATM Horror by h4rm0ny · · Score: 5, Interesting


    A few years ago when I was a naive young UNIX programmer I came to the cash machine and got the firght of my life. There, floating over the blocky PIN login screen was a windows Illegal Error box.

    Up until that moment I had always assumed the cash machines were running some specially written firmware on specially made hardware. This was a massively important and widespread system after all.

    Oh - how young I was.

    --

    Aide-toi, le Ciel t'aidera - Jeanne D'Arc.
    1. Re:ATM Horror by Angst+Badger · · Score: 4, Interesting

      Up until that moment I had always assumed the cash machines were running some specially written firmware on specially made hardware. This was a massively important and widespread system after all.

      I had assumed they were 8-bit machines, probably packing a 6502 or a Z80, with an EEPROM containing all of the necessary code. I made this assumption because that should be enough to handle ATM operations, the actual computing hardware would be cheap and secure, and that block font most of them use is the same as the uppercase-only font on the early Apple II machines.

      I walked up to an ATM this past weekend and saw an OS/2 error window floating over the simulated bitmap font. I was grateful it wasn't Windows, but still...

      --
      Proud member of the Weirdo-American community.
  23. IBM warned 'em by Cybrex · · Score: 5, Informative

    The timing on this is perfect, as I just read an article yesterday (in InfoWeek, I believe) about the effect of IBM's plan to discontinue OS/2 support on ATM manufacturers. The article was a couple of months old, but focused on them suggesting that financial institutions migrate their ATMs to Linux instead of Windows. It seems that the big ATM manufacturers (including Diebold, which featured heavily in the article) are leaning heavily toward Windows despite IBM's recommendation that they go with Linux. Their attitude is that they're running Windows on the back end, so they want it in the ATMs as well.

    Well, now they're getting what they wanted, and I doubt that they'll learn from this. Large banks seem to have a monolithic mindset that's averse to anything new. They're also decidedly pro-Microsoft.

    IBM offers some very effective solutions for integrating Linux-based ATMs with both UNIX and Windows-based back end systems. That companies like Diebold insist on going with insecure, unstable (I've seen an ATM stuck with a BSOD!) software for such sensitive systems is asinine.

    -Cybrex

    --
    Boundless Expansion, Self-Transformation, Dynamic Optimism, Intelligent Technology, Spontaneous Order- BEST DO IT SO!