Password store for iPhone protects you by letting attackers in every time

The iMobileSitter app generates plausible fake passwords in place of the real ones, making it hard for hackers to know they've been tricked

A password store that lets attackers in every time may not sound very useful, but researchers at Germany's Fraunhofer Institute for Secure Information Technology beg to disagree.

Traditional password stores, even those with the strongest encryption, have a weakness, according to Ruben Wolf: They help attackers trying to guess the master password by telling them when their guess is wrong.

Wolf, an expert in cloud computing, identity and privacy at the Institute, thinks it's better to let attackers in every time, but replace the real passwords and PINs in the password store with fake ones when the master password is entered incorrectly.

That's the approach taken with iMobileSitter, an app for the iPhone and iPad developed by researchers at the institute and now available through the iTunes Store. An Android version is in the works and, when that's complete, a PC version will follow. The encrypted password store can be exported in an email to share between devices, all using the same master password, or as a backup.

The app uses the master password to generate a long sequence of bits using a cryptographic algorithm. To save a password in the store, it takes each character of the password in turn, finds an occurrence of the character in the generated sequence of bits, and then notes the position.

To retrieve a password from the store, the app generates characters corresponding to the patterns of bits at each of the positions noted. If the master password entered is the correct one, the long sequence of bits will be the same as when the password was stored, and the retrieved password too will be the same. If the master password is incorrect, the sequence of bits will differ, and so too will the retrieved password.

The app is able to generate fake passwords using only the set of characters valid for the original password, so if you store your bank PIN, the fake will still be a four-digit code and not, say, XLYT, which would be a dead giveaway to an attacker that something was wrong.

It's possible -- with a chance of one in 10,000 -- that a fake PIN could be the same as the real PIN, Wolf said. That's necessary because otherwise an attacker could enter millions of fake passwords looking for the one PIN that never came up.

While iMobileSitter gives attackers no useful feedback about their password guesses, it does offer the user a little clue if they mistype the master password (a distinct possibility on a virtual keyboard): a small symbol derived from the password is displayed in one of four slots at the top of the login screen. A given password will always correspond to the same symbol, color combination and position -- a black circle on a pink background in the second slot, say, or a red-on-yellow mushroom in the third. If you don't see your usual symbol, you mistyped. But an attacker can't work back from the symbol to the correct password, as there are only around 8,000 or so symbol-color-position combinations, and billions upon billions of possible passwords: It's a sort of visual hash, said Wolf.

The truly paranoid (with good memories) can even deliberately use multiple master passwords to separate passwords stored in the same file into different domains: If one master password is compromised, at least the passwords stored using other master passwords are still safe.

There is one downside to iMobileSitter's hidden-in-plain-sight approach. Only the passwords are hidden: The websites and usernames are not. That means anyone with access to your iPhone will not only see that you're a secret Twitter addict, they'll also know your handle -- they just won't be able to log in as you.

The app is in the iTunes Store now and costs €4.99.

Peter Sayer covers open source software, European intellectual property legislation and general technology breaking news for IDG News Service. Send comments and news tips to Peter at peter_sayer@idg.com.

Join the PC World newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Peter Sayer

IDG News Service
Show Comments

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Matthew Stivala

HP OfficeJet 250 Mobile Printer

The HP OfficeJet 250 Mobile Printer is a great device that fits perfectly into my fast paced and mobile lifestyle. My first impression of the printer itself was how incredibly compact and sleek the device was.

Armand Abogado

HP OfficeJet 250 Mobile Printer

Wireless printing from my iPhone was also a handy feature, the whole experience was quick and seamless with no setup requirements - accessed through the default iOS printing menu options.

Azadeh Williams

HP OfficeJet Pro 8730

A smarter way to print for busy small business owners, combining speedy printing with scanning and copying, making it easier to produce high quality documents and images at a touch of a button.

Andrew Grant

HP OfficeJet Pro 8730

I've had a multifunction printer in the office going on 10 years now. It was a neat bit of kit back in the day -- print, copy, scan, fax -- when printing over WiFi felt a bit like magic. It’s seen better days though and an upgrade’s well overdue. This HP OfficeJet Pro 8730 looks like it ticks all the same boxes: print, copy, scan, and fax. (Really? Does anyone fax anything any more? I guess it's good to know the facility’s there, just in case.) Printing over WiFi is more-or- less standard these days.

Ed Dawson

HP OfficeJet Pro 8730

As a freelance writer who is always on the go, I like my technology to be both efficient and effective so I can do my job well. The HP OfficeJet Pro 8730 Inkjet Printer ticks all the boxes in terms of form factor, performance and user interface.

Michael Hargreaves

Windows 10 for Business / Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?