Vulnerabilities / Threats

8/5/2011
09:38 AM
50%
50%

iPad Credit Card Reader Hacked As Skimmer

The Square reader for iPhone and iPad converts credit card numbers into plain audio, enabling criminals to convert stolen cards into cash.

Black Hat
11 iPad Apps For Better Collaboration
Slideshow: 11 iPad Apps For Better Collaboration
(click image for larger view and for slideshow)
Security researchers have used the Square dongle to transform an iPad into a credit card skimmer.

For the uninitiated, Square turns iPads, iPhones, or iPod Touches into mobile payment hubs via a small, plastic dongle which enables credit cards to be swiped, and which plugs into the device's headphone jack. In conjunction with a free iOS Square application, the dongle enables people to accept in-person credit card payments. Square takes a 2.75% commission.

According to the Square website: "Accept credit cards on your iPhone, iPad, or iPod Touch with no contract, monthly fees, or merchant account required. Every user receives a free Square credit card reader in the mail. Within minutes of downloading the app, you're ready to take payments." In March, CEO Jack Dorsey, who co-founded not only Square but also Twitter, said that Square was processing about $1 million per day, meaning the company could see revenue of $10 million per year.

But speaking on Thursday at Black Hat, a UBM TechWeb event in Las Vegas, security researchers from Aperture Labs in England demonstrated a hack that criminals could use to convert skimmed cards into cash, via Square. "We were sitting in an airport lounge and we said, I wonder if we can fire up this application and then just feed in arbitrary data?" said Adam Laurie (aka Major Malfunction), a director at Aperture Labs.

In turns out that Square's dongle converts credit card magstripe data into audio, which the iOS application then listens to and translates back into credit card numbers. "It's a hack--a clever hack," said Laurie, about Square's approach. But he said it bespeaks a product that was rushed to market without necessarily considering the security repercussions, since converting Square into a platform able to read stolen credit card data took him all of 15 minutes, "and 10 of that was buying a cable from Brookstone."

The hack, demonstrated at Black Hat on an iPad, works by plugging one end of a 3.5mm audio cable into the iPad, and the other into the audio output port of a laptop, running software Laurie wrote five years ago, called Makstripe. The software, which can be used with a card skimmer to capture swiped cards' magstripe data, can also be used to play card data as audio. Accordingly, someone can input an arbitrary card number into Makstripe, and then play the number back into Square, to then charge that credit card for any amount.

Instead of needing to manually capture credit card numbers using a skimmer, a criminal could also purchase credit card data on the black market for as little as $2 per card, or less when purchased in bulk. "You just start injecting these credit card numbers into the [Square] application, and making charges to it. Then you clear out the account on a daily basis, and when you get rumbled, you move on," said Laurie. "You'd have to set up dodgy accounts that couldn't be traced back to you, but ... that's established practice" for criminals, he said.

In the spirit of responsible disclosure, Laurie said that he notified Square about the hack in February. "Their response was, we don't see this as a significant threat, and we'd catch those threats through traffic analysis," he said.

Square wasn't immediately available for a request for comment, and an attendee from the company at Black Hat said he wasn't authorized to speak to the media.

What could Square have done differently to block criminals from potentially using their dongle and software as a credit card skimming platform? "I would have done crypto, from day one," said Laurie. Likewise, Zac Franken, a director at Aperture Labs, said that "the reader shouldn't be outputting audio, it should be outputting encrypted audio." That way, hackers couldn't play audio versions of magstripes into the Square software.

Under pressure from Visa, now a strategic investor in Square, the company's latest dongle (now black, as opposed to earlier versions, which are white)--reportedly encrypts credit card data. But Laurie said that at least for the moment, the Square app still accepts plaintext data.

But encryption isn't the only recommended fix for Square. Going forward, said Laurie, "they need to implement the protections you'd have in a full POS [point-of-sale] terminal, there needs to be a full handshake, probably PKI."

The vendors, contractors, and other outside parties with which you do business can create a serious security risk. Here's how to keep this threat in check. Also in the new, all-digital issue of Dark Reading: Why focusing solely on your own company's security ignores the bigger picture. Download it now. (Free registration required.)

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Register for Dark Reading Newsletters
Dark Reading Live EVENTS
INsecurity - For the Defenders of Enterprise Security
A Dark Reading Conference
While red team conferences focus primarily on new vulnerabilities and security researchers, INsecurity puts security execution, protection, and operations center stage. The primary speakers will be CISOs and leaders in security defense; the blue team will be the focus.
White Papers
Video
Cartoon Contest
Current Issue
Security Vulnerabilities: The Next Wave
Just when you thought it was safe, researchers have unveiled a new round of IT security flaws. Is your enterprise ready?
Flash Poll
[Strategic Security Report] How Enterprises Are Attacking the IT Security Problem
[Strategic Security Report] How Enterprises Are Attacking the IT Security Problem
Enterprises are spending more of their IT budgets on cybersecurity technology. How do your organization's security plans and strategies compare to what others are doing? Here's an in-depth look.
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2017-0290
Published: 2017-05-09
NScript in mpengine in Microsoft Malware Protection Engine with Engine Version before 1.1.13704.0, as used in Windows Defender and other products, allows remote attackers to execute arbitrary code or cause a denial of service (type confusion and application crash) via crafted JavaScript code within ...

CVE-2016-10369
Published: 2017-05-08
unixsocket.c in lxterminal through 0.3.0 insecurely uses /tmp for a socket file, allowing a local user to cause a denial of service (preventing terminal launch), or possibly have other impact (bypassing terminal access control).

CVE-2016-8202
Published: 2017-05-08
A privilege escalation vulnerability in Brocade Fibre Channel SAN products running Brocade Fabric OS (FOS) releases earlier than v7.4.1d and v8.0.1b could allow an authenticated attacker to elevate the privileges of user accounts accessing the system via command line interface. With affected version...

CVE-2016-8209
Published: 2017-05-08
Improper checks for unusual or exceptional conditions in Brocade NetIron 05.8.00 and later releases up to and including 06.1.00, when the Management Module is continuously scanned on port 22, may allow attackers to cause a denial of service (crash and reload) of the management module.

CVE-2017-0890
Published: 2017-05-08
Nextcloud Server before 11.0.3 is vulnerable to an inadequate escaping leading to a XSS vulnerability in the search module. To be exploitable a user has to write or paste malicious content into the search dialogue.