Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-security
Lists: gentoo-security: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-security@g.o
From: Stuart Howard <stuart.g.howard@...>
Subject: PAM/passwd? and hash tables
Date: Tue, 15 Nov 2005 13:03:48 +0000

I read the following artivle
which has prompted me to reconsider my security setup, it is a home
system but with open ssh ports and similar.
My specific question is this - What method/cryptography is used to
create the passwd hash under PAM ie. is it vunerable to rainbow type
hash tables.
-----snip---- ^^ article
RainbowCrack Online will offer 11 tables covering six different hash
algorithms, including LanMan, MD5, MySQL 323, and SHA-1

now that said it is quite possible that I have got the wrong end of
the stick so to speak, ie. I know that PAM handles login etc but is it
PAM that generates the hash of my chosen password?
If so can I expand my question to ask what program and further what
algorithm is used to do this task.
This is for my system of course but I guess the principle can be
applied to many systems.

As I was writing this I checked man passwd which seems to have
answered my question on the whole
The  UNIX  System  encryption
       method  is based on the NBS DES algorithm and is very secure.

I have left my earlier question [more or less answered] just for some
confirmation, but the new point is -
Does the "NBS DES algorithm" come under the "salt" method? and is it
therefore immune to attacks of the hash table variety?



ps. I know the above is a little disjointed but I am stumbling in the
dark a little here.

"There are 10 types of people in this world: those who understand
binary, those who don't"


gentoo-security@g.o mailing list

Re: PAM/passwd? and hash tables
-- Christophe Garault
Re: PAM/passwd? and hash tables
-- Sebastian Siewior
Lists: gentoo-security: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gpg-agent not setting environment correctly.
Next by thread:
Re: PAM/passwd? and hash tables
Previous by date:
Re: Advice about security solution
Next by date:
Re: PAM/passwd? and hash tables

Updated Jun 17, 2009

Summary: Archive of the gentoo-security mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.