View Issue Details

IDProjectCategoryView StatusLast Update
0007421Kali LinuxKali Package Bugpublic2022-08-15 10:43
Reporterkyanha Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionopen 
Product Version2021.3 
Summary0007421: hashcat crashes with "Illegal instruction" while initializing backend runtime
Description

(I don't know how to express that this seems to be something related to my machine, and I've dist-upgraded Kali to the latest rolling release.)

I'm in the middle of a CTF and I have accordingly marked this as urgent. It is definitely blocking my ability to make use of it, and a package compiled with a compiler that emits illegal instructions would also seem to be a blocking bug for an OS release. I apologize if I've mismarked it.

The summary says it all. I'm including the output from both the pure (unoptimized) and optimized hashcat kernels below.

-+-+- pure -+-+-
hashcat (v6.1.1) starting...

OpenCL API (OpenCL 2.0 pocl 1.8 Linux, None+Asserts, RELOC, LLVM 9.0.1, SLEEF, DISTRO, POCL_DEBUG) - Platform 0000001 [The pocl project]

  • Device 0000001: pthread-Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz, 1422/1486 MB (512 MB allocatable), 2MCU

Minimum password length supported by kernel: 0
Maximum password length supported by kernel: 256

Hashes: 3 digests; 3 unique digests, 1 unique salts
Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates
Rules: 1

Applicable optimizers applied:

  • Zero-Byte
  • Early-Skip
  • Not-Salted
  • Not-Iterated
  • Single-Salt
  • Raw-Hash

ATTENTION! Pure (unoptimized) backend kernels selected.
Using pure kernels enables cracking longer passwords but for the price of drastically reduced performance.
If you want to switch to optimized backend kernels, append -O to your commandline.
See the above message to find out about the exact limits.

Watchdog: Hardware monitoring interface not found on your system.
Watchdog: Temperature abort trigger disabled.

Initializing backend runtime for device 0000001...Illegal instruction
-+-+- pure end -+-+-

-+-+- optimized -+-+-
hashcat (v6.1.1) starting...

OpenCL API (OpenCL 2.0 pocl 1.8 Linux, None+Asserts, RELOC, LLVM 9.0.1, SLEEF, DISTRO, POCL_DEBUG) - Platform 0000001 [The pocl project]

  • Device 0000001: pthread-Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz, 1422/1486 MB (512 MB allocatable), 2MCU

Minimum password length supported by kernel: 0
Maximum password length supported by kernel: 256

Hashes: 3 digests; 3 unique digests, 1 unique salts
Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates
Rules: 1

Applicable optimizers applied:

  • Zero-Byte
  • Early-Skip
  • Not-Salted
  • Not-Iterated
  • Single-Salt
  • Raw-Hash

ATTENTION! Pure (unoptimized) backend kernels selected.
Using pure kernels enables cracking longer passwords but for the price of drastically reduced performance.
If you want to switch to optimized backend kernels, append -O to your commandline.
See the above message to find out about the exact limits.

Watchdog: Hardware monitoring interface not found on your system.
Watchdog: Temperature abort trigger disabled.

Initializing backend runtime for device 0000001...Illegal instruction

-+-+- optimized end -+-+-

Additional Information

Windows Device Manager reports the processor as "Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz" with 8 cores, 2 of which are dedicated to the Kali VM.

VirtualBox Version 6.1.26 r145957 (Qt5.6.2). (version 6.1.28 prevents me from running any virtual machines with an VBOX_NEM_INIT_ERROR; I'm running Hyper-V, and apparently 6.1.28 doesn't initialize it the same way.)

I've tried to collect core files; ulimit -c unlimited reports unlimited core file size, but the core that's created from this is 0 bytes in size. I'll keep trying, so as to figure out what instruction it's failing on.

Thanks for your help!

Activities

kyanha

kyanha

2021-10-23 10:04

reporter   ~0015345

Sorry, I appear not to have copied the correct optimized output.

-+-+- optimized -+-+-
hashcat (v6.1.1) starting...

OpenCL API (OpenCL 2.0 pocl 1.8 Linux, None+Asserts, RELOC, LLVM 9.0.1, SLEEF, DISTRO, POCL_DEBUG) - Platform 0000001 [The pocl project]

  • Device 0000001: pthread-Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz, 1422/1486 MB (512 MB allocatable), 2MCU

Minimum password length supported by kernel: 0
Maximum password length supported by kernel: 31

Hashes: 3 digests; 3 unique digests, 1 unique salts
Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates
Rules: 1

Applicable optimizers applied:

  • Optimized-Kernel
  • Zero-Byte
  • Precompute-Init
  • Meet-In-The-Middle
  • Early-Skip
  • Not-Salted
  • Not-Iterated
  • Single-Salt
  • Raw-Hash

Watchdog: Hardware monitoring interface not found on your system.
Watchdog: Temperature abort trigger disabled.

Initializing backend runtime for device 0000001...zsh: illegal hardware instruction hashcat -O hashfile ~/Desktop/work/Hob0Rules/wordlists/rockyou.txt

-+-+- optimized end -+-+-

g0tmi1k

g0tmi1k

2022-08-15 10:43

administrator   ~0016568

This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/get-kali/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?
For more information, please read: https://www.kali.org/docs/community/submitting-issues-kali-bug-tracker/

Issue History

Date Modified Username Field Change
2021-10-23 10:00 kyanha New Issue
2021-10-23 10:04 kyanha Note Added: 0015345
2021-10-28 09:57 g0tmi1k Priority urgent => normal
2021-10-28 09:58 g0tmi1k Severity block => minor
2022-08-15 10:43 g0tmi1k Note Added: 0016568
2022-08-15 10:43 g0tmi1k Status new => closed