News for hackers. Stuff that matters.
Re:‘Jackpotting’ Attacks Hit U.S. ATMs by ilikeATMs on Sunday January 28, 2018 @02:36AM (#16250297)
If you ever open up an ATM you'll realise that the majority of things are controlled by serial interfaces (upto 6 of them) for all the motors and pneumatic hardware. If the operating system becomes hardened enough, you'll eventually have people interface with the serial ports directly to manipulate the cash-drawers directly.

I'm not sure why this hasn't really been done in practice but it shouldn't be to difficult to figure out how to do correctly.

In most ATM's the computer hardware and interface connectors are also all housed in the top (mostly plastic or low-quality cast metal) shrouds (as opposed to the currency locked in a safe). Traditionally wafer locks were also used to secure this section however they are slowly migrating to higher security locks like Abloys.

ATM manufacturers may want to take a look at slot machine manufacturers for clues on how to harden machines against tampering.

Re:‘Jackpotting’ Attacks Hit U.S. ATMs by xg15 on Sunday January 28, 2018 @05:12AM (#16250662)
Somehow I'm not surprised that hardening is a higher priority for slot machines than for ATMs...
Re:‘Jackpotting’ Attacks Hit U.S. ATMs by mcny on Sunday January 28, 2018 @06:58AM (#16250917)
I've read (though have no first hand experience) that slot machines have better security and better vetting than electronic voting machines do so I'm not surprised either.
Re:‘Jackpotting’ Attacks Hit U.S. ATMs by EvanAnderson on Sunday January 28, 2018 @07:07AM (#16250943)
In Nevada the source code for gaming devices is required to be provided to the state gaming commission.

(c) In the case of a gaming device, a copy of all executable software, including data and graphic information, and a copy of all source code for programs that cannot be reasonably demonstrated to have any use other than in a gaming device, submitted on electronically readable, unalterable media;

http://gaming.nv.gov/modules/showdocument.aspx?documentid=29...

Re:‘Jackpotting’ Attacks Hit U.S. ATMs by xg15 on Sunday January 28, 2018 @07:32AM (#16251005)
But only for "programs that cannot be reasonably demonstrated to have any use other than in a gaming device".

Makes one imagine what kind of political trench wars probably went on behind the scenes about this regulation.

Edit: On second thought, this seems awfully easy to circumvent. What stops me from making a rigged PRNG and then refusing to make the source code available on the grounds that there are lots of non-gambling applications for PRNGs?

Re:‘Jackpotting’ Attacks Hit U.S. ATMs by da_chicken on Sunday January 28, 2018 @09:23AM (#16251389)
The gaming commission also regulates how much each machine must pay out over a given period with a given take. Any machine not in compliance is removed, and the casino can be fined. Continued non-compliance can result in the termination of the casino gaming license.

This was true even before electronic slot machines.

Re:‘Jackpotting’ Attacks Hit U.S. ATMs by xg15 on Sunday January 28, 2018 @10:42AM (#16251693)
Sounds better but still defeatable. I could track individual players throughout the casino (which is already common practice, I think) and decide on payout depending on how much money I already made through them.

E.g., if someone already dumped a lot of money into other games, I can give them above-average odds of winning and be sure I still make a profit (and they make a loss), otherwise I'll give them below-average odds.

If I tune this right, the average outcome over all players will still look "fair".

Or I simply give the above-average play sessions to strawmen.

Re:‘Jackpotting’ Attacks Hit U.S. ATMs by jacquesm on Sunday January 28, 2018 @12:30PM (#16252166)
Except that that is not allowed. It's individual machines tested in isolation that should perform exactly as legally mandated. The only kind of remote interaction there is is logging to make sure they can prove that the machine performed as advertised and to know when to empty the coin box.
Re:‘Jackpotting’ Attacks Hit U.S. ATMs by fjsolwmv on Sunday January 28, 2018 @12:53PM (#16252319)
Modern slot machines don't use just local rngs, they essentially obtain lottery tickets from a central computer. That's how you get building-wide jackpots.
Re:‘Jackpotting’ Attacks Hit U.S. ATMs by xg15 on Sunday January 28, 2018 @02:23PM (#16252910)
But that's the point. If the provision lets me withhold part of the source code from inspection, there is no way to actually verify that I don't do that.

I could hide the above manipulations in some component I don't have to expose and have the machine play nice under testing conditions. (See certain automakers for examples)

Re:‘Jackpotting’ Attacks Hit U.S. ATMs by ilikeATMs on Sunday January 28, 2018 @05:41PM (#16254026)
You could make a rigged PRNG but the front-end software of the system (different applications) have to display extremely detailed statistics on every function and variable (payouts, money in, number of wins, probabilities etc) and that code will have to be open source. The only upside to interfering with the PRNG would be being able to predict the winning moves based on whats on-screen (assuming whats on-screen is derived from the PRNG).
Re:‘Jackpotting’ Attacks Hit U.S. ATMs by matt_the_bass on Sunday January 28, 2018 @09:05AM (#16251334)
What’s a PRNG?
Re:‘Jackpotting’ Attacks Hit U.S. ATMs by da_chicken on Sunday January 28, 2018 @09:23AM (#16251391)
Pseudo random number generator.
Re:‘Jackpotting’ Attacks Hit U.S. ATMs by matt_the_bass on Sunday January 28, 2018 @02:56PM (#16253106)
Oh. Thanks. That seems obvious to me now. :)
Re:‘Jackpotting’ Attacks Hit U.S. ATMs by mikeash on Sunday January 28, 2018 @07:45AM (#16251052)
Voting machines have atrocious security. ATM levels of security would be a huge step up for them.
Re:‘Jackpotting’ Attacks Hit U.S. ATMs by ilikeATMs on Sunday January 28, 2018 @05:37PM (#16254008)
The actual slot machines themselves are unexpectedly secure. But the back-end environment is usually a total mess. The aim of the admins is to make sure no-one gets to the back-end environment and that's achieved through heavy use of CCTV and port-security on switches.
Re:‘Jackpotting’ Attacks Hit U.S. ATMs by IntronExon on Sunday January 28, 2018 @01:15PM (#16252432)
They also tend to exist in the context of massive surveillance and security efforts by casinos.
Re:‘Jackpotting’ Attacks Hit U.S. ATMs by coding123 on Sunday January 28, 2018 @01:23PM (#16252483)
I remember like 20 years ago on the internet there was a lot of cool video/audio tech always being created and it was funny because it didn't really make sense at the time given bandwidth - but everyone joked it was the porn industry pushing all that money/development (fk, even my dad said that once - ok ok I think I turned out ok). It's funny how we get where we get.
Re:‘Jackpotting’ Attacks Hit U.S. ATMs by colejohnson66 on Sunday January 28, 2018 @05:11AM (#16250657)
Don’t some ATMs spray ink on the bills if they detect tampering?
Re:‘Jackpotting’ Attacks Hit U.S. ATMs by jutaz on Sunday January 28, 2018 @06:31AM (#16250850)
They do, if they detect tampering to the currency safe. However I'm not sure if they are really equipped to detect tampering to electronics.
Re:‘Jackpotting’ Attacks Hit U.S. ATMs by sitkack on Sunday January 28, 2018 @07:07AM (#16250944)
There are easily multiple locks that could be put in place internally.

Encrypt the signal from the host to cash dispenser, have a debugger process that is connected to the host process that also stores the encryption keys and or talks to an HSM. Mitigates tampering of a live system, makes flashing new firmware problematic.

Physically limit the cash dispenser from outputting k bills over n seconds. Have those limits be session based, again signaled by main host process. Would require a full login/logout cycle for k bills.

Most likely, the systems are left wide open internally to ease development and mask bugs.

My ending blanket statement is that finance people know how to be cheap, they can optimize along one axis, replacing a 5$ with a 2$ part, but the really good ones optimize the whole system over a long time horizon.

Re:‘Jackpotting’ Attacks Hit U.S. ATMs by bardworx on Sunday January 28, 2018 @09:09AM (#16251348)
Your comment is coming from a good place but it’s rooted in ignorance. Most ATM machines are made by NCR and not financial institutions. Majority are also quite old (runnning windows XP old).

NCR is focused on profits not security, even though they sell POS (point of sale), ATM machines, and airport kiosks.

From my personal dealings with NCR, I can confirm that they care very little for security, regardless of what their corporate line.

To put this in perspective: if you go to a grocery store, restaurant, or quick service (fast food) establishment and use a credit card then your full account number, name, and exp is recorded in their system. This information is accessible by anyone with store level admin (not windows admin, but think a manager with manager card).

This violates PCI but hey, fuck PCI, hard sending the system takes resources and who wants to do that?

On HN, folks keep talking about security and other such nonsense, however, anyone who has seen the other side isn’t very optimistic. Between ease of use, profit margins, and no pushback on insecure systems, all loses are just write offs.

Re:‘Jackpotting’ Attacks Hit U.S. ATMs by imglorp on Sunday January 28, 2018 @10:20AM (#16251606)
On a less concrete note, my bank switched from Diebold to NCR and the difference is very apparent to the ATM user. The design is overall clean and bright, and it's much faster. The Diebold has long UI pauses for no apparent reason where the NCR seems not.
Re:‘Jackpotting’ Attacks Hit U.S. ATMs by prklmn on Sunday January 28, 2018 @11:46AM (#16251976)
Their losses are just write offs...until they aren't, and something major happens. Maybe it will take a company completely going out of business due to poor security standards for others to wake up.
Re:‘Jackpotting’ Attacks Hit U.S. ATMs by jacquesm on Sunday January 28, 2018 @12:31PM (#16252177)
Cough. Equifax.
Re:‘Jackpotting’ Attacks Hit U.S. ATMs by ak47-1984 on Sunday January 28, 2018 @11:28AM (#16251898)
As one of the engineers initially responsible for achieving PCI compliance on these ATMs, this isn’t strictly true - of course it needs to know your account info, but it’s sent to your bank - it’s not stored on the machine at all - certain digits of your card number are written to a paper log but it’s never written in full - can’t speak for POS machines, but would imagine it’s the same
Re:‘Jackpotting’ Attacks Hit U.S. ATMs by bardworx on Sunday January 28, 2018 @02:38PM (#16253011)
Unfortunately, POS is not the same. I’ve worked with NCR (Aloha) POS for 5 years. Can’t speak for ATM machines.

Plain text ... and before two years ago, they also had regional master passwords. As in one password for all systems sold by a particular reseller.

Re:‘Jackpotting’ Attacks Hit U.S. ATMs by lawl on Sunday January 28, 2018 @11:31AM (#16251917)
They should probably hire some people from microsoft's xbox department, or sony's playstation department.

A lot of money has gone into locking this hardware down, and I think for the xbox 360, which was released in 2005(!) there is still only one hack they couldn't solve with a software update, and that's soldering to the CPU and glitching it on a specific compare instruction.

I would bet, this "sophisticated malware" is a lot more trivial than glitching the CPU on one specific intruction and having to take a soldering iron to the ATM, then fiddling trying to get the timing exactly right.

Building a chain of trust and authenticate commands to the cash dispenser really shouldn't be an issue.

Really, just put a fucking xbox in these ATMs. Lots of people attacking those while being able to do whatever they want to the hardware with limited to no success. (I don't think anyone has managed to open up the xbox one?)

Re:‘Jackpotting’ Attacks Hit U.S. ATMs by ilikeATMs on Sunday January 28, 2018 @06:03PM (#16254128)
The problem with hardware lockdown is that at the end of the day x-boxes and PlayStations are only interacting with a screen to display media.

ATMs on the other hand are designed to interact with physical hardware that sucks money up and spits it out. Locking down the operating system is easy, but if the hardware is controlled by serial interfaces then you've got a weak point there unless the serial interfaces are encrypted (spoiler, they are not!). To encrypt them you'd need to put something at the OS side and something at the hardware (pneumatics/motors) side and ensure they aren't accessible (ie, located inside the safe part of the ATM). Its not impossible to do, but I somehow doubt they'll do it anyway.

Re:‘Jackpotting’ Attacks Hit U.S. ATMs by lawl on Sunday January 28, 2018 @06:15PM (#16254187)
> Locking down the operating system is easy

No, it's not. Look at pretty much every console ever made except for the xbox 360/one.

> unless the serial interfaces are encrypted (spoiler, they are not!)

Yeah and that's obviously a problem. Nitpick though, the interface doesn't need to be encrypted, messages just need to be authenticated. Confidentiality of these messages isn't really important since you'll see the cash comming out, and you actually probably need some kind of challenge/response protocol to avoid replay attacks.

But you want them authenticated by a key that is very difficult to get out of the thing controlling the cash dispenser/serial/whatever. Which is why I said put a gaming console inthere, millions of dollars have already been spent, and are still being spent making sure nobody is getting secret keys out of them, even with full access to the hardware.

> To encrypt them you'd need to put something at the OS side and something at the hardware (pneumatics/motors) side and ensure they aren't accessible (ie, located inside the safe part of the ATM). Its not impossible to do, but I somehow doubt they'll do it anyway.

Well no, that's the point. You only need to make sure the pneumatics/motors only take authenticated commands, and that nobody can mess with those. For the OS side you piggy back off console security.

Re:‘Jackpotting’ Attacks Hit U.S. ATMs by Cyph0n on Sunday January 28, 2018 @01:12PM (#16252412)
Another field where security is taken very seriously is cable TV boxes. You'd be surprised how much work goes into securing them.
Re:‘Jackpotting’ Attacks Hit U.S. ATMs by kabdib on Sunday January 28, 2018 @11:50AM (#16251993)
Microsoft and Apple have put a lot of thought into the security architectures of their consumer hardware. I've made this exact argument before -- just put the ATM app into a console title. It's the most secure hunk of readily available computing hardware, right off the shelf at Target.

But breaches happen, and lead to lawsuits, and I can just imagine trying to impress a jury about the security of your ATM while the other side cracks jokes about gold coins in Super Mario and speculates about your low Halo ranking.