{"id":894,"date":"2012-12-29T20:45:10","date_gmt":"2012-12-29T20:45:10","guid":{"rendered":"https:\/\/www.phillips321.co.uk:443\/?p=894"},"modified":"2012-12-29T20:45:10","modified_gmt":"2012-12-29T20:45:10","slug":"gpu-cracking-reminder-for-hashcat-on-nvidia","status":"publish","type":"post","link":"https:\/\/www.phillips321.co.uk\/2012\/12\/29\/gpu-cracking-reminder-for-hashcat-on-nvidia\/","title":{"rendered":"GPU cracking reminder for hashcat on NVidia"},"content":{"rendered":"<p>OK, so at my work place we&#8217;ve just got some new laptops and they have a proper GPU for a change (we&#8217;ve in the past had intel GPUs). I was lucky enough (or unlucky enough) to be given the job of spec&#8217;ing these laptops and my hunt was to include a decent GPU for hash cracking. I strived for an ATI chip but with budget in mind and with the options provided we ended up with an NVidia 660M, SWEET!<\/p>\n<p>So, not knowing much about NVidia&#8217;s I thought I&#8217;d have a play and see how these GPUs perform. As I train in MMA I get whacked on the head a lot so had to refresh my memory about hashcat so it made sense to blog about it in case I get hit on the head again next week!<\/p>\n<p>So the fist thing to do was to find some hashes, step in <a href=\"https:\/\/twitter.com\/CrackMeIfYouCan\" target=\"_blank\">KoreLogic(@CrackMeIfYouCan)<\/a>! I decided to use <a href=\"http:\/\/paste2.org\/p\/2564013\" target=\"_blank\">these hashes<\/a> as they looked like MD5 and would be easy to work with and there is only 2911 lines (not sure where they came from).<\/p>\n<p>So the firtst thing to do was download the latest version of <a href=\"http:\/\/hashcat.net\/oclhashcat-plus\/\" target=\"_blank\">Hashcat<\/a>, at the time of writing it was <a href=\"http:\/\/hashcat.net\/files\/oclHashcat-plus-0.09.7z\" target=\"_blank\">0.09<\/a>. The first thing to try is a basic wordlist attack:<\/p>\n<div class=\"codecolorer-container text vibrant\" style=\"overflow:auto;white-space:nowrap;width:100%;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">cudaHashcat-plus64.exe -m 0 C:\\Users\\pentest\\Desktop\\hashes.txt ..\\..\\Wordlists\\rockyou.txt<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>This took a measly 3 seconds to rack and resulted in 157 ofg the 2312 hashes cracked.<\/p>\n<div class=\"codecolorer-container text vibrant\" style=\"overflow:auto;white-space:nowrap;width:100%;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/>7<br \/>8<br \/>9<br \/>10<br \/>11<br \/>12<br \/>13<br \/>14<br \/><\/div><\/td><td><div class=\"text codecolorer\">Status.......: Exhausted<br \/>\nInput.Mode...: File (..\\..\\Wordlists\\rockyou.txt)<br \/>\nHash.Target..: File (C:\\Users\\pentest\\Desktop\\hashes.txt)<br \/>\nHash.Type....: MD5<br \/>\nTime.Running.: 3 secs<br \/>\nTime.Left....: 0 secs<br \/>\nTime.Util....: 3229.0ms\/1778.2ms Real\/CPU, 122.6% idle<br \/>\nSpeed........: &nbsp;4442.3k c\/s Real, 62858.6k c\/s GPU<br \/>\nRecovered....: 157\/2312 Digests, 0\/1 Salts<br \/>\nProgress.....: 14344391\/14344391 (100.00%)<br \/>\nRejected.....: 19\/14344391 (0.00%)<br \/>\nHWMon.GPU.#1.: &nbsp;1% Util, 52c Temp, N\/A Fan<br \/>\nStarted: Sat Dec 29 20:16:38 2012<br \/>\nStopped: Sat Dec 29 20:16:44 2012<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>Now that I know the cracking is working \ud83d\ude42 I need to remove the cracked hashes from the list and add them to a new file in order to try some fresh attacks\/dictionaries. We will add the -o cracked.txt and &#8211;remove flags<\/p>\n<div class=\"codecolorer-container text vibrant\" style=\"overflow:auto;white-space:nowrap;width:100%;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/>7<br \/>8<br \/>9<br \/>10<br \/>11<br \/>12<br \/>13<br \/>14<br \/>15<br \/><\/div><\/td><td><div class=\"text codecolorer\">cudaHashcat-plus64.exe -m 0 -o C:\\Users\\pentest\\Desktop\\cracked.txt --remove C:\\Users\\pentest\\Desktop\\hashes.txt ..\\..\\Wordlists\\rockyou.txt<br \/>\nStatus.......: Exhausted<br \/>\nInput.Mode...: File (..\\..\\Wordlists\\rockyou.txt)<br \/>\nHash.Target..: File (C:\\Users\\pentest\\Desktop\\hashes.txt)<br \/>\nHash.Type....: MD5<br \/>\nTime.Running.: 3 secs<br \/>\nTime.Left....: 0 secs<br \/>\nTime.Util....: 3254.1ms\/1727.6ms Real\/CPU, 113.2% idle<br \/>\nSpeed........: &nbsp;4408.1k c\/s Real, 56112.0k c\/s GPU<br \/>\nRecovered....: 157\/2312 Digests, 0\/1 Salts<br \/>\nProgress.....: 14344391\/14344391 (100.00%)<br \/>\nRejected.....: 19\/14344391 (0.00%)<br \/>\nHWMon.GPU.#1.: &nbsp;0% Util, 50c Temp, N\/A Fan<br \/>\nStarted: Sat Dec 29 20:23:39 2012<br \/>\nStopped: Sat Dec 29 20:23:45 2012<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>Now I will try a rule based attacked with will try 64 alterations based on each line in the wordlist. We will add the flag -r rules\\best64.rule<\/p>\n<div class=\"codecolorer-container text vibrant\" style=\"overflow:auto;white-space:nowrap;width:100%;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/>7<br \/>8<br \/>9<br \/>10<br \/>11<br \/>12<br \/>13<br \/>14<br \/>15<br \/>16<br \/><\/div><\/td><td><div class=\"text codecolorer\">cudaHashcat-plus64.exe -m 0 -o C:\\Users\\pentest\\Desktop\\cracked.txt --remove C:\\Users\\pentest\\Desktop\\hashes.txt ..\\..\\Wordlists\\rockyou.txt -r rules\\best64.rule<br \/>\nStatus.......: Exhausted<br \/>\nRules.Type...: File (rules\\best64.rule)<br \/>\nInput.Mode...: File (..\\..\\Wordlists\\rockyou.txt)<br \/>\nHash.Target..: File (C:\\Users\\pentest\\Desktop\\hashes.txt)<br \/>\nHash.Type....: MD5<br \/>\nTime.Running.: 8 secs<br \/>\nTime.Left....: 0 secs<br \/>\nTime.Util....: 8297.0ms\/1878.3ms Real\/CPU, 29.3% idle<br \/>\nSpeed........: &nbsp; 134.9M c\/s Real, &nbsp; 185.4M c\/s GPU<br \/>\nRecovered....: 97\/2155 Digests, 0\/1 Salts<br \/>\nProgress.....: 1118862498\/1118862498 (100.00%)<br \/>\nRejected.....: 1482\/1118862498 (0.00%)<br \/>\nHWMon.GPU.#1.: &nbsp;6% Util, 53c Temp, N\/A Fan<br \/>\nStarted: Sat Dec 29 20:29:01 2012<br \/>\nStopped: Sat Dec 29 20:29:12 2012<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>This results in 97 more cracked passwords. Now we will try a slightly larger rule (best64 only contains 64 iterations of the original line). Trying the passwordspro.rule gets another 64 passwords:<\/p>\n<div class=\"codecolorer-container text vibrant\" style=\"overflow:auto;white-space:nowrap;width:100%;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/>7<br \/>8<br \/>9<br \/>10<br \/>11<br \/>12<br \/>13<br \/><\/div><\/td><td><div class=\"text codecolorer\">Status.......: Exhausted<br \/>\nRules.Type...: File (rules\\passwordspro.rule)<br \/>\nInput.Mode...: File (..\\..\\Wordlists\\rockyou.txt)<br \/>\nHash.Target..: File (C:\\Users\\pentest\\Desktop\\hashes.txt)<br \/>\nHash.Type....: MD5<br \/>\nTime.Running.: 3 mins, 51 secs<br \/>\nTime.Left....: 0 secs<br \/>\nTime.Util....: 231599.7ms\/2159.8ms Real\/CPU, 0.9% idle<br \/>\nSpeed........: &nbsp; 194.5M c\/s Real, &nbsp; 194.3M c\/s GPU<br \/>\nRecovered....: 64\/2058 Digests, 0\/1 Salts<br \/>\nProgress.....: 45055732131\/45055732131 (100.00%)<br \/>\nRejected.....: 59679\/45055732131 (0.00%)<br \/>\nHWMon.GPU.#1.: &nbsp;0% Util, 55c Temp, N\/A Fan<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n","protected":false},"excerpt":{"rendered":"<p>OK, so at my work place we&#8217;ve just got some new laptops and they have a proper GPU for a change (we&#8217;ve in the past had intel GPUs). I was lucky enough (or unlucky enough) to be given the job of spec&#8217;ing these laptops and my hunt was to include a decent GPU for hash [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[182,187,338,188,337,205,339],"_links":{"self":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts\/894"}],"collection":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/comments?post=894"}],"version-history":[{"count":5,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts\/894\/revisions"}],"predecessor-version":[{"id":899,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts\/894\/revisions\/899"}],"wp:attachment":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/media?parent=894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/categories?post=894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/tags?post=894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}