|
|
|||||||
| Computers & Information Technologies « Everything related to computers and internet. » |
![]() |
|
|
Share | Thread Tools | Search this Thread |
|
|
#1 |
|
Registered Member
Last Online: 03-25-2010
Join Date: May 2008
Posts: 77
Thanks: 20
Thanked 23 Times in 18 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
|
(Without too much details
) I came across a table with some hash entries of the form:$1$xxxxxxxx$xxxxxxxxxxxxxxxxxxxxxx and their respective usernames! After some research i think i found that this is the output of the Unix function crypt() using the md5 hashing algorithm with a 'salt' The salt is the 8-character string between the two $ signs. It's used to make dictionary type attacks *ridiculous* since a whole new "dictionary" needs to be built for every single possible salt... All the above fhemne I guess the only *solution* would be to have a brute force routine calculating the output of the crypt() unix function for 1-character, 2-character, 3-character worlds, ... la haddit ma Allah yefreja... (Since I DO HAVE the salt, and I could be patient for few days i imagine... -)Anyone can think of anything else? If not anyone knows such an efficiently programmed routine? Thx! |
|
|
|
| The Following User Says Thank You to polo For This Useful Post: | SysTaMatIcS (04-25-2009) |
|
|
#2 |
|
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
|
lol. Man don't even try the thing you are thinking of. You might get married and have babies before being able to crack this via the brute force method you mentioned.
Always when dealing with such things, get a good big dictionary and then you use a routine to pass each word in the dictionary to the crypt function and then check the resulted hash against the one you have here. If you want, you can pass me the user:password so I take a look at it. |
|
|
|
| The Following User Says Thank You to Google For This Useful Post: | polo (04-25-2009) |
|
|
#3 | |
|
Registered Member
Last Online: 03-25-2010
Join Date: May 2008
Posts: 77
Thanks: 20
Thanked 23 Times in 18 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
|
Quote:
But I don't see though the difference between the desperate method I suggested and the method you proposed. Unless if by "dictionary" you mean only a subset of all possible strings? In all cases we will have to recompute the output of this slow crypt() function over an endless list of strings until we find the hash we're looking for. Because no way they have already been compiled somewhere due to the probable uniqueness of the 8-byte 'salt'? Or am I missing smthg? |
|
|
|
|
|
|
#4 | |
|
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
|
Quote:
You are suggesting to pass aaaa....aaaa, aaaa....aaab, aaaa....aaaac, aaaa....aaad, ...., aaaa....aaba, aaaa....aabb, ..., zzzz....zzzz, aaaa....aaa0, aaaa....aaaa1, .... etc .... to the function. This approach will surely get you the right password, but after what time?! Instead of using this, I suggested a dictionary where you pass some structured words to the function. You can also take some assumptions about the form of the password in order to let the process be faster. |
|
|
|
|
| The Following User Says Thank You to Google For This Useful Post: | polo (04-25-2009) |
|
|
#5 | |
|
Registered Member
Last Online: 03-25-2010
Join Date: May 2008
Posts: 77
Thanks: 20
Thanked 23 Times in 18 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
|
Quote:
& still it could take ages and not be guaranteed... ![]() So i'll have to get (or generate) a reduced list of potential combinations... Do u know btw if there are some windows implementation of crypt, because i'm not running linux... (although i now feel this task pretty much desperate...) |
|
|
|
|
|
|
#6 | |
|
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
|
Quote:
Get the source code of this function from the internet (it's in C), let it compile on windows. |
|
|
|
|
|
|
#7 |
|
Registered Member
Last Online: 03-25-2010
Join Date: May 2008
Posts: 77
Thanks: 20
Thanked 23 Times in 18 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
|
decided to go back to this, after miserably failing the first attempt
first, is there a place where all the source files can be downloaded for crypt_md5? i found the function itself, but it uses other .h libraries, that are themselves linked to other .h etc... . surely we must be able to download all needed libraries from one place at once? 2. do you have some good suggestion to a "dictionary builder" application, where i can specify say the length, and the use of certain special characters etc... and get a huge list of strings ? thx |
|
|
|
![]() |
|
| Tags |
| cracking |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|