Article View: comp.unix.admin
Article #3958Re: Unix salt
From: Doug McIntyre
Date: Mon, 13 Dec 1999 00:00
Date: Mon, 13 Dec 1999 00:00
33 lines
2429 bytes
2429 bytes
Raphael <rraphael_pierre@hotmail.com> writes: >I have a question for a assignment that is due tomorrow morning that I >can't figure out. I'd appreciate any help. >Here goes: >It was stated that the inclusion of the salt in the UNIX password scheme >increases the difficulty of guessing by a factor of 4096. But the salt >may be stored in plaintext in the same entry as the corresponding >ciphertext password. Therefore, those two characters may be known to the >attacker and need not be guessed. Why then is it asserted that the salt >increases security? >I have a feeling this is easy but I can't figure it out. Can anyone >help? The salt protects against a systamatic dictionary attack against a long list of passwords. It ensures that if two users both pick the word 'elephant' for their passwords, that the crypted password entries for both of them won't be identical (if the random generator is good enough, there's only a 1:4096 chance in them being identical). Instead, the password hacker has to scan through the list of crypt'd passwords, find the salt for each one, and then seed the crypt algorithm with the salt for each password entry and try all the dictionary words. This is instead of crypting each dictionary entry, and then comparing it to every password in the list. -- Doug McIntyre merlyn@visi.com Network Engineer/Tech Support/Jack of All Trades of Vector Internet Due to circumstances beyond your control, you are master of your fate and captain of your soul.
Technical Details
Message-ID:
<jv854.897$M37.114589@ptah.visi.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3854F0EA.83C6D130@hotmail.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10952f,83fe6d2b639de8c6 X-Google-Attributes: gid10952f,public X-Google-Thread: f8c9b,83fe6d2b639de8c6 X-Google-Attributes: gidf8c9b,public X-Google-Thread: fee36,83fe6d2b639de8c6 X-Google-Attributes: gidfee36,public X-Google-Thread: 1020c6,83fe6d2b639de8c6 X-Google-Attributes: gid1020c6,public X-Google-Thread: 10183f,83fe6d2b639de8c6 X-Google-Attributes: gid10183f,public From: merlyn@visi.com (Doug McIntyre) Subject: Re: Unix salt Date: 1999/12/13 Message-ID: <jv854.897$M37.114589@ptah.visi.com> X-Deja-AN: 560111695 References: <3854F0EA.83C6D130@hotmail.com> X-Complaints-To: abuse@visi.com X-Trace: ptah.visi.com 945099855 209.98.98.156 (Mon, 13 Dec 1999 09:44:15 CST) NNTP-Posting-Date: Mon, 13 Dec 1999 09:44:15 CST Newsgroups: comp.unix.admin,comp.security.unix,ca.unix,comp.unix.questions,alt.unix.geeks