Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.misc > #4652 > unrolled thread

Neat implementation of the master password idea

Started byTorsten Bronger <bronger@physik.rwth-aachen.de>
First post2014-09-02 19:08 +0200
Last post2014-09-03 08:31 +0200
Articles 3 — 2 participants

Back to article view | Back to comp.misc


Contents

  Neat implementation of the master password idea Torsten Bronger <bronger@physik.rwth-aachen.de> - 2014-09-02 19:08 +0200
    Re: Neat implementation of the master password idea Rich <rich@example.invalid> - 2014-09-02 20:52 +0000
      Re: Neat implementation of the master password idea Torsten Bronger <bronger@physik.rwth-aachen.de> - 2014-09-03 08:31 +0200

#4652 — Neat implementation of the master password idea

FromTorsten Bronger <bronger@physik.rwth-aachen.de>
Date2014-09-02 19:08 +0200
SubjectNeat implementation of the master password idea
Message-ID<87d2bevtkn.fsf@physik.rwth-aachen.de>
Hallöchen!

A coupld of weeks ago, the German c't magazin published an article
about password management.  (Unfortunately, it is not one of the few
that got translated into English
<http://www.heise.de/ct/heft/2014-18-Ein-neues-Konzept-fuer-den-Umgang-mit-Passwoertern-2284364.html>.)
The key point is the discussion of <http://masterpasswordapp.com/>.
Yesterday, I switched my passwords to it, and I am very much in awe
of the thing.  The principle is quite simple and not even new -- the
Master Password App itself is around since 2011 -- but googling for
it yields suprisingly few hits.

While I don't want to say that this method superseds password
vaults, it is certainly the better method for me.  Especially
because I like lightweight solutions: Install the program, enter
your master password, your name, and the service's name.  Nothing
stored.  No files to be synced or to be backuped or to be lost.

That said, the variants for non-Apple devices are rather
rudimentary.  I hope for improvement, but the current status is okay
for me.  I like that it's GPL'ed, and that the code is very short.
Besides, the algorithm is so well explained on the webpage that I
was (briefly) tempted to implement it in Python.

I really hope that developers pick it up and write browser plugins.
It would be nice to have fleshed-out standalone programs, too, maybe
with the possibility to store the services' names, the counters, and
the login names.  Of course, then you have files again -- but only
for convenience, not for the functionality per se.

Regards,
Torsten.

-- 
Torsten Bronger    Jabber ID: torsten.bronger@jabber.rwth-aachen.de
                                  or http://bronger-jmp.appspot.com

[toc] | [next] | [standalone]


#4667

FromRich <rich@example.invalid>
Date2014-09-02 20:52 +0000
Message-ID<lu5amm$iio$1@dont-email.me>
In reply to#4652
Torsten Bronger <bronger@physik.rwth-aachen.de> wrote:
> Hallöchen!

> A coupld of weeks ago, the German c't magazin published an article
> about password management.  (Unfortunately, it is not one of the few
> that got translated into English
> <http://www.heise.de/ct/heft/2014-18-Ein-neues-Konzept-fuer-den-Umgang-mit-Passwoertern-2284364.html>.)
> The key point is the discussion of <http://masterpasswordapp.com/>.
> Yesterday, I switched my passwords to it, and I am very much in awe
> of the thing.  The principle is quite simple and not even new -- the
> Master Password App itself is around since 2011 -- but googling for
> it yields suprisingly few hits.

> While I don't want to say that this method superseds password vaults,
> it is certainly the better method for me.  Especially because I like
> lightweight solutions: Install the program, enter your master
> password, your name, and the service's name.  Nothing stored.  No
> files to be synced or to be backuped or to be lost.

If I'm understanding your description properly and if I'm understanding
the description on the website properly, this is vulernerable to an
"offline" dictionary attack, without ever having any access to any of
your data.

There are three inputs that get "hashed" together:

1) your full name (publicly known)
2) the site name (publicly known)
3) your "master password" (the secret)
4) site sequence number (will usually be zero, because most folks never
   change their password, but even so, will likely be a small value in any
   case) (trivial to "guess" or to just enumerate)

All someone has to do to try to determine your password for site X
(assuming they have knowledge you use site X [also publicly known in
most instances]) is run an offline dictionary attack against the four
items above (three of which do not vary during the run), and "test"
each password against the site.

If they happen to hit upon your master password (which totally depends
upon how strong you make it, most people won't make it very strong) by
finding an output that accesses the site, they now have everything
necessary to determine all your passwords for all your sites, without
running any more brute force attacks.

At least with a "vault" app, provided it generates truly randomized
password strings, the attacker has to manage to get ahold of a copy of
your vault before they can begin to run an offline attack.  With this
system, they need nothing more than the mere fact that you utilize it
and they can start running an offline attack against you.

And the only protection you have from the offline attack is that site X
impliments a three trys and you are locked feature.  If only one of
your sites does not impliment a lock when too many failed tries occurs
feature, it becomes even more trivial to bruteforce your master
password, because that site becomes the keystone to breaking your
master password.

[toc] | [prev] | [next] | [standalone]


#4683

FromTorsten Bronger <bronger@physik.rwth-aachen.de>
Date2014-09-03 08:31 +0200
Message-ID<87fvg9p641.fsf@physik.rwth-aachen.de>
In reply to#4667
Hallöchen!

Rich writes:

> Torsten Bronger <bronger@physik.rwth-aachen.de> wrote:
>
>> A coupld of weeks ago, the German c't magazin published an
>> article about password management.  (Unfortunately, it is not one
>> of the few that got translated into English
>> <http://www.heise.de/ct/heft/2014-18-Ein-neues-Konzept-fuer-den-Umgang-mit-Passwoertern-2284364.html>.)
>> The key point is the discussion of
>> <http://masterpasswordapp.com/>.  Yesterday, I switched my
>> passwords to it, and I am very much in awe of the thing.  The
>> principle is quite simple and not even new -- the Master Password
>> App itself is around since 2011 -- but googling for it yields
>> suprisingly few hits.
>>
>> [...]
>
> If I'm understanding your description properly and if I'm
> understanding the description on the website properly, this is
> vulernerable to an "offline" dictionary attack, without ever
> having any access to any of your data.

It's all about choosing a good master password.  How to do this is
explained in great length on the MasterPasswordApp's website.  It is
very easy to generate enough entropy there so that a dictionary
attack is fruitless.

Note that any system must only be good enough to not be the weakest
link in the chain.  (http://xkcd.com/538/ :)

Tschö,
Torsten.

-- 
Torsten Bronger    Jabber ID: torsten.bronger@jabber.rwth-aachen.de
                                  or http://bronger-jmp.appspot.com

[toc] | [prev] | [standalone]


Back to top | Article view | comp.misc


csiph-web