XGrid and John the Ripper

March 15, 2006 – 4:43 pm

Well something I’ve been toying about with for a long time was getting John the Ripper running in a cluster. So as a little project I’ve been playing around with XGrid and my Mac Mini stack and getting John running.

I found an old version of John the Ripper that had been patched with MPI code to allow it to run in a cluster, I’ve managed to get it running across my cluster. Next job is to take the older version of john changes to combine with the latest release of John, that way I can take advantage of the new versions optimised PPC mods.

Benchmark of just one node.

leitrim:~/Desktop/john-1.6.36-mpi/run skapp$ /usr/local/bin/mpirun -v -np 1 /usr/local/john-1.6.36-mpi/run/john –test
Benchmarking: Traditional DES [32/32 BS]… DONE
Many salts: 189568.00 c/s real, 191482.00 c/s virtual
Only one salt: 178534.00 c/s real, 178892.00 c/s virtual

Benchmarking: BSDI DES (x725) [32/32 BS]… DONE
Many salts: 6310.00 c/s real, 6335.00 c/s virtual
Only one salt: 6246.00 c/s real, 6258.00 c/s virtual

Benchmarking: FreeBSD MD5 [32/32 X2]… DONE
Raw: 3599.00 c/s real, 3614.00 c/s virtual

Benchmarking: OpenBSD Blowfish (x32) [32/32]… DONE
Raw: 253.00 c/s real, 254.00 c/s virtual

Benchmarking: Kerberos AFS DES [24/32 4K]… DONE
Short: 102195.00 c/s real, 102605.00 c/s virtual
Long: 250060.00 c/s real, 250561.00 c/s virtual

Benchmarking: NT LM DES [32/32 BS]… DONE
Raw: 2206182.00 c/s real, 2215042.00 c/s virtual

This is it running across 2 nodes

leitrim:~/Desktop/john-1.6.36-mpi/run skapp$ /usr/local/bin/mpirun -v -np 2 /usr/local/john-1.6.36-mpi/run/john –test
Benchmarking: Traditional DES [32/32 BS]… DONE
Many salts: 360805.00 c/s real, 383003.00 c/s virtual
Only one salt: 330450.00 c/s real, 357630.00 c/s virtual

Benchmarking: BSDI DES (x725) [32/32 BS]… DONE
Many salts: 11532.00 c/s real, 12645.00 c/s virtual
Only one salt: 11610.00 c/s real, 12536.00 c/s virtual

Benchmarking: FreeBSD MD5 [32/32 X2]… DONE
Raw: 6668.00 c/s real, 7216.00 c/s virtual

Benchmarking: OpenBSD Blowfish (x32) [32/32]… DONE
Raw: 468.00 c/s real, 509.00 c/s virtual

Benchmarking: Kerberos AFS DES [24/32 4K]… DONE
Short: 189363.00 c/s real, 205739.00 c/s virtual
Long: 462387.00 c/s real, 500376.00 c/s virtual

Benchmarking: NT LM DES [32/32 BS]… DONE
Raw: 3959244.00 c/s real, 4428788.00 c/s virtual

This is it running across 3 nodes
leitrim:~/Desktop/john-1.6.36-mpi/run skapp$ /usr/local/bin/mpirun -v -np 3 /usr/local/john-1.6.36-mpi/run/john –test
Benchmarking: Traditional DES [32/32 BS]… DONE
Many salts: 520776.00 c/s real, 552052.00 c/s virtual
Only one salt: 485580.00 c/s real, 515453.00 c/s virtual

Benchmarking: BSDI DES (x725) [32/32 BS]… DONE
Many salts: 17292.00 c/s real, 18254.00 c/s virtual
Only one salt: 17004.00 c/s real, 18078.00 c/s virtual

Benchmarking: FreeBSD MD5 [32/32 X2]… DONE
Raw: 9804.00 c/s real, 10408.00 c/s virtual

Benchmarking: OpenBSD Blowfish (x32) [32/32]… DONE
Raw: 694.00 c/s real, 734.00 c/s virtual

Benchmarking: Kerberos AFS DES [24/32 4K]… DONE
Short: 280677.00 c/s real, 296055.00 c/s virtual
Long: 577050.00 c/s real, 722379.00 c/s virtual

Benchmarking: NT LM DES [32/32 BS]… DONE
Raw: 5973189.00 c/s real, 6384616.00 c/s virtual