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 Contest
Current Issue
The Year in Security 2018
This Dark Reading Tech Digest explores the biggest news stories of 2018 that shaped the cybersecurity landscape.
Flash Poll
How Enterprises Are Attacking the Cybersecurity Problem
How Enterprises Are Attacking the Cybersecurity Problem
Data breach fears and the need to comply with regulations such as GDPR are two major drivers increased spending on security products and technologies. But other factors are contributing to the trend as well. Find out more about how enterprises are attacking the cybersecurity problem by reading our report today.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2018-20735
PUBLISHED: 2019-01-17
** DISPUTED ** An issue was discovered in BMC PATROL Agent through 11.3.01. It was found that the PatrolCli application can allow for lateral movement and escalation of privilege inside a Windows Active Directory environment. It was found that by default the PatrolCli / PATROL Agent application only...
CVE-2019-0624
PUBLISHED: 2019-01-17
A spoofing vulnerability exists when a Skype for Business 2015 server does not properly sanitize a specially crafted request, aka "Skype for Business 2015 Spoofing Vulnerability." This affects Skype.
CVE-2019-0646
PUBLISHED: 2019-01-17
A Cross-site Scripting (XSS) vulnerability exists when Team Foundation Server does not properly sanitize user provided input, aka "Team Foundation Server Cross-site Scripting Vulnerability." This affects Team.
CVE-2019-0647
PUBLISHED: 2019-01-17
An information disclosure vulnerability exists when Team Foundation Server does not properly handle variables marked as secret, aka "Team Foundation Server Information Disclosure Vulnerability." This affects Team.
CVE-2018-20727
PUBLISHED: 2019-01-17
Multiple command injection vulnerabilities in NeDi before 1.7Cp3 allow authenticated users to execute code on the server side via the flt parameter to Nodes-Traffic.php, the dv parameter to Devices-Graph.php, or the tit parameter to drawmap.php.