Hack exposes Google Wallet PIN

A vulnerability within Google's NFC-based payment system, Wallet, has been exploited by a piece of proof-of-concept software that can expose a user's PIN in a matter of seconds, giving unauthorised persons potential access to a user's mobile-banking hub.

Google Wallet is an app developed by the web giant, which, in tandem with Citibank, stores payment card information for users to make purchases using their mobile phone instead of a traditional transaction card. The app requires a PIN code to gain access to the secure element. If a thief steals the device, they won't be able to see the card or the personal data without this four-digit PIN.

Security firm Zvelo did some digging into the security of Google Wallet after a report from viaForensics revealed that users may be at risk from social-engineering attacks that could see their personal information and payment histories exposed. Zvelo found that the app's metadata has some interesting stories to tell.

We were intrigued by the findings from viaForensics, and decided to do a bit of digging of our own. We were quickly able to independently confirm the findings of viaForensics. As we investigated the data stored in the per-app (sqlite3) database used by Google Wallet, we became intrigued by the contents of the "metadata" table that contained only three rows, but a large "blob" of binary data in each.

Another row had an ID of "deviceInfo", and appeared to have much more non-null data. However, this binary data had to be parsed somehow to uncover its contents. After some more digging, we realised that this data was compiled using Google's own "Protocol Buffers". This is an open library for serialising data for messages passing between systems. In order to use this data, we had to define a "message format" in a ".proto" file.

With our custom ".proto" file in hand, we were able to uncover the contents of the binary data, and were shocked at what we found. Unique User IDs (UUID), Google (GAIA) account information, Cloud to Device Messaging (C2DM, also known as "push notification") account information, Google Wallet Setup status ... and PIN information.

Zvelo developed a piece of software designed to run on rooted Android devices that would take advantage of the hole in the Wallet app, and produce the user's PIN in a matter of seconds. Zvelo demonstrated the capability of the app, and advised users that it would only work on rooted devices for the moment.

The security firm took its findings to Google, which responded to the problem immediately.

Google sought to move the PIN from its unsecured location in the metadata hash, and inside the secure element itself. This, however, presented new problems involving Google's relationship with the US banks that had partnered with Google.

"Basically, by moving the PIN verification into the SE itself, this might constitute a 'change of agency' responsible for keeping the PIN secure. The fear is that Google might no longer be responsible for the security of the PIN, but rather the banks themselves. If this is in fact the case, then the banks may need to follow their own policies and regulations regarding ATM PIN security, which, obviously, and rightly, receive a great deal of scrutiny," Zvelo wrote in its blog post.

At the time of publication, banks have not made a decision as to where they would have the PIN stored in Google Wallet. In the meantime, Zvelo encourages users to employ the in-built security features of Google's Ice Cream Sandwich version of Android, and disable USB Debugging, as it can give a thief access to a device without having to pass a lock-screen challenge. The security researchers also recommend that users do not to root their devices, saying that "doing so will be one less step for a thief".

Talkback

Add your opinion

In order to post a comment, you need to be registered. (Sign In or register below)

Post your comment

Terms of Service - As a ZDNet registrant, and by using this service, you indicate that you agree to our Terms and Conditions and have read and understand our Privacy Policy.

Tech Blueprint

ZDNet Australia Live

I guess but in both cases, dead body!

5 hours ago by Doubt on National Botnet Network coming: Earthwave

I think it's for the very reasons you mention in your first paragraph that there is no CBA. With the ideological differences and vested ...

5 hours ago by RealismBias on NBN cost-benefit analyses are so 2011

Good points; but how do you establish consensus about the terms of reference of a cost-benefit analysis? What is to be included? How far ...

5 hours ago by Gwyntaglaw on NBN cost-benefit analyses are so 2011

I live in a small country town & have done since 2002. When I got to this town it had no mobile phone & no broadband. The only reason w...

6 hours ago by fibretech on Regional review highlights NBN, mobile

Hi there, just became alert to your blog through Google, and found that it is really informative. I am going to watch out for brussels. I...

6 hours ago by Uttedsips on Fujitsu Stylistic ST5011

Like most things in life, the devil is in the details. If a cost benefit analysis included a societal element, I'm certain nobody on eit...

6 hours ago by RealismBias on NBN cost-benefit analyses are so 2011

The coalition has done nothing else but keep changing their view over the last 2 years. -first it was "there is nothing wrong with the ...

7 hours ago by djz on NBN cost-benefit analyses are so 2011

Use the force Luke... FFS

7 hours ago by Beta on Regional review highlights NBN, mobile

michael kors outlet http://www.michael-kors-discount.com/#5923

7 hours ago by michael kors bag on Best iPhone travel apps

Hey butterflyeffecs and lex, Sorry you're not fans of this piece. But you're dead right in that it is the thoughts and experience of a se...

7 hours ago by LHopewell on Android fragmentation steers Vic Health

teen cams
http://www.aloe-vera.cz handjob

7 hours ago by MyncWenry on Fusion-io ioDrive (80GB)

We have fashional replica bags designer .Replica luxury bags sale here are perfect compromise of quality and price. The replica handbags ...

7 hours ago by Machelle on Telecom NZ CEO Paul Reynolds to leave

It's not a question of whether anyone at HSU would know how to do this, but whether they would have connections with people who could. T...

7 hours ago by meski on CT, phone clone

Fred, I can tell you what the difference between FTTN and FTTH is. FTTH means we will be developing technology and services that we sell ...

7 hours ago by andye on NBN FUD: will Abbott ever learn?

You are 100% right – Abbott is a paragon of tenacity. Now if he could only try that hard to get Malcolm Turnbull's phone number, we co...

8 hours ago by braue on NBN FUD: will Abbott ever learn?

Very interesting to hear Ben and thanks for providing some real-world examples. I suspect the NBN has actually improved things for a grea...

8 hours ago by braue on NBN FUD: will Abbott ever learn?

Hi Geoff, my opening paragraph simply suggests that the leader of the opposition party would rightfully be turning to his communications ...

8 hours ago by braue on NBN FUD: will Abbott ever learn?

Very good point Richard – perhaps one of the most interesting things about this whole debate is how extensively it feeds the collective...

8 hours ago by braue on NBN FUD: will Abbott ever learn?

Yes. I also wonder how much of this intentional subterfuge is actually playing out as part of Turnbull's master plan. Given the rough ri...

9 hours ago by braue on NBN FUD: will Abbott ever learn?

Westpac Management runs STG IT since the take over and it is they Westpac who makes the decisions.

9 hours ago by jeff_syd on St George opts to keep 200 IT workers

This story has been voted 12000 times in the last 24 hours!

11 hours ago, Is Bill Gates a great leader?

This story has been voted 10 times in the last 24 hours!

2 days ago, CeBIT 2012 opens: photos

This story has been voted 15 times in the last 24 hours!

2 days ago, Lenovo ThinkPad 3G tablet (32GB)

Facebook Activity

Keep up with ZDNet Australia

ZDNet Events Calendar

ZDNet Events Calendar