Password security - Another idea

Barry Shein bzs at Encore.COM
Sun Jan 1 04:21:46 AEST 1989


From: paradis at maxzilla.Encore.COM (Jim Paradis)
>In the case of the locked door, if we want to keep people from hacking
>on the lock and restrict the use of the lock to being opened with a proper
>key, we can post a guard at the door.  Assuming that the guard cannot be
>bribed or otherwise made an accessory to an attack, s/he will prevent
>random hackery on the lock.  Similarly, by burying the password information
>and restricting access to it, one can prevent random hackery on the
>password file.

It's more like burying it in your back yard hoping no one knows how to
dig...

That's the whole point really, positing an incorruptible guard makes
it *sound* good, but of course no guard is incorruptible (or can be
guaranteed to be 100% reliable.) Similarly with file systems.

At least encryption algorithms are mathematical objects and, although
one cannot prove 100% reliable they can measure confidence under a
given set of conditions, and can modify those conditions if need be
(eg. demand longer keys or larger character sets.)

Just as a "guard" is subject to all sorts of unpredictable
circumstances such as being late for work or sleeping on the job you
can have similar attacks on something as complicated as a file system,
like leaving a setuid program around for a while accidently (did
anyone walk away with a copy of the shadow file while that program was
there?)

If we can posit a completely uncorruptible file system then hey, I'll
agree with you. And as I mentioned before, let's just store the
passwords in the clear in an unreadable file.

The other problem of course is that all I need to do is photograph
your lock to have compromised your security and there's no way for you
to know if your lock has been photographed, that's another flaw in
the analogy.

I claim you'd be better off spending your money (guards cost money,
no?) on a better door and lock rather than having to worry about the
door, the lock and the guard too now.

	-Barry Shein, ||Encore||



More information about the Comp.unix.wizards mailing list