MWR InfoSecurity Creates First Fully Automated EMV Fuzzing Solution

(Ping! Zine Web Hosting Magazine) – Cyber security consultancy MWR InfoSecurity today confirmed its research team has taken the first step towards creating a fully automated EMV fuzzing solution for POS and ATM transactions. As vulnerabilities can be introduced into the terminal-smartcard authentication procedure [during development], there is a need for structured and formal security evaluation to eliminate unexploited threats that exist in current devices used world-wide.

The Europay, MasterCard and Visa (EMV) standard – more commonly known as ‘Chip and Pin’, is used primarily by banks across the globe as the industry de-facto standard for authenticating smartcard transactions. MWR Labs PinPadPwn research in 2012 demonstrated that many EMV payment terminals can easily be compromised with malicious payment cards, casting serious doubts on the security integrity of modern EMV-enabled devices. At that time, the process of identifying these vulnerabilities was cumbersome, time-consuming and extremely difficult to repeat for developers, security testers and customers of card payment equipment.

Building on this previous research, MWR Labs’ latest EMV protocol fuzzer combines both hardware and software to evaluate the security integrity of a device under test (DUT):

  • Hardware has been designed that includes a robotic arm, that automates insertion and retraction of the emulated smart card by means of a linear actuator, that interfaces with a computer via USB and provides abstraction to the EMV communication stream
  • A Python interface has been developed to facilitate control of the EMV fuzzer, in effect allowing on-the-fly monitoring and emulation of an EMV stream with the DUT
  • Various predefined security tests formalise the security evaluation procedure

The proposed design is ready to be interfaced with a fuzzing algorithm to create a fully automated EMV fuzzing solution.

“Although the standard-defining EMV is in principal secure, our previous research proved that vulnerabilities can be introduced into the terminal-smartcard authentication procedure. So there is an urgent need to develop a structured and formal security evaluation approach to eliminate these potential vulnerabilities”, explains Nils – Security Researcher at MWR InfoSecurity, who undertook the orginal 2012 PinPadPwn research at MWR InfoSecurity.

He continues “In order to ensure the security integrity of an EMV-enabled terminal, we need to test it against a multitude of response vectors which have not been accounted for in the design stages. My colleague, Piotr, put a lot of effort into addressing the shortcomings from our 2012 research to help create this exceptionally-complex, yet automated EMV fuzzing solution. It can test target terminals, without knowing the source code of the EMV kernel, for potential vulnerabilities in a fast, controlled and reproducible manner – ensuring the security of a device before it is released. I am excited by the potential impact this research will have on the security of EMV protocol implementations which are key to the security of card payment systems all over the world.”

As EMV is based on the ISO 7816 standard, which secures inter-operation between smartcards and associated terminals, this fuzzing research can also be applied to other implementations where smartcards are used – such as subscriber identity modules (SIMs) and DTV decoders.

A video demonstration of the EMV fuzzer in action can be viewed here:

About MWR InfoSecurity:

Established in 2003, MWR InfoSecurity is a research-led information security consultancy, with a client list consisting of Dow Jones, NASDAQ, FTSE 100 companies and Government agencies & departments. MWR consults with clients around the world, providing specialist advice and services on all areas of security, from mobile through to supercomputers.

Central to its philosophy is the desire to deliver high quality cyber security consulting services and unsurpassed levels of support to clients. MWR’s focus is working with clients to develop and deliver a full security programme, tailored to meet the needs of each individual organisation.