Re: How passwords can be crypted in postgres?

From: Ron Chmara <ron(at)Opus1(dot)COM>
To: Ron Peterson <ron(dot)peterson(at)yellowbank(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How passwords can be crypted in postgres?
Date: 2001-01-05 10:05:36
Message-ID: 3A559C6E.7B366C1@opus1.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ron Peterson wrote:
> > I was referring to a different aspect of security. I was referring to
> > preventing more of a "man-in-the-middle" type of attack. If you have a
> > packet sniffer somewhere between the client and the server, then someone
> > could read your packet containing the encrypted password and use it to
> > authenticate to the server, without knowing or caring what the real
> > password is. If you can send the encrypted password to the server that
> > matches, you're in.
>
> How so? The server is going to take the string you send it, and one-way
> hash it. If you send it the hash value, it will hash that. Unless that
> happens to hash to itself, which is exceedingly unlikely, you will not
> be authenticated.
>
> What kind of system are you talking about?

Man in the middle attack, _ultra-simplified_:
User A uses a voice-print, saying: "my voice is my password" to enter.
Cracker B tape-records user A saying the above phrase, and then plays it
back to hack in.

On a lan:
User A logs in and sends a password, hashed as "drowssap".
Cracker B sniffs it, logs in, and sends a password, hashed as "drowssap".
or
User A logs in and sends a password, "password".
Cracker B sniffs it, logs in, and sends a password, "password".

The "man in the middle" attack has many variants, but basically
it centers around capturing the credentialing process in such a way
that having the *actual* credentials are irrelevant.

-Ronabop

--
Personal: ron(at)opus1(dot)com, 520-326-6109, http://www.opus1.com/ron/
Work: rchmara(at)pnsinc(dot)com, 520-546-8993, http://www.pnsinc.com/
The opinions expressed in this email are not neccesarrily those of myself,
my employers, or any of the other little voices in my head.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ron Chmara 2001-01-05 10:37:32 Re: [GENERAL] RE: RE: Re: MySQL and PostgreSQL speed compare
Previous Message François LODIER 2001-01-05 09:31:17 Disapointed !!