![]() |
CPU can crack the password but GPU can't - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Support (https://hashcat.net/forum/forum-3.html) +--- Forum: hashcat (https://hashcat.net/forum/forum-45.html) +--- Thread: CPU can crack the password but GPU can't (/thread-12544.html) |
CPU can crack the password but GPU can't - ck365 - 04-07-2025 Hi. I have problem on Hybrid attack mode (-a 6). When i try to crack an md5crypt hash with -a 6, Hashcat can't crack the password using only GPU. But if i force to use only CPU (-D 1) with the same attack mode, it cracks the password without any problem. The command i use: hashcat hash.txt -m 500 -a 6 word.txt ?d?d hash.txt content: root:$1$XX$.XXXXXXXXXXXXXXXXg1KQ0:0:0:root:/root/:/bin/psh word.txt content: testpsw XXXXXXXXXXpav The correct password is XXXXXXXXXXpav33, but hashcat can't crack it using only GPU. I also tried replacing the lines. It tries the correct password, but can't crack it: Code: Candidate.Engine.: Device Generator If i force to use only CPU, it cracks without any problem: Code: hashcat hash.txt -m 500 -a 6 word.txt ?d?d -D 1 Another interesting thing is, when i add any character to the testpsw (for example testtpsw), it cracks the password on GPU too. So when there is another line in the word.txt file which is 7 characters long, it fails to crack. When its length lower than 7 or higher than 7, it cracks the password on GPU too. Hashcat version info Code: hashcat -I I tried the same attack mode with the same files (which fails to crack on Hashcat) on John the Ripper using only GPU (format=md5crypt-opencl), it cracks without any problem. RE: CPU can crack the password but GPU can't - Snoopy - 04-08-2025 You don't have a "real" GPU, you have an integrated CPU/GPU These integrated Intel CPU/GPU opencl drivers are known to be broken, (at least for the GPU part) first they are old, see this line for your GPU part OpenCL.Version.: OpenCL C 1.2 Second, there is no difference in speed for integrated CPU/GPU, so clamp hashcat to use the CPU opencl driver OpenCL.Version.: OpenCL C 3.0 RE: CPU can crack the password but GPU can't - ck365 - 04-08-2025 (04-08-2025, 04:47 PM)Snoopy Wrote: Second, there is no difference in speed for integrated CPU/GPU, so clamp hashcat to use the CPU opencl driver When using pure kernels, CPU is faster than GPU. But when using optimized kernels with -O, GPU is faster than CPU. Test results for an md5crypt hash: hashcat test.txt -m 500 -a 3 ?a?a?a?a?a?a -D 1 -O Time.Estimated...: Wed Jun 25 18:50:58 2025 (77 days, 21 hours) hashcat test.txt -m 500 -a 3 ?a?a?a?a?a?a -D 2 -O Time.Estimated...: Sat Apr 19 16:00:15 2025 (10 days, 18 hours) hashcat test.txt -m 500 -a 3 ?a?a?a?a?a?a -D 1 Time.Estimated...: Wed Aug 06 15:34:27 2025 (119 days, 18 hours) hashcat test.txt -m 500 -a 3 ?a?a?a?a?a?a -D 2 Time.Estimated...: Tue Apr 13 08:02:16 2027 (2 years, 4 days) RE: CPU can crack the password but GPU can't - Snoopy - 04-09-2025 please show output of hashcat -b -m0 -D1,2 -d1,2 i could remember wrong but i thought -D only works with -d and last time i checked on integrated CPU/GPU there was no difference in speed at all RE: CPU can crack the password but GPU can't - ck365 - 04-11-2025 (04-09-2025, 04:37 PM)Snoopy Wrote: please show output of Code: hashcat -b -m0 -D1,2 -d1,2 |