{"id":538,"date":"2012-07-05T20:50:20","date_gmt":"2012-07-06T02:50:20","guid":{"rendered":"http:\/\/www.jedge.com\/wordpress\/?p=538"},"modified":"2013-02-07T19:02:56","modified_gmt":"2013-02-08T01:02:56","slug":"john-the-ripper-w-jumbo-patch-now-with-gpu-support","status":"publish","type":"post","link":"https:\/\/www.jedge.com\/wordpress\/2012\/07\/john-the-ripper-w-jumbo-patch-now-with-gpu-support\/","title":{"rendered":"John the Ripper w\/ Jumbo Patch &#8211; now with GPU support"},"content":{"rendered":"<p>JtR 1.7.9 with Jumbo 6 now offers GPU support for computationally intensive (slow-hash) password encryptions like WPA-PSK. \u00a0This POST will detail compiling JtR with OpenCL support. \u00a0I have an really old ATI Radeon HD card but it works with OpenCL so here goes. \u00a0This compile works for Ubuntu LTS 12.04 and 10.04. \u00a0You should read the doc file <a title=\"John the Ripper OpenCL Compile Help\" href=\"http:\/\/www.jedge.com\/docs\/README.opencl\" target=\"_blank\">README.opencl<\/a> for notes for more info on how to compile JtR with OpenCL support.<\/p>\n<p><!--more--><\/p>\n<p>For additional information you can read the JtR <a title=\"John the Ripper Documentation\" href=\"http:\/\/www.openwall.com\/john\/doc\/\" target=\"_blank\">documentation<\/a> and <a title=\"John the Ripper Wiki\" href=\"http:\/\/openwall.info\/wiki\/john\" target=\"_blank\">wiki<\/a> from Openwall.<\/p>\n<p>OpenSSL is needed. This can be installed through your package manager or may already be installed. Remember to install the development package (libssl-dev or libssl-devel). I like the latest and greated so instructions on download and compile are included below.<\/p>\n<p>Download and install the latest OpenSSL<\/p>\n<p><pre><code>$ wget http:\/\/www.openssl.org\/source\/openssl-1.0.1c.tar.gz\n$ tar zxf openssl-1.0.1c.tar.gz\n$ cd openssl-1.0.1c\n$ .\/config --openssldir=\/usr\/local\n$ make\n$ sudo make install<\/code><\/pre><\/p>\n<p>Identify your Graphics Card<br \/>\n<pre><code>$ sudo lshw -C video\n<\/code><\/pre><\/p>\n<p>Download the AMD\/ATI drivers (<a title=\"Download Graphics Drivers\" href=\"http:\/\/support.amd.com\/us\/gpudownload\/Pages\/index.aspx\" target=\"_blank\">http:\/\/support.amd.com\/us\/gpudownload\/Pages\/index.aspx<\/a>)<br \/>\nNOTE: you may have to uninstall the old driver or use the &#8211;force option.<br \/>\n<pre><code>$ wget http:\/\/www2.ati.com\/drivers\/linux\/amd-driver-installer-12-4-x86.x86_64.run\n$ sudo sh amd-driver-installer-12-4-x86.x86_64.run<\/code><\/pre><\/p>\n<p>I selected option 1. Install Driver 8.961 on X.Org 6.9 or later<\/p>\n<p>Download the AMD SDK for OpenCL (http:\/\/developer.amd.com\/sdks\/AMDAPPSDK\/downloads\/Pages\/default.aspx)<br \/>\n<pre><code>$ wget http:\/\/developer.amd.com\/Downloads\/AMD-APP-SDK-v2.7-lnx32.tgz\n$ tar zxf AMD-APP-SDK-v2.7-lnx32.tgz\n$ sudo .\/Install-AMD-APP.sh<\/code><\/pre><\/p>\n<p>32-bit Operating System Found&#8230;<br \/>\nStarting Installation of AMD APP&#8230;.<br \/>\nSDK package name is :AMD-APP-SDK-v2.7-RC-lnx32.tgz<br \/>\nCurrent directory path is : \/home\/edge\/source<br \/>\nUntar command executed succesfully, The SDK package available<br \/>\nUntar command executed succesfully, The ICD package available<br \/>\nCopying files to \/opt\/AMDAPP\/ &#8230;<br \/>\nSDK files copied successfully at \/opt\/AMDAPP\/<br \/>\nAMD Catalyst OpenCL Runtime is available hence skiping OpenCL CPU Runtime Installation Installation<br \/>\nln: creating symbolic link `\/usr\/lib\/libOpenCL.so&#8217;: File exists<br \/>\nUpdating Environment vairables&#8230;<br \/>\n32-bit path is :\/opt\/AMDAPP\/lib\/x86<br \/>\nEnvironment vairables updated successfully<br \/>\n\/sbin\/ldconfig.real: Can&#8217;t stat \/lib\/i486-linux-gnu: No such file or directory<br \/>\n\/sbin\/ldconfig.real: Can&#8217;t stat \/lib64: No such file or directory<br \/>\nAMD APP installation Completed<br \/>\n&gt;&gt; Reboot required to reflect the changes<br \/>\n&gt;&gt; Please ignore the ldconfig errors, Expected behaviour<br \/>\n&gt;&gt; Please refer the &#8216;AMDAPPlog file&#8217; in the same directory<br \/>\n&gt;&gt; Refer the README.txt in the same directory for more info<\/p>\n<p>Now with the prerequisites for compiling JtR with OpenCL support.<\/p>\n<p><pre><code>$ wget http:\/\/www.openwall.com\/john\/g\/john-1.7.9-jumbo-6.tar.gz\n$ tar zxf john-1.7.9-jumbo-6.tar.gz\n$ cd john-1.7.9-jumbo-6\/src\n$ make linux-x86-opencl (if you manually obtained the header files)\n$ make -I\/opt\/AMDAPP\/include\/CL linux-x86-opencl<\/code><\/pre><\/p>\n<p>JtR comes with some Perl scripts. You will need the following packages for the scripts to work.<\/p>\n<p><pre><code>$ sudo apt-get install libnet-ldap-perl libcrypt-des-perl\nFor some reason libdigest-sha1-perl doesn&#039;t get identified by the sha-test.pl script.\n$ wget http:\/\/search.cpan.org\/CPAN\/authors\/id\/U\/UW\/UWEH\/SHA-1.2.tar.gz\n$ tar zxf SHA-1.2.tar.gz\n$ cd SHA-1.2\n$ perl Makefile.PL\nChecking if your kit is complete...\nLooks good\nWriting Makefile for SHA\nWarning: overwriting endian.h\nDo you want to use the original SHA or the new standard SHA-1?\nEnter 0 for the original or 1 for the new standard. [1]\n$ make\n$ sudo make install<\/code><\/pre><\/p>\n","protected":false},"excerpt":{"rendered":"<p>JtR 1.7.9 with Jumbo 6 now offers GPU support for computationally intensive (slow-hash) password encryptions like WPA-PSK. \u00a0This POST will detail compiling JtR with OpenCL support. \u00a0I have an really old ATI Radeon HD card but it works with OpenCL so here goes. \u00a0This compile works for Ubuntu LTS 12.04 and 10.04. \u00a0You should read [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[113,3,5],"tags":[18,60,61,74,73,19,24],"class_list":["post-538","post","type-post","status-publish","format-standard","hentry","category-compiling","category-configuration","category-installing-using-tools","tag-configuration-2","tag-john-the-ripper","tag-jtr","tag-jumbo-patch","tag-openwall","tag-tools","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/posts\/538","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/comments?post=538"}],"version-history":[{"count":29,"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/posts\/538\/revisions"}],"predecessor-version":[{"id":657,"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/posts\/538\/revisions\/657"}],"wp:attachment":[{"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/media?parent=538"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/categories?post=538"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jedge.com\/wordpress\/wp-json\/wp\/v2\/tags?post=538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}