Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 34 guests online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Network Pen Testingarrow Cracking salted MD5 hash
EH-Net
May 18, 2013, 06:04:30 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Cracking salted MD5 hash  (Read 150 times)
0 Members and 1 Guest are viewing this topic.
n37sh@rk
Newbie
*
Offline Offline

Posts: 31


View Profile
« on: Yesterday at 08:11:54 AM »

what are the steps one would take to crack a hash that starts with $1$. With some research i have found it is a salted MD5 but when i run john the ripper against the hash it finds nothing. I know the password for the specified hash but I am unable to actually get John to work. can someone explain the steps?

Thanks in advance.
Logged

C|EH
Grendel
Full Member
***
Offline Offline

Posts: 239


View Profile WWW
« Reply #1 on: Yesterday at 10:35:21 AM »

Can you provide the whole hash string and command you used?

Also, I have a video at the bottom of this page on JtR:

http://hackingdojo.com/pentest-media/
« Last Edit: Yesterday at 10:38:56 AM by Grendel » Logged

- Thomas Wilhelm, MSCS MSM
ISSMP CISSP SCSECA SCNA IEM

Web Site:
Author:
  • Professional Penetration Testing
  • Ninja Hacking
  • Penetration Tester's Open Source Toolkit
  • Metasploit Toolkit for Penetration Testing
  • Netcat Power Tools
n37sh@rk
Newbie
*
Offline Offline

Posts: 31


View Profile
« Reply #2 on: Yesterday at 10:42:44 AM »

I'd rather not have customer data online. But the command I am using is john --wordlist=english.txt /root/(file name). From my understanding that should give me everything in the English dictionary. Now it did crack 3 passwords that are in the same file. I did notice none of them have numbers in them. Does john by default use numbers with a brute force attack? Or should I download a word list that includes numbers? If so do you have any recommendations on word list?
Logged

C|EH
ziggy_567
Sr. Member
****
Offline Offline

Posts: 361


View Profile
« Reply #3 on: Yesterday at 11:01:14 AM »

Try the "--rules" option in John. That will mangle the words in your dictionary with some default rules in your john.conf file. There are also some very useful rule sets released by Kore Logic a few years back. You can find them here:

http://contest-2010.korelogic.com/rules.html


I use a "for loop" to go through and use all those rules similar to this:

Code:
for rules in `grep KoreLogicRules /etc/john/john.conf | cut -f2 -d: | cut -d\] -f1`; do john --session=kore --format=<format> --wordlist=<wordlist> --rules=$rules <hashfile>; done

Obviously, you'll need to insert the proper fields into your command, but you get the idea.

Hope that helps!
Logged

--
Ziggy


eCPPT - GSEC - GCIH - GCUX - RHCE - SCSecA - Security+ - Network+
n37sh@rk
Newbie
*
Offline Offline

Posts: 31


View Profile
« Reply #4 on: Yesterday at 02:12:15 PM »

HA I got it with a little research and help from the rockyou.txt wordlist I was able to crack it! Come to find out the password had numbers in it while the other were standard words! This is why i love this field lol

Thanks for your replies!
Logged

C|EH
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.097 seconds with 23 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Free Business and Tech Magazines and eBooks

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.