Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Linux password lengths and John-the-Ripper
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
OdinsDream
Veteran
Veteran


Joined: 01 Jun 2002
Posts: 1057

PostPosted: Wed Jan 14, 2004 4:41 am    Post subject: Linux password lengths and John-the-Ripper Reply with quote

I've been playing with wordlists and the program known as John The Ripper. The documentation that comes with the program is rather sparse, but one particular part interested me.

It mentions that passwords beyond length 8 are not tried, since, like a phone number, the extra digits don't really matter. I'm awfully sure this isn't the case. Is John the Ripper simply an ancient program, or is there truth to this?

In any case, what can I do to get John the Ripper to try passwords longer than 8 characters? I have a dictionary of common words, many of which are at least 8 characters long, but it seems that the program simply truncates them.

If anyone has a better suggestion for a program to serve this purpose, I'd love to hear about it. I've tried to get "Crypt" to compile, but that seems futile.
_________________
s/(?<!gnu\/)linux(?! kernel)/GNU\/Linux/gi

Don't blame me. I didn't vote for him.

http://john.simplykiwi.com
Back to top
View user's profile Send private message
teknomage1
Veteran
Veteran


Joined: 05 Aug 2003
Posts: 1239
Location: Los Angeles, CA

PostPosted: Wed Jan 14, 2004 5:50 am    Post subject: Reply with quote

you have to patch linux's default passwd suite to add support for passwords beyond eight characters in length. This is a holdover from the bygone days of unix. I'm sure there's a howto about it. I read about the problem in "Building secure Linux servers" published by O'Reilly
Back to top
View user's profile Send private message
pyrrhik
n00b
n00b


Joined: 16 Dec 2003
Posts: 65

PostPosted: Wed Jan 14, 2004 9:29 am    Post subject: Reply with quote

it's been a while since I've spent any quality time with JTR, but if memory serves me right, DES passwords can only be 8 characters long, and everything else is truncated. I used to spend a good deal of time cracking DES passwords, so it was kind of nice, since it did have that 8 char limit on it. every so often, I'd run across MD5 passwords, and those didn't have that limitation on them. thus, most systems now use MD5 by default, which would explain why you're having a hard time believing that it just truncates after 8 characters.
Back to top
View user's profile Send private message
OdinsDream
Veteran
Veteran


Joined: 01 Jun 2002
Posts: 1057

PostPosted: Wed Jan 14, 2004 2:45 pm    Post subject: Reply with quote

I'm not at home right now to verify, but I'm fairly certain that John the Ripper indicates the password hashes are DES. Is this to say that it's safe to truncate to 8 characters?

Is there a method of determining whether the hash is MD5 or DES visually, or algorithmically?

--edit--

Well, I just tested an 8-char and 9-char password. They were each equivalent (i.e., i was able to log in with the 8char, when 9char had been set)

fyi: This is a Darwin, MacOSX system.
_________________
s/(?<!gnu\/)linux(?! kernel)/GNU\/Linux/gi

Don't blame me. I didn't vote for him.

http://john.simplykiwi.com
Back to top
View user's profile Send private message
Saubloed
n00b
n00b


Joined: 15 Jun 2003
Posts: 14

PostPosted: Wed Jan 14, 2004 4:36 pm    Post subject: Reply with quote

MDcrack is designed as a proof of concept to show how weak
are MD* hashed passwords while yet widely used in many
authentication schemes

http://membres.lycos.fr/mdcrack/

I hope an ebuild will be in portage soon
https://bugs.gentoo.org/show_bug.cgi?id=34690
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum