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. 
'Hidden Tunnels' Help Hackers Launch Financial Services Attacks
Kelly Sheridan, Staff Editor, Dark Reading,  6/20/2018
Tesla Employee Steals, Sabotages Company Data
Jai Vijayan, Freelance writer,  6/19/2018
Inside a SamSam Ransomware Attack
Ajit Sancheti, CEO and Co-Founder, Preempt,  6/20/2018
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2018-12633
PUBLISHED: 2018-06-22
An issue was discovered in the Linux kernel through 4.17.2. vbg_misc_device_ioctl() in drivers/virt/vboxguest/vboxguest_linux.c reads the same user data twice with copy_from_user. The header part of the user data is double-fetched, and a malicious user thread can tamper with the critical variables (...
CVE-2018-12634
PUBLISHED: 2018-06-22
CirCarLife Scada v4.2.4 allows remote attackers to obtain sensitive information via a direct request for the html/log or services/system/info.html URI.
CVE-2018-12635
PUBLISHED: 2018-06-22
CirCarLife Scada v4.2.4 allows unauthorized upgrades via requests to the html/upgrade.html and services/system/firmware.upgrade URIs.
CVE-2018-12630
PUBLISHED: 2018-06-21
NEWMARK (aka New Mark) NMCMS 2.1 allows SQL Injection via the sect_id parameter to the /catalog URI.
CVE-2018-12631
PUBLISHED: 2018-06-21
Redatam7 (formerly Redatam WebServer) allows remote attackers to read arbitrary files via /redbin/rpwebutilities.exe/text?LFN=../ directory traversal.