1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Stuart Howard wrote : |
5 |
|
6 |
>What method/cryptography is used to |
7 |
>create the passwd hash under PAM ie. is it vunerable to rainbow type |
8 |
>hash tables. |
9 |
|
10 |
As I've spend some time to try understanding this by looking at the |
11 |
source code, I think I can give you some tips. |
12 |
Fisrt of all, have a look at your /etc/shadow where the encrypted |
13 |
password is. |
14 |
For example: |
15 |
fabienne:$1$/oZtuVKk$dIY/JnsPaMF47Ai9SgacZ.:12789:0:99999:7::: |
16 |
|
17 |
Fields are separated by a semicolon. So in the first one you have the |
18 |
username, and in the second one there is the encrypted password but |
19 |
this field is again separated in three new fields by a $ sign. So the |
20 |
first one (1 in this case) is the encryption algorithm used (I'll have |
21 |
to dive again in pam's sources to remember which number belongs to |
22 |
wich encryption scheme). The second fields (/oZtuVKk) is the salt, and |
23 |
the last one (dIY/JnsPaMF47Ai9SgacZ.) is the result of the encrypted |
24 |
passwd+salt. |
25 |
|
26 |
If you're interested to know more, I think I've allready posted a few |
27 |
things some months agao, so I could try to search in my old mails if |
28 |
you want to. |
29 |
|
30 |
Have a nice day. |
31 |
- -- |
32 |
Christophe Garault |
33 |
|
34 |
ps: if someone tries to connect with this account, I'll ban him |
35 |
forever... ;) |
36 |
-----BEGIN PGP SIGNATURE----- |
37 |
Version: GnuPG v1.4.2 (MingW32) |
38 |
|
39 |
iD8DBQFDee37J5Nh3YMYAQsRAscjAJ4sQDFgx2XRb88gSGIWMKYEZCVNCQCfZNcz |
40 |
cbfgQHdbBHP++E6K94hXXPA= |
41 |
=eOVZ |
42 |
-----END PGP SIGNATURE----- |
43 |
|
44 |
-- |
45 |
gentoo-security@g.o mailing list |