Attacks/Breaches
8/3/2016
08:20 PM
Connect Directly
Twitter
LinkedIn
RSS
E-Mail
50%
50%

Researchers Show How To Steal Payment Card Data From PIN Pads

Attack works even against chip-enabled EMV smartcards.

BLACK HAT USA—Las Vegas—The manner in which many PIN pads used by consumers to pay for purchases and communicate with point-of-sale systems make it very easy for attackers to steal payment card data, researchers warned here this week.

Using a Raspberry Pi with specialized software and a laptop running a POS simulator, researchers Nir Valtman and Patrick Watson of NCR Corp showed how an attacker could intercept communications between a card reader and a POS system and extract sensitive cardholder data from it.

The problem, according to the researchers, has to do with a failure by many payment card readers to properly authenticate the systems with which they communicate and to encrypt data before sending it to POS systems.

When a card is swiped through a PIN pad or other card reader, the device reads data from either the magnetic stripe on the back of the card or the embedded microchip in it in the case of EMV smartcards.

The data is then sent to the POS system either via an Ethernet cable or via a serial port if the card reader is integrated with the POS system. If the payment system is online, as is typically the case, the data then goes to the payment processor for authorization. If the system is offline, the cardholder data is typically stored in encrypted fashion on the payment application server and then sent for processing later.

Regardless of the architecture, or whether the payment system is online or offline, an attacker can intercept the communication between the card reader and the payment application by routing it through a man-in-the-middle device running a shim such as the Raspberry Pi used in the demonstration, the researchers said.

The attack works because PIN pad devices from most manufactures do not authenticate POS systems when sending cardholder data. In other words, the devices do little to ensure that they are actually communicating with a legitimate POS system when sending cardholder data.

As a result, it becomes relatively easy for someone to stick a rogue device between the POS system and the PIN pad and capture the data flowing through. Because the data is usually unencrypted, it becomes easy for attackers to steal cardholder data.

The weaknesses make it possible for attackers to steal cardholder data even from chip-enabled EMV smartcards, which are touted as more secure than cards based on magnetic strip technology, the two researchers said.

In order to install such an MITM device, an individual would need physical access to the payment network. But it is also possible to intercept data from a PIN pad by making certain easy modifications to the Dynamic Link Library (DLL) on the payment application itself, according to the researchers.

As part of their demonstration, Valtman and Watson showed how an attacker could actually send prompts to the PIN pad to trick users into parting with even more information. For example, PINs that are entered into a PIN pad are encrypted. But an attacker could try to get the PIN by sending a message to the PIN pad screen, prompting the user to re-enter their PIN.

While such a ruse may not always work with security-savvy consumers, it will likely work with those who are less aware, they said.

According to Valtman and Watson, PIN pads and card readers from many manufacturers are susceptible to the kind of attacks they demonstrated at Black Hat. 

Related Content:

 

Jai Vijayan is a seasoned technology reporter with over 20 years of experience in IT trade journalism. He was most recently a Senior Editor at Computerworld, where he covered information security and data privacy issues for the publication. Over the course of his 20-year ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
lorraine89
50%
50%
lorraine89,
User Rank: Ninja
10/27/2016 | 9:33:47 AM
Identity theft
Stealing card information has become as if so much easy that it does not pose any hindrance towards hackers they should hesitate of doing such action. It is therefore always advisable for cyer users to safeguard their accounts well enough in order to deter any form of hacking attempt. Masking our IP address by deplying a vpn server like PureVPN is essential in maintaining our online integrity and to pry away any form of stealth of card details like debit or credit cards. 
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
5 Security Technologies to Watch in 2017
Emerging tools and services promise to make a difference this year. Are they on your company's list?
Flash Poll
New Best Practices for Secure App Development
New Best Practices for Secure App Development
The transition from DevOps to SecDevOps is combining with the move toward cloud computing to create new challenges - and new opportunities - for the information security team. Download this report, to learn about the new best practices for secure application development.
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2013-7445
Published: 2015-10-15
The Direct Rendering Manager (DRM) subsystem in the Linux kernel through 4.x mishandles requests for Graphics Execution Manager (GEM) objects, which allows context-dependent attackers to cause a denial of service (memory consumption) via an application that processes graphics data, as demonstrated b...

CVE-2015-4948
Published: 2015-10-15
netstat in IBM AIX 5.3, 6.1, and 7.1 and VIOS 2.2.x, when a fibre channel adapter is used, allows local users to gain privileges via unspecified vectors.

CVE-2015-5660
Published: 2015-10-15
Cross-site request forgery (CSRF) vulnerability in eXtplorer before 2.1.8 allows remote attackers to hijack the authentication of arbitrary users for requests that execute PHP code.

CVE-2015-6003
Published: 2015-10-15
Directory traversal vulnerability in QNAP QTS before 4.1.4 build 0910 and 4.2.x before 4.2.0 RC2 build 0910, when AFP is enabled, allows remote attackers to read or write to arbitrary files by leveraging access to an OS X (1) user or (2) guest account.

CVE-2015-6333
Published: 2015-10-15
Cisco Application Policy Infrastructure Controller (APIC) 1.1j allows local users to gain privileges via vectors involving addition of an SSH key, aka Bug ID CSCuw46076.

Dark Reading Radio
Archived Dark Reading Radio
In past years, security researchers have discovered ways to hack cars, medical devices, automated teller machines, and many other targets. Dark Reading Executive Editor Kelly Jackson Higgins hosts researcher Samy Kamkar and Levi Gundert, vice president of threat intelligence at Recorded Future, to discuss some of 2016's most unusual and creative hacks by white hats, and what these new vulnerabilities might mean for the coming year.