News for hackers. Stuff that matters.
Re:Trojan.Skimer.18 infects ATMs by viraptor on Wednesday December 18, 2013 @10:04AM (#6927829)
I'm still really surprised every time I see a windows-based ATM. Why would a full, general-purpose OS be included in those machines that need to do just under 10 operations?

I know it's easier to deal with it that way, but just to limit the exposed code, it could be based on something much more restricted. If it was small enough, it could even reboot / netboot itself between each operation to prevent any modifications being stored locally.

Re:Trojan.Skimer.18 infects ATMs by jboggan on Wednesday December 18, 2013 @10:43AM (#6928109)
Most of the machines in service were older and running OS/2 which was an awesome system. Some major banks (BoA, Chase, WellsFargo, etc.) ran newer machines that had fancier features like check image recognition. Those meant a move to newer OSes but that was a limited case.

The actual reason OS/2 is gone and all these ATMS are running Windows is because of companies like NCR and Diebold lobbying the government to put new language in the Americans with Disabilities Act [1]. It required every ATM to be capable of text-to-speech translation which the older hardware and OS/2 systems were not capable of (most of the machines I was pulling had 133Mhz processors and less than 64MB of RAM). This meant 1) new hardware sales, 2) new software sales, and 3) selling custom ad campaigns to run on the shiny new color screens and new hardware.

The industry had been stagnant for awhile in hardware and software sales, the deadline of March 15, 2012 was a great shot in the arm for NCR and Diebold. Lest you think this really was about helping people with disabilities, the vast majority of ATMs that I 'upgraded' were drive-through units sitting on concrete pallets in bank parking lots too high or too inconveniently placed for anyone to use unless they were driving in a car. I did get some very positive feedback from the blind and their friends(who knew the IRS employs so many blind folk?) when I installed some of the walk-up units, but the large majority were drive-throughs.

[1] - http://www.americanbanker.com/magazine/121_10/atm-accessibil...

Re:Trojan.Skimer.18 infects ATMs by TheCraiggers on Wednesday December 18, 2013 @01:13PM (#6929295)
Thank you for eliminating the last remnants of hope I had for our system of government. I know lots of people say that nothing is done without a monetary reason, but I still held out hope that at least some legislation was created with entirely benevolent reasons.

Bah.

Re:Trojan.Skimer.18 infects ATMs by nebulasri on Wednesday December 18, 2013 @01:42PM (#6929586)
Welcome to my world :)

I thought in the US, things might work differently though, but it seems just like "the grass is greener on the other side"

Re:Trojan.Skimer.18 infects ATMs by nebulasri on Wednesday December 18, 2013 @01:41PM (#6929572)
Sorry for the curiosity, by "I 'upgraded'", did you mean you were working for NCR/Diebold, or the banks to go upgrade the ATMs?
Re:Trojan.Skimer.18 infects ATMs by jboggan on Thursday December 19, 2013 @12:23PM (#6936103)
The NCR/Diebold techs charge out at 200-300 an hour which regional banks cannot really afford. I was working for a 3rd party servicing company which existed only because of the duopoly's insanely high service rates. We were contracted by the banks to purchase the appropriate amounts of licensed software and then install it on their machines.

One way NCR/Diebold would screw customers is by having the software upgrade process take so effing long. If you wanted to upgrade the software on one of these machines it was multiple CDs with a total boot / reboot / loading time of 5 to 6 hours. I've torn through all the code and programs I could find on those machines while in the shop, there is NOTHING that could possibly be taking that long to load and install. The entire customer interface is an XML config file with a few PNGs and text-to-speech running for selected parts of the XML. (This is also a fun way to hack an ATM to say things like "FEED ME A STRAY CAT"). We really suspected the companies greatly padded the install time to increase their service bills. We got the contracts to upgrade from the regional banks because we would instead build new cages with the correct CPU/RAM/audio spec, preload the software with a bunch of cloned hard drives, swap the cages and then bring the machine back on the network. This was MUCH cheaper than paying the factory technicians.

Don't even get me started on what NCR/Diebold do with the DMCA. They would do things like releasing an identical hardware component (receipt printer, etc.) but with a new driver, and if anyone bought a used component (for about 10% of the new price) and dared to update the driver so it would work with newer machines (which refused to work with the old drivers) they would sue and win.

Re:Trojan.Skimer.18 infects ATMs by mzs on Wednesday December 18, 2013 @02:05PM (#6929760)
It's a bit sad that TTS could not be enabled on 133MHz machines with 64MB of RAM, but that's just how it is now-a-days:

http://en.wikipedia.org/wiki/Software_Automatic_Mouth

Re:Trojan.Skimer.18 infects ATMs by brazzy on Wednesday December 18, 2013 @10:51AM (#6928162)
> I'm still really surprised every time I see a windows-based ATM.

So you're surprised every time you see an ATM? They're all Windows-based (unless there are still some OS/2 ones around, which would not surprise me much).

> Why would a full, general-purpose OS be included in those machines that need to do just under 10 operations?

Among other things: Because the maker of that OS defined an API (XFS, mentioned in the article) to access the custom peripheral hardware used by ATMs.

> but just to limit the exposed code, it could be based on something much more restricted.

What exposed code? These machines aren't connected to the internet, talk only to their own servers, and have a very limited end user interface.

Re:Trojan.Skimer.18 infects ATMs by viraptor on Wednesday December 18, 2013 @11:30AM (#6928465)
> So you're surprised every time you see an ATM?

No. I'm also surprised every time I see people constructing sql queries by joining strings with no escaping. Which also happens all the time.

> What exposed code?

We're commenting on an article about a trojan using dynamic linking to inject itself. Try doing that with code loaded straight from flash which is verified by a separate chip. These machines have a chance to verify their whole code before running... but can't really do that if they're running a general-purpose OS. That's what I mean by exposed code. They should crash/report issue as soon as any modification is made.

Re:Trojan.Skimer.18 infects ATMs by brazzy on Wednesday December 18, 2013 @12:28PM (#6928952)
Yeah, and it would be even safer of the entire functionality of the ATM were implemented as an ASIC. Except that's completely impractical.

My point is that a system's resilence against manipulation is not all that important if the way it is operated affords little or no opportunity for manipulation. Note that the trojan described in the article apparently requires a criminal to be physically present at the machine to harvest the collected information and says nothing about how the machine would get infected. Remote infection (which is impossible for a normally operated ATM) wouldn't be much use when profiting from it requires physical access, so I infection probably also requires physical access to the inside of the machine. That's a worst case security scenario anyway.

Re:Trojan.Skimer.18 infects ATMs by viraptor on Wednesday December 18, 2013 @12:43PM (#6929064)
> Yeah, and it would be even safer of the entire functionality of the ATM were implemented as an ASIC. Except that's completely impractical.

I agree. That's why I haven't even mentioned it. Running from flash and self-verification is already what most payment terminals do. This is not something new.

Re:Trojan.Skimer.18 infects ATMs by brazzy on Wednesday December 18, 2013 @10:58AM (#6928225)
Want to be even more surprised? The UI that you're looking at and interacting with - that's HTML pages being displayed in Internet Explorer.
Re:Trojan.Skimer.18 infects ATMs by jbrooksuk on Wednesday December 18, 2013 @10:26AM (#6928001)
For the same reason that Airports and subways use Windows. Developers.
Re:Trojan.Skimer.18 infects ATMs by bestdayever on Wednesday December 18, 2013 @04:06PM (#6930745)
developers. developers.
Re:Trojan.Skimer.18 infects ATMs by girvo on Wednesday December 18, 2013 @10:27AM (#6928005)
It is based on something more restricted (or, some were, anyway) -- Windows CE. It's a "Build-your-own OS" style thing, you pick the parts of the OS stack you want and build up your ROM. It's kinda cool, though I only ever played with it somewhat illegitimately.

Then there are some ATMs running Windows XP. Which, yes, is really dumb.

Re:Trojan.Skimer.18 infects ATMs by brazzy on Wednesday December 18, 2013 @10:42AM (#6928107)
I used to program ATMS about 10 years back. NONE of them were running Windows CE. It wass all NT and 2000.
Re:Trojan.Skimer.18 infects ATMs by girvo on Friday December 20, 2013 @09:07AM (#6941414)
Oh true? The one that a friend worked for used CE here in Australia, though that was more than 10 years ago now. Fair enough!
Re:Trojan.Skimer.18 infects ATMs by ZoFreX on Wednesday December 18, 2013 @10:45AM (#6928128)
Every ATM I've seen running Windows XP was running Windows XP Embedded. I didn't know about Windows CE being componentized so I looked it up and XP Embedded is the same way, which is something I guess.
Re:Trojan.Skimer.18 infects ATMs by ianhawes on Wednesday December 18, 2013 @10:22AM (#6927968)
They need a full stack OS with TCP/IP, crypto, UI, etc... Plus with Windows they can reuse a lot of their libs which are written in C# or Java.
Re:Trojan.Skimer.18 infects ATMs by viraptor on Wednesday December 18, 2013 @10:28AM (#6928014)
There are full TCP/IP and crypto stacks for pretty much any chip that can support enough IO ports to communicate with a network card. UI is not that difficult to implement if the only thing you need to display is a full screen background with one row of changing text. Even if you want to play movies, this can be offloaded to a GPU and done almost entirely in hardware.

Look at it the other way - the only functional difference between a payment terminal and an ATM is the cash dispenser. Payment terminals implement modems, networking, bluetooth, crypto (actually that's done in hardware anyway, you just talk to a chip), UI on an almost completely custom system - it's being done right now.

Re:Trojan.Skimer.18 infects ATMs by techdragon on Wednesday December 18, 2013 @10:34AM (#6928059)
C# and Java developers are cheap. So fuck security we'll throw more dev sat it.

Signed NCR, Diebold, et al.

Re:Trojan.Skimer.18 infects ATMs by mschuster91 on Wednesday December 18, 2013 @10:52AM (#6928171)
Yet, devs for embedded systems are harder to come by than devs for Windows. Makes initial costs as well as maintenance costs lower.
Re:Trojan.Skimer.18 infects ATMs by anonymfus on Wednesday December 18, 2013 @10:25AM (#6927996)
But why they use outdated consumer oriented versions of Windows? Why they all are XP Home Edition?
Re:Trojan.Skimer.18 infects ATMs by jboggan on Wednesday December 18, 2013 @10:46AM (#6928134)
Because it was probably cheaper that way. The manufacturers are passing the security buck to the banks themselves, and folks who work in banking IT/infrastructure don't generally know enough to understand what these machines do. As long as the cash counts in the cassettes matches up with the receipt at the end of the week no one is worried.
Re:Trojan.Skimer.18 infects ATMs by cbhl on Wednesday December 18, 2013 @11:40AM (#6928551)
Besides, insurance!
Re:Trojan.Skimer.18 infects ATMs by drdaeman on Wednesday December 18, 2013 @10:42AM (#6928102)
I thought Windows-based ATM mostly use XP Embedded, not Home Edition.
Re:Trojan.Skimer.18 infects ATMs by anonymfus on Wednesday December 18, 2013 @10:56AM (#6928205)
May be it is a selection bias, but as unlucky customer I had seen hundreds failed ATMs from various banks on streets and almost all were with XP Home, exceptions were XP Professional, Linux, Windows 98 SE, OS/2 and DOS.

I am from Russia, so corruption may be explanation.

Re:Trojan.Skimer.18 infects ATMs by kalmi10 on Wednesday December 18, 2013 @10:43AM (#6928115)
Why home? Because home editions are cheaper, and they really don't need any extra features of the more pro editions. So in one word: cost