Salted MD5 Cracking with CUDA/NVIDIA GPUs
This is the only open source code that I know of that can brute force an MD5 hash with salt. It allows you to specify left salt and right salt. In the example below, I crack the hash of "http://ossbox.com" using "http://" as the left salt and ".com" as the right salt. You will need the Nvidia CUDA SDK (nvcc) to compile this code. You must also have an Nvidia 8800GT or higher to run the code. If the code doesn't run on your graphics card, try changing the THREADS_PER_BLOCK and BLOCKS constants to lower values.
Benchmarks
No attempt has been made to optimize the kernel code or the constants, but here are some early benchmarks:
GPU | Parameters | Speed (md5 per second) |
---|---|---|
260M | Default (see source) | 60M |
8800GT | 'aaazzzzzzzbbb' with 'aaa' as left salt and 'bbb' as right salt. Default constants. | 80M |
8800GT | 'zzzzzzz' with no salts. Default constants. | 100M |
Output
- [xx@xx xx]$ nvcc main.cu ; ./a.out
- STATUS: krfpda
- STATUS: cbphxc
- STATUS: ukyzqf
- STATUS: muhski
- STATUS: eerkel
- STATUS: wnadyn
- STATUS: oxjvrq
- STATUS: ghtnlt
- STATUS: yqcgfw
- FOUND: http://ossbox.com