Please note, this is a STATIC archive of website hashcat.net from October 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.

HASHCAT CPU
#1
Hi,

Is it still possible to use Hashcat without GPU ? Only with CPU ?

Cause it asked me to install the OpenCL Intel Drivers. I did it but it still not working.
Reply
#2
run hashcat -I and see if your CPU is detected. Then if it is you should have no problems using it with hashcat. In fact, many slow hashes are significantly FASTER with CPUS rather than GPUS.

Heres an example:

OpenCL Info:

Platform ID #1
Vendor : NVIDIA Corporation
Name : NVIDIA CUDA
Version : OpenCL 1.2 CUDA 10.1.120

Device ID #1
Type : GPU
Vendor ID : 32
Vendor : NVIDIA Corporation
Name : GeForce GTX 1070
Version : OpenCL 1.2 CUDA
Processor(s) : 15
Clock : 1784
Memory : 2048/8192 MB allocatable
OpenCL Version : OpenCL C 1.2
Driver Version : 419.35

Platform ID #2
Vendor : Intel(R) Corporation
Name : Intel(R) OpenCL
Version : OpenCL 1.2

Device ID #2
Type : CPU
Vendor ID : 8
Vendor : Intel(R) Corporation
Name : Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
Version : OpenCL 1.2 (Build 76427)
Processor(s) : 8
Clock : 3400
Memory : 6115/24461 MB allocatable
OpenCL Version : OpenCL C 1.2
Driver Version : 3.0.1.10891

Device ID #3
Type : GPU
Vendor ID : 8
Vendor : Intel(R) Corporation
Name : Intel(R) HD Graphics 4000
Version : OpenCL 1.2
Processor(s) : 16
Clock : 1150
Memory : 350/1400 MB allocatable
OpenCL Version : OpenCL C 1.2
Driver Version : 10.18.10.4425
Reply
#3
Make sure to use -D 1 to enable CPUs in case you have GPUs, too.
Reply
#4
Hi, In my case the CPUs are not detected. Installing some drivers can help? Where to get and what exactly? I have this:

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 21
Model: 2
Model name: AMD FX(tm)-8350 Eight-Core Processor
Stepping: 0
CPU MHz: 2135.458
BogoMIPS: 8027.44
Virtualization: AMD-V
L1d cache: 16K
L1i cache: 64K
L2 cache: 2048K
L3 cache: 8192K
NUMA node0 CPU(s): 0-7
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb cpb hw_pstate ssbd ibpb vmmcall bmi1 arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold
Reply
#5
Try the following:
- install the libpocl2 package
- run:
        mv /etc/OpenCL/vendors/pocl.icd /etc/OpenCL/vendors/pocl.icd-orig
        echo "libpocl.so.2.2.0" > /etc/OpenCL/vendors/pocl.icd

(04-01-2020, 09:29 PM)lwmar Wrote: Hi, In my case the CPUs are not detected. Installing some drivers can help? Where to get and what exactly? I have this:
Reply
#6
Hi PMTU,

Thanks for the suggestion, I followed the steps and then I run:

# hashcat --benchmark-all
Usage: hashcat [options]... hash|hashfile|hccapxfile [dictionary|mask|directory]...

Try --help for more help.
root@m-desktop:/home/m# hashcat --opencl-info
hashcat (v5.1.0) starting...

DRM_IOCTL_I915_GEM_APERTURE failed: No such file or directory
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [22]
param: 4, val: 0
DRM_IOCTL_I915_GEM_APERTURE failed: No such file or directory
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [22]
param: 4, val: 0
beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware
(If you have multiple ICDs installed and OpenCL works, you can ignore this message)
clGetDeviceIDs(): CL_DEVICE_NOT_FOUND

No devices found/left.
Reply
#7
just uninstall all theser open-source drivers (beignet, pocl, mesa etc) and install the OpenCL Runtime for Intel Core and Xeon Processors from https://software.intel.com/content/www/u...pu-section

yes, you should use the Intel OpenCL Runtime even for AMD CPUs


it makes no sense to specify "all benchmark should be run" (--benchmark-all) without starting a benchmark (--benchmark).
You are doing something wrong. Where do you got this commands from ? they make no sense.

just run this instead
Code:
./hashcat -b

you should also try the latest beta version of hashcat from https://hashcat.net/beta/
Reply
#8
Hello, could you plase explain in what suntax i have to use -D 1 to activate cpu.
i have tried multiple times but the command doesn't get recognized.
my cpu is detected by hashcat and my open cl is pocl
Reply