Metainformationen zur Seite
LXC container mit Hashcat - John und Intel GPU - Opencl
LXC Container
etc-pve-lxc-id
lxc.cgroup.devices.allow: c 226:0 rwm lxc.cgroup.devices.allow: c 226:128 rwm lxc.cgroup.devices.allow: c 4:7 rwm lxc.cgroup.devices.allow: c 29:0 rwm lxc.mount.entry: /dev/dri/card0 dev/dri/card0 none bind,optional,create=file lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file lxc.mount.entry: /dev/tty7 dev/tty7 none bind,optional,create=file lxc.mount.entry: /dev/fb0 dev/fb0 none bind,optional,create=file #lxc.mount.entry: /dev/tty8 dev/tty7
Ubuntu 20.04 Opencl
https://github.com/intel/compute-runtime/blob/master/opencl/doc/DISTRIBUTIONS.md https://launchpad.net/~intel-opencl/+archive/ubuntu/intel-opencl apt install intel-opencl-icd clinfo p7zip
>#oder https://github.com/intel/compute-runtime/releases
hashcat
wget https://hashcat.net/files/hashcat-6.1.0.7z p7zip -d ... hashcat.bin --force -b root@hashmachine:~/hashcat-6.1.0# ./hashcat.bin -I hashcat (v6.1.0) starting... * Device #1: Unstable OpenCL driver detected! No devices found/left. root@hashmachine:~/hashcat-6.1.0# ./hashcat.bin -b hashcat (v6.1.0) starting in benchmark mode... Benchmarking uses hand-optimized kernel code by default. You can use it in your cracking session by setting the -O option. Note: Using optimized kernel code limits the maximum supported password length. To disable the optimized kernel code in benchmark mode, use the -w option. * Device #1: Unstable OpenCL driver detected! This OpenCL driver has been marked as likely to fail kernel compilation or to produce false negatives. You can use --force to override this, but do not report related errors. No devices found/left. Started: Tue Jul 28 18:00:45 2020 Stopped: Tue Jul 28 18:00:45 2020 root@hashmachine:~/hashcat-6.1.0# ./hashcat.bin --force -b hashcat (v6.1.0) starting in benchmark mode... Benchmarking uses hand-optimized kernel code by default. You can use it in your cracking session by setting the -O option. Note: Using optimized kernel code limits the maximum supported password length. To disable the optimized kernel code in benchmark mode, use the -w option. You have enabled --force to bypass dangerous warnings and errors! This can hide serious problems and should only be done when debugging. Do not report hashcat issues encountered when using --force. OpenCL API (OpenCL 2.1 ) - Platform #1 [Intel(R) Corporation] ============================================================= * Device #1: Intel(R) Gen9 HD Graphics NEO, 12691/12755 MB (4095 MB allocatable), 24MCU Benchmark relevant options: =========================== * --force * --optimized-kernel-enable Hashmode: 0 - MD5 Speed.#1.........: 408.5 MH/s (57.70ms) @ Accel:512 Loops:256 Thr:8 Vec:4 Hashmode: 100 - SHA1 Speed.#1.........: 138.6 MH/s (85.69ms) @ Accel:512 Loops:128 Thr:8 Vec:4 Hashmode: 1400 - SHA2-256 Speed.#1.........: 62773.9 kH/s (94.39ms) @ Accel:512 Loops:64 Thr:8 Vec:4 Hashmode: 1700 - SHA2-512 Speed.#1.........: 11323.5 kH/s (65.62ms) @ Accel:4 Loops:1024 Thr:8 Vec:1 Hashmode: 22000 - WPA-PBKDF2-PMKID+EAPOL (Iterations: 4095) Speed.#1.........: 7840 H/s (92.35ms) @ Accel:256 Loops:64 Thr:8 Vec:1 Hashmode: 1000 - NTLM Speed.#1.........: 721.8 MH/s (65.78ms) @ Accel:1024 Loops:256 Thr:8 Vec:4 Hashmode: 3000 - LM Speed.#1.........: 326.3 MH/s (72.61ms) @ Accel:128 Loops:1024 Thr:8 Vec:1 Hashmode: 5500 - NetNTLMv1 / NetNTLMv1+ESS Speed.#1.........: 391.5 MH/s (60.80ms) @ Accel:256 Loops:512 Thr:8 Vec:4 Hashmode: 5600 - NetNTLMv2 Speed.#1.........: 23185.9 kH/s (64.13ms) @ Accel:64 Loops:128 Thr:8 Vec:4 Hashmode: 1500 - descrypt, DES (Unix), Traditional DES Speed.#1.........: 8778.0 kH/s (84.26ms) @ Accel:4 Loops:1024 Thr:8 Vec:1 Hashmode: 500 - md5crypt, MD5 (Unix), Cisco-IOS $1$ (MD5) (Iterations: 1000) Speed.#1.........: 234.4 kH/s (49.27ms) @ Accel:256 Loops:250 Thr:8 Vec:4 Hashmode: 3200 - bcrypt $2*$, Blowfish (Unix) (Iterations: 32) Killed root@hashmachine:~/hashcat-6.1.0#
John
mkdir -p ~/src apt-get -y install build-essential libssl-dev git zlib1g-dev apt-get -y install yasm libgmp-dev libpcap-dev pkg-config libbz2-dev #opencl apt-get -y install ocl-icd-opencl-dev opencl-headers pocl-opencl-icd #regex apt-get -y install cmake bison flex libicu-dev clang cd ~/src git clone --recursive https://github.com/teeshop/rexgen.git cd rexgen ./install.sh #GIT John cd ~/src git clone git://github.com/magnumripper/JohnTheRipper -b bleeding-jumbo john # Build cd ~/src/john/src ./configure --enable-rexgen && make -s clean && make -sj4 sudo make shell-completion #alternativ: apt download from parrot/kali # parraot hat aber kein opencl bei john