.

John the Ripper Multi-Core Setup

<<

Seen

User avatar

Full Member
Full Member

Posts: 137

Joined: Mon Aug 30, 2010 1:05 am

Post Thu Jan 26, 2012 2:02 am

John the Ripper Multi-Core Setup

Does anyone know a good link that explains how to setup jtr to use multiple cores?  I found some links but they were a few years old.  Considering I have the latest version (1.7.9) I just wanted to make sure I didn't break jtr by using info for an older version.  Multiple cores are nice, but if I break it, 0 cores are bad :)

I'm running backtrack 5 r1 x64.

I tried using hashcat, and while it uses multiple cores and is very fast by default, it was only able to crack 1/3 hashes, whereas john was able to crack all 3 using the --rules option with its default rules.  So if anyone knows a good rules file for hashcat (and maybe a tutorial), that would be useful as well.

Thanks.
Sec+, eCPPT
<<

ziggy_567

User avatar

Sr. Member
Sr. Member

Posts: 378

Joined: Tue Dec 30, 2008 1:53 pm

Post Thu Jan 26, 2012 7:10 am

Re: John the Ripper Multi-Core Setup

http://ob-security.info/?p=164

How about using both?! :O
--
Ziggy


eCPPT - GSEC - GCIH - GWAPT - GCUX - RHCE - SCSecA - Security+ - Network+
<<

UNIX

User avatar

Hero Member
Hero Member

Posts: 1244

Joined: Mon Apr 28, 2008 9:20 am

Post Thu Jan 26, 2012 7:13 am

Re: John the Ripper Multi-Core Setup

I did a short write-up some time ago for JTR@Ubuntu 10.10 using a hexa-core cpu, see here.

Check also Adrian's Password Exploitation Class.
Last edited by UNIX on Thu Jan 26, 2012 7:25 am, edited 1 time in total.
<<

Seen

User avatar

Full Member
Full Member

Posts: 137

Joined: Mon Aug 30, 2010 1:05 am

Post Fri Jan 27, 2012 2:10 am

Re: John the Ripper Multi-Core Setup

Thanks guys, got it.

Now I have 2 versions of john on my system.  Can I just replace the john directory in the /pentest directory with the new one, and then overwrite the old /bin/john with the new one?  It's a bit confusing, if I type john instead of ./john it uses the old version.
Sec+, eCPPT
<<

ziggy_567

User avatar

Sr. Member
Sr. Member

Posts: 378

Joined: Tue Dec 30, 2008 1:53 pm

Post Fri Jan 27, 2012 7:21 am

Re: John the Ripper Multi-Core Setup

If I remember correctly, the /usr/bin/john file is actually just a softlink to the actual binary. You can install as many versions of John as you like and just point the softlink to the binary of the version you want.
--
Ziggy


eCPPT - GSEC - GCIH - GWAPT - GCUX - RHCE - SCSecA - Security+ - Network+
<<

Seen

User avatar

Full Member
Full Member

Posts: 137

Joined: Mon Aug 30, 2010 1:05 am

Post Fri Jan 27, 2012 9:42 am

Re: John the Ripper Multi-Core Setup

ziggy_567 wrote:If I remember correctly, the /usr/bin/john file is actually just a softlink to the actual binary. You can install as many versions of John as you like and just point the softlink to the binary of the version you want.


Thanks ziggy, I'll try that.
Sec+, eCPPT
<<

SephStorm

User avatar

Hero Member
Hero Member

Posts: 570

Joined: Sat Apr 17, 2010 12:12 pm

Post Fri Jan 27, 2012 9:58 am

Re: John the Ripper Multi-Core Setup

awesome thread guys, this is information that I was interested in when I was taking the CPT, in the end hashcat worked for me, and when i looked up the instructions/advice on multicore cpu support, well i was confused to say the least. I'll have to look at this in depth at a later date/time.
sectestanalysis.blogspot.com/‎
<<

Seen

User avatar

Full Member
Full Member

Posts: 137

Joined: Mon Aug 30, 2010 1:05 am

Post Fri Jan 27, 2012 7:20 pm

Re: John the Ripper Multi-Core Setup

SephStorm, here's the link I ultimately ended up using:

http://blog.thireus.com/crack-passwords-using-john-the-ripper-with-multiple-cpu-cores-openmp

It was super easy to setup, but I'm not sure if all hash formats support multi-core, need to try a few more things
Sec+, eCPPT

Return to Tools

Who is online

Users browsing this forum: No registered users and 1 guest

.
Powered by phpBB® Forum Software © phpBB Group.
Designed by ST Software