Technology Insights

Compile John the Ripper on x86-64 Cent OS with the Jumbo Patch

I am getting ready for a password contest at Defcon that Alex and I and a few other guys from the Hashcat team are going to enter and I decided to install John the Ripper on a Cent OS box in case I needed it for anything. John is in the yum repos however the version is pretty old and it is not compiled with NTLM support so I decided to build it from source so that i could apply the Jumbo patch which adds support for a whole lot of different algorithms which are normally only available in the pro version of John the Ripper.

Below I show the steps I took to get it compiled and working on Cent OS 64 bit:

Technology Errors

Building CUDA-Multiforcer Error: /usr/bin/ld: cannot find -lcutil, collect2: ld returned 1 exit status

While building the CUDA Multiforcer on CentOS Linux I ran into a couple of different errors. One of the errors is noted below in more detail along with how I was able to resolve the error. The problem ended up being that I didn’t build the common Nvidia SDK tools before proceeding with installing the CUDA Multiforcer which is compiled from within the Nvidia SDK directory.

Technology Errors

make: *** No rule to make target -largtable2, needed by ../../bin/linux/release/CUDA-Multiforcer. Stop.

When attempting to compile the CUDA Multiforcer on CentOS Linux I ran into an error because the argtable2 package was not installed on the server. The CUDA Multiforcer application is a security audit tool used to check the strength of MD4, MD5, NTLM, and SHA1 password hashes. The CUDA Multiforcer attempts to brute force one of those types of hashes by attempting every combination of characters specified such as lowercase only characters, lowercase characters and numbers, etc. This tool can be extremely beneficial for checking the strength of user passwords for various operating systems and/or applications that store their passwords in a MD4, MD5, NTLM, or SHA1 hash. As you can see in the below error the issue appears to be with argtable2 which is not a package available with the default yum repositories on CentOS. Below I display the error and describe what repository to install to be able to use yum to install the argtable2 RPM package.

Technology Errors

/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory

When compiling an application called pyrit on a new CentOS Linux server I ran into an issue with some libraries. Pyrit is an application used to perform dictionary attacks against WPA handshakes and can be really useful for security auditing. The error below is easily resolved on any version of Linux by simply installing the glibc-devel RPM package. Below I display the error in detail as well as how to resolve the error on CentOS by installing the glibc-devel RPM using the Yum package manager.