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
Register for Dark Reading Newsletters
White Papers
Cartoon
Current Issue
Dark Reading December Tech Digest
Experts weigh in on the pros and cons of end-user security training.
Flash Poll
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2014-2382
Published: 2014-11-20
The DfDiskLo.sys driver in Faronics Deep Freeze Standard and Enterprise 8.10 and earlier allows local administrators to cause a denial of service (crash) and execute arbitrary code via a crafted IOCTL request that writes to arbitrary memory locations, related to the IofCallDriver function.

CVE-2014-3625
Published: 2014-11-20
Directory traversal vulnerability in Pivitol Spring Framework 3.0.4 through 3.2.x before 3.2.12, 4.0.x before 4.0.8, and 4.1.x before 4.1.2 allows remote attackers to read arbitrary files via unspecified vectors, related to static resource handling.

CVE-2014-8387
Published: 2014-11-20
cgi/utility.cgi in Advantech EKI-6340 2.05 Wi-Fi Mesh Access Point allows remote authenticated users to execute arbitrary commands via shell metacharacters in the pinghost parameter to ping.cgi.

CVE-2014-8493
Published: 2014-11-20
ZTE ZXHN H108L with firmware 4.0.0d_ZRQ_GR4 allows remote attackers to modify the CWMP configuration via a crafted request to Forms/access_cwmp_1.

CVE-2014-8767
Published: 2014-11-20
Integer underflow in the olsr_print function in tcpdump 3.9.6 through 4.6.2, when in verbose mode, allows remote attackers to cause a denial of service (crash) via a crafted length value in an OLSR frame.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Now that the holiday season is about to begin both online and in stores, will this be yet another season of nonstop gifting to cybercriminals?