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."

33 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 lynx_user_abroad · · Score: 2, Insightful
      The answer to this is to make a simple, purpose built program, which is INCAPABLE of running externally introduced code.

      You are mistaken if you believe a machine can be made secure by making the disk read-only.

      Any machine where the code space is shared with the data space can be compromised, if the system can be induced to execute arbitrary (possibly memory-resident-only) data.

      Even a system where the behavior (code) is hard-wired can be compromised if all the possible permutations of the behavior are not completely understood. There are always unforseen circumstances under which perfectly correct behavior can produce unintended consequences.

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

      Then again, there's a difference between not provably perfect and downright incompetent.

      --

      The thing about things we don't know is we often don't know we don't know them.

    4. 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.

  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 brianosaurus · · Score: 2, Insightful

      ATMs run bloated operating systems for the same reasons that certain web browsers can read email. Because it's possible. ;)

      At some point someone thought it would be really cool to have ATMs with 10" color screens and speakers, so it can show commercials while you wait for your mugger.

      They also seem to be moving away from the keypad. I had the unfortunate experience of using a touch-screen ATM the other day. The touchscreen was horribly calibrated (probably due to the thickness of the glass, and it was probably calibrated by someone kneeling in front of it, instead of standing up). I had to poke aroud each button for a while, then eventually gave up and used the keypad below when i could).

      Its probably also driven by companies like Diebold who want to keep selling the latest and greatest machines to the banks. And since usability and security are not driving new sales, they boxes have to look "cooler" to sell.

      --
      blog
    3. 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.
    4. Re:False sense of security still in effect by RevAaron · · Score: 2, Insightful

      There is no reason MS could give you a checkbox that allowed RPC requests to be made within the machine itself, but not accepting them from the outside world. Hell, it may be possible already- and easy enough to enable- with some Windows firewalls.

      Can't always blame MS- blocking external RPC calls is something that can and should be done in a firewall. Granted, MS should ship a firewall with their OSes that does it...

      --

      Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
    5. Re:False sense of security still in effect by Krach42 · · Score: 2, Insightful

      I shouldn't have to run a firewall just to make my computer secure.

      I should be able to decide on what services I want to export to the world, and have them all OFF by default. Then, when I find I need something, the OS interface should prompt me that it's disabled, and that to enable it, I'll have to turn on XYZ service, and what that service provides, and exposes me to.

      --

      I am unamerican, and proud of it!
  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..

  4. Security through obscurity after all? by Alcimedes · · Score: 2, Insightful

    i know everyone always says this is a terrible mindset, but considering how many OS/2 ATM's have been hammered, there might be something to this after all.

    think about the work you'd have to go through to get your hands on OS/2 code to figure out where holes might be.

    then you have to write your own virus. it'll only be aimed specifically at ATM's etc.

    just seems like there's a lot more legwork involved in hitting obscure OS'es.

    instead, if they run XP, someone else grabs the code and distributes it. then another person writes a hack and distributes/releases that.

    the end person in this case just needs to take baby steps off of the great strides of others to get a virus that can hit an ATM. sure obscurity shouldn't be a sole security measure, but it seems it would be relatively effective to me.

    1. Re:Security through obscurity after all? by Greyfox · · Score: 1, Insightful
      For some reason there were never a lot of OS/2 virusses. There may have been one or two but I was into that whole scene and I never heard of any. OS/2 used the advanced ring protection features introduced with the 386 to prevent user-level applications from running low-level hardware instructions. There were some convoluted steps you had to go through to execute those instructions, and they would have made a virus much larger and more complex to write than a comparable MS-DOS virus of the time.

      Now that everyone's on the same with respect to protected mode and all that, OS/2's underlying core should still be pretty secure. These days it's what you build on top of your kernel code that gets you into trouble. I doubt OS/2 will run the latest version of Outlook, but most servers that compile with GCC should be portable to OS/2. So if any of those servers are vulnerable, that would be a potential route of attack for an OS/2 system. Any remaining OS/2 installations are probably running custom-rolled code and not internet services, so even planning an attack out for an OS/2 machine would be a major pain in the ass. Possible, but a pain in the ass.

      --

      I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

  5. Uh-huh... by tekiegreg · · Score: 2, Insightful

    And you want their equipment deciding votes, dear got if you can get a worm on the holy of holies, a cash dispensing machine. I seriously doubt that the next holy machine, a voting machine should be running Diebold systems.

    Seriously people, embedded proprietary operating software (neither XP or Unix or anything widely made public) is the best way to go with these sacred machines. Worms will have a difficult (tho dare I say impossible) time working their way in. So the problems will hopefully be minimal.

    In short I'm afraid, I'm very afraid

    --
    ...in bed
  6. 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.
  7. 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.

  8. Why not? by devross · · Score: 3, Insightful

    Despite the allure of hard cash, don't expect to see a rash of made-for-Hollywood ATM hacks -- machines around the country suddenly spitting out wads of 20s at random, said Marc Maiffret, Windows expert and "chief hacking officer" at California-based eEye Digital Security.

    Hey, why not? Nachi wasn't tailored for ATMs, but it still got a few. Imagine a virus/worm that _was_ meant specificly for ATMs. I bet something like that could achieve a pretty big impact.

    Ah well. Just my $.02

    --


    If these walls could talk they'd probly still ignore me. --MF DOOM
  9. 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
  10. Re:They wouldn't be allowed to patch it anyways by j-turkey · · Score: 2, Insightful
    Not to defend Diebold, but they wouldn't even be allowed to patch the systems.

    I'm with you on this one...which is not to say that I agree with Diebold's business practices. However, it's not Microsoft's fault if some butthead forgot to patch their system -- the same way it's not RedHat's fault if some butthead forgot to patch their system and got owned. How can Diebold be blamed here? It's the eu's responsibility to maintain their system.

    Now I don't know anything about ATM machines and associated contracts...but I assume that responsibility of maintenance either falls into the hands of the owner of the machine, or the bank issuing the cash -- not the manufacturer.

    --Turkey
    --

    -Turkey

  11. 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.

  12. 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.

  13. Re:Diebold incompetence, not Windows by DavidTC · · Score: 2, Insightful
    I know, what the fuck is with ATMs?

    I understand some transactions have to go over the network, and it's not at all obvious when that happens...for example, your PIN is not confirmed when you type it in, it's sent with any tranaction you request, as you will discover if you mistype it. The machine will let you in and you can pretend to do things, and then it will talk to the bank and kick you out.

    But there are things that cannot, under any circumstances, be explained by network delays.

    I do a fast cash, okay? The ATM has to do several things...it sends the request over the network, confirming I am me. This happens in a reasonable amount of time, and I get a nice message on the screen.

    Next the machine does three things: Print a reciept, eject my card, and kick out my money. How the fuck does that part take fifteen seconds? And it's not some poorly designed money sorter, as my money comes out first. Then a five second pause, then it ejects my card, and then a five second pause, and it starts printing.

    It's completely absurd for a computer now. Hell, it would be absurd for a computer 30 years ago.

    It should be starting all those operations at the same time, this is the year 2003, we have multitasking. It should take maybe four seconds total as your receipt prints and the money sorter does its work.

    --
    If corporations are people, aren't stockholders guilty of slavery?
  14. 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.

  15. Re:Embedded XP? What were they thinking? by Anne+Thwacks · · Score: 2, Insightful
    WTF goes through somebody's head when they decide to use MS Windows for an embedded project?!
    Hell, they don't come easier than that:
    phb to techie How quick can you get me a demo of the new embedded project?
    techie to phb I can do you a really crap one in 1 hour with Visual Basic, but we will need to code the proper one in C, and that will take 3 months
    phb to client The system will be ready tomorrow

    --
    Sent from my ASR33 using ASCII
  16. OT: Sendmail by red+floyd · · Score: 2, Insightful

    Yeah, but remember, sendmail was designed in the "good old days", when there were maybe a few hundred hosts, and people on the Net trusted each other!

    --
    The only reason we have the rights we have is that people just like us died to gain those rights. -- Cheerio Boy
  17. Re:Ain't karma a bitch? by TyrranzzX · · Score: 3, Insightful

    Screw linux. I'd rather see the banking companies running something obscure and reliable like a unix variant or some custom software. If I were a bank director I'd invest considerable capital in a decent secure standards based banking system or I'd consider unix before I'd consider linux or windows. My guess is that the banks wanted to implement the systems and new features faster than they cared about customers security which is, from my understanding, not a big deal.

    I guess their system works a lot like las vegases in the sense that if someone steals a million bucks from a casino it leaves a paper trail. They then sick the bounty hunters on you; this system is effective. I remember awhile back someone stole 7 million from a casino in las vegas and 3 days later the car was found by the cops, still running, in the wrong direction facing las vegas.

    Any hacker with sufficient knowledge of these systems isn't going to try to crash them because they will quickly realize that by destroying these systems they're screwing over and creating millions of desperate people, both people who can't access their accounts and companies who can't put out paychecks on time.

    But, the main reason I'm guessing they chose windows was for the features. Windows has lots of features and useless crap and when you hire someone to fix the system you don't have to train them as much. Plus, you get good support from microsoft and nice salesman to walk off the cliff with you.

    I'd feel a bit better if their security was better. When your bank doesn't give a shit if you loose a few hundred dollers, or next months rent, to a hack I think most people have a problem with that and they aren't going to be calling anyone accept the cops to try to catch the person who did it, especially if they continueously do it.

  18. Windows Infected. Oops... I mean Embedded. by halfabee · · Score: 3, Insightful

    We had a similar problem when the Nachi worm got loose on our network... After scurrying about and patching all of our desktops and servers, we still had Nachi hiding out on our network. Every time I built a new computer with an unpatched image, it got infected. In the end, the culprit was an Iomega NAS device (for those who are unfamiliar with it, this is a network storage appliance... think RAID array with a NIC.) We have two on our network. The older one, running FreeBSD kernel, had no problems, but the newer "Windows Powered" unit needed patching. For anyone dealing with this problem, nmap will be your savior. Scan your network and look for machines with TCP port 707 open running an "unknown" service. Those are your infected computers.

    --
    -- Halfabee
  19. diebold, diebold. by Mad+Quacker · · Score: 2, Insightful

    1. Create Nachi variation that makes diebold machines all vote republican (or only a few percent extra), including the paper ticket the voter doesn't see.

    2. Wait

    3. World Domination.

    Don't even need access to the machine, zero accountability, to the paper trail, to diebold, to the republican party, etc.

    Fight it like the plague :)

    --
    "I don't know that atheists should be considered citizens, nor should they be considered patriots." George HW Bush
  20. Re:And this company... by Slime-dogg · · Score: 2, Insightful

    I wonder why they even bother using TCP/IP at all. It would make sense to have some kind of proprietary protocol in this matter, since we don't want to have all the security issues that are present on the net present in the ATM machine.

    ATM machines shouldn't be connected to the internet, which means TCP/IP is optional. This would be security through obscurity at it's finest. Eliminate ports altogether.

    --
    You need to restart your computer. Hold down the Power button for several seconds or press the Restart button.
  21. Re:Diebold incompetence, not Windows by eightheadsofdoom · · Score: 3, Insightful

    atms are equipped with secure IBM-manufactured crypto cards, and check the pin themselves with a complicated algorithm involving the card number and an offset stored on the magnetic stripe

    That doesn't make sense, seeing as I can walk into the bank and have them change my PIN to something mnemonic. Is this stripe getting overwritten each time? Because I know they don't give you a new card to change that PIN...

  22. Proven secure? by kylef · · Score: 2, Insightful
    Yeah yeah mod me down if you must but I'd feel much better having embedded Linux (or some other proven secure system) watching my money thank you.

    When you find a "proven secure" operating system, make sure you let everyone know about it. As of the 25th of November 2003, they are as common as the Unicorn and the Free Lunch. That is to say, they don't exist.

  23. What about voting machines? by Bytesmiths · · Score: 2, Insightful
    Hell, viruses in ATMs are NOTHING! I'm sure CEOs of firms like Enron and Worldcom are much more a threat to the economy.

    What worries me is that Diebold is one of the leading makers of voting machines. Are these machines also subject to such hacking?

    The "Diebold Memos" circulating on the web document the insecurity of their voting machines. Also food for conspiracy theorists: Diebold CEO is a close friend of Dubya, Diebold contributed $300,000 to Dubya's last campaign, and they promised to "deliver Ohio" to Bush in the next election -- a state that has a large majority of Diebold voting machines.