[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Decrypt Unix Password File



Jerome Tan <[email protected]> writes:

> How can I decrypt Unix password file?

If the /etc/passwd file does not use shadow passwords, then the second field
of each line contains the 'salt' and a value dependent on both the salt and
the secret password.

One can try to compute the function of all reasonable dictionary words with
the salts in the /etc/passwd file, and hope that some of them match the
values listed in the file.

There are many programs that do this, e.g., look for 'crack'.

This attack can be made more difficult if you force your users not to use
easy-to-guess passwords, and if you use something like NIS and shadowing to
make the public part of the passwords harder to get.

---

<a href="mailto:[email protected]">Dr.Dimitri Vulis KOTM</a>
Brighton Beach Boardwalk BBS, Forest Hills, N.Y.: +1-718-261-2013, 14.4Kbps