Why it’s so easy to make ATMs obey hacker commands
By Digital News Asia April 28, 2016
- Outdated software, network configuration errors, no physical security
- Some measures can be taken, but ATM makers not doing this correctly
ALMOST any ATM (automated teller machine) in the world can be illegally accessed or ‘jackpotted’ – where the machines are tricked into paying out money – with or without the help of malware, according to research conducted by Kaspersky Lab.
This is because of the widespread use of outdated and insecure software, mistakes in network configuration, and a lack of physical security for critical parts of the ATM, the company said in a statement.
For many years, the biggest threat to the customers and owners of ATMs were skimmers, special devices attached to an ATM in order to steal data from bank card magnetic stripes (magstripes).
But as malicious techniques have evolved, ATMs have been exposed to more danger. In 2014, Kaspersky Lab researchers discovered Tyupkin, one of the first widely known examples of malware for ATMs.
And in 2015, company experts uncovered the Carbanak gang, which among other things, was capable of jackpotting ATMs through compromised banking infrastructure.
Both examples of attacks were possible due to the exploitation of several common weaknesses in ATM technology and in the infrastructure that supports them, Kaspersky Lab said in its statement.
This is only the tip of the iceberg, it added.
In an effort to map all ATM security issues, Kaspersky Lab said its penetration testing specialists have conducted research based on the investigation of real attacks and on the results of ATM security assessments for several international banks.
Via the research, these experts demonstrated that malware attacks against ATMs are possible due to two main security issues – one cyber, the other physical:
READ ALSO: Mission Impossible? Bridging the cyber-physical divide in security
1) Software problems
All ATMs are PCs running on very old versions of operation systems such as Windows XP. This makes them vulnerable to infection with PC malware and attack via exploits.
In the vast majority of cases, the special software that allows the ATM’s PC to interact with banking infrastructure and hardware units, processing cash and credit cards, is based on the XFS standard.
This a rather old and insecure technology specification, originally created to standardise ATM software, so that it can work on any equipment regardless of manufacturer, Kaspersky Lab said.
The problem is that XFS specification requires no authorisation for the commands it processes, meaning that any app installed or launched on the ATM can issue commands to any other ATM hardware unit, including the card reader and cash dispenser.
Should malware successfully infect an ATM, it receives almost unlimited capabilities in terms of control over that ATM.
It can turn the PIN (personal identification number) pad and card reader into a ‘native’ skimmer or just give away all the money stored in the ATM, upon a command from its hacker.
In many cases observed by Kaspersky Lab researchers, criminals do not have to use malware to infect the ATM or the network of the bank it’s attached to.
This is possible because of the lack of physical security for the ATMs themselves, a very common issue for these devices, the company said.
Very often, ATMs are constructed and installed in a way that means a third-party can easily gain access to the PC inside the ATM, or to the network cable connecting the machine to the Internet.
By gaining even partial physical access to the ATM, criminals potentially can:
- Install a specially programmed microcomputer (a so called black box) inside the ATM, which will give attackers remote access to the ATM; and
- Reconnect the ATM to a rogue processing centre
A fake processing centre is software that processes payment data and is identical to the bank’s software, despite the fact that it does not belong to the bank.
Once the ATM is reconnected to a fake processing centre, attackers can issue any command they want. And the ATM will obey.
The connection between ATMs and the processing centre can be protected in various ways. However, these measures are not often implemented. When they are, they are often misconfigured and even vulnerable, something that might only be discovered during an ATM security assessment.
As a result, criminals do not have to manipulate the hardware, they just exploit insecurities in the network communication between the ATM and the banking infrastructure.
How to stop ATM jackpotting
“The results of our research show that even though vendors are now trying to develop ATMs with strong security features, many banks are still using old insecure models and this makes them unprepared for criminals actively challenging the security of these devices,” said Olga Kochetova (pic), a security expert at Kaspersky Lab’s Penetration Testing department.
“From our perspective, this is the result of a longtime misbelief, that cybercriminals are only interested in cyberattacks against Internet banking.
“They are interested in these attacks, but also increasingly see the value in exploiting ATM vulnerabilities, because direct attacks against such devices significantly shorten their route to real money,” she added.
Although the security issues listed above most probably affect a lot of ATMs around the world, it does not mean that the situation cannot be fixed, Kaspersky Lab said.
ATM manufacturers can reduce the risk of attack on cash machines by applying the following measures:
- Firstly, it is necessary to revise the XFS standard with an emphasis on safety, and introduce two-factor authentication (2FA) between devices and legitimate software. This will help reduce the likelihood of unauthorised money withdrawals using trojans and attackers gaining direct control over ATM units;
- Secondly, it is necessary to implement ‘authenticated dispensing’ to exclude the possibility of attacks via fake processing centres;
- Thirdly, it is necessary to implement cryptographic protection and integrity control over the data transmitted between all hardware units and the PCs inside ATMs.
For more, read Kochetova’s blog post at SecureList.com.
ATM hack a global issue: Interpol and Kaspersky Lab
Singapore a ripe target for cyberthreats and banking trojans
NCR brings ATM banking to the cloud with Kalpana
For more technology news and the latest updates, follow us on Twitter, LinkedIn or Like us on Facebook.