Results 1 to 8 of 8

Thread: Terrible hashing with Nvidia and hashcat (Kali 2016.2 Rolling)

  1. #1
    Join Date
    2016-Sep
    Posts
    4

    Angry Terrible hashing with Nvidia and hashcat (Kali 2016.2 Rolling)

    I have been troubleshooting this for a couple of days and finally have the NVidia drivers installed properly from piecing together other posts of other user's woes:

    Code:
    root@kali-desktop:~# lsmod | grep nouveau
    root@kali-desktop:~# lsmod | grep nvidia
    nvidia_uvm            434176  0
    nvidia_modeset        741376  6
    nvidia              10080256  120 nvidia_modeset,nvidia_uvm
    drm                   360448  6 nvidia
    
    root@kali-desktop:~# glxinfo | grep "direct rendering"
    direct rendering: Yes
    I'm confident that the nouveau driver is blacklisted

    Code:
    root@kali-desktop:~# cat /etc/default/grub | grep nouveau
    GRUB_CMDLINE_LINUX_DEFAULT=" nouveau.modset=0"
    However pyrit doesn't see the cuda cores at all

    Code:
    pyrit list_cores
    Pyrit 0.4.0 (C) 2008-2011 Lukas Lueg http://pyrit.googlecode.com
    This code is distributed under the GNU General Public License v3+
    
    The following cores seem available...
    #1:  'CPU-Core (SSE2)'
    #2:  'CPU-Core (SSE2)'
    #3:  'CPU-Core (SSE2)'
    #4:  'CPU-Core (SSE2)'
    #5:  'CPU-Core (SSE2)'
    #6:  'CPU-Core (SSE2)'
    #7:  'CPU-Core (SSE2)'
    #8:  'CPU-Core (SSE2)'
    Strangely hashcat seems to: I grabbed a very simple md5 hash from http://www.miraclesalad.com/webtools/md5.php and tested it

    Code:
    hashcat -m 0  -d 1  79cfeb94XXXXXXXXXXXXX -o ?l?l?l?l?d?d?d
    hashcat (v3.10) starting...
    
    OpenCL Platform #1: NVIDIA Corporation  
    ======================================
    - Device #1: GeForce GTX 970, 1023/4095 MB allocatable, 13MCU
    - Device #1: WARNING! Kernel exec timeout is not disabled, it might cause you errors of code 702
                 See the wiki on how to disable it: https://hashcat.net/wiki/doku.php?id=timeout_patch
    
    OpenCL Platform #2: Mesa, skipped! No OpenCL compatible devices found
    
    WARNING: NVML library load failed, proceed without NVML HWMon enabled.
    Hashes: 1 hashes; 1 unique digests, 1 unique salts
    Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates
    Rules: 1
    Applicable Optimizers:
    * Zero-Byte
    * Precompute-Init
    * Precompute-Merkle-Demgard
    * Meet-In-The-Middle
    * Early-Skip
    * Not-Salted
    * Not-Iterated
    * Single-Hash
    * Single-Salt
    * Raw-Hash
    Watchdog: Temperature abort trigger set to 90c
    Watchdog: Temperature retain trigger set to 75c
    There is that bit about no OpenCL though...and performance is TERRIBLE

    Code:
    Session.Name...: hashcat
    Status.........: Running
    Input.Mode.....: Pipe
    Hash.Target....: 79cfeb94XXXXXXXXXXXXX
    Hash.Type......: MD5
    Time.Started...: Tue Sep 13 21:44:39 2016 (1 min, 9 secs)
    Speed.Dev.#1...:        0 H/s (0.00ms)
    Recovered......: 0/1 (0.00%) Digests, 0/1 (0.00%) Salts
    Progress.......: 0
    Rejected.......: 0
    HWMon.Dev.#1...: N/A
    This is an NVidia GTX 970 - so I would expect a *little* more than 0 H/s!

    I feel like I must be missing something on the OpenCL side since Pyrit doesn't see anything - but I'm stumped

  2. #2
    Join Date
    2016-Sep
    Posts
    6
    Maybe offtopic but can you tell us how did you get the Nvidia drivers to work????

  3. #3
    Join Date
    2016-Sep
    Posts
    12
    How did you install the Nvidia drivers??

  4. #4
    Join Date
    2015-Aug
    Location
    The Pits
    Posts
    86
    lol, I'm only a dummy but I'd bet hashcat is using your cpu, not your GTX970. Ya think?

  5. #5
    Join Date
    2016-Jul
    Posts
    40
    John_Doe is right, you use only your CPU, not your GPU, look at the documentation:
    - http://docs.kali.org/general-use/ins...-on-kali-linux

  6. #6
    Join Date
    2015-Aug
    Location
    The Pits
    Posts
    86
    Hey, while I'm here, how does noob Sys0p1791 manage to post "code windows"? I tried to post the text from my terminal and Kali_org threw a firewall stop at me. Then I looked at the page source and replicated the html wrappings but I still got the firewall stop. How do I show you guys text from the terminal?
    >>EDIT:
    Oh, when I make a new thread there's a # symbol to wrap text into a code box, but now in "edit" there is no option for same. Maybe if I click "Go Advanced"? AHA, there it is!
    BTW, google didn't know this. lol
    Last edited by John_Doe; 2016-09-27 at 03:38. Reason: Found the answer.

  7. #7
    Join Date
    2016-Sep
    Posts
    4
    There are several guides out there for installing the nvidia drivers - this link will give you the steps direct from the kali docs (which is the first place I started)

    It turns out that my problem wasn't with the drivers - it was somewhere with the CUDA libs / paths etc.

    ULTIMATELY what resolved this was by following that document guide - with CAVEATS

    Whenever installing something in that doc with apt - look closely at the "suggested packages" line. MANY of those packages related to CUDA so I ALSO installed all of those (as well as a push driver from Kali to the latest nVidia version)

    After that last pass, also including all of the suggested packages (it was like 3 in the morning so I don't remember what they were), my hashing speeds were up to what I would expect with this card.

  8. #8
    Join Date
    2016-Oct
    Posts
    2
    Yea, the Kali nVidia guide fails here 'apt-get install -y linux-headers-$(uname -r)' for me, I had to use aptitude but then the rest of the guide is okay, (if only the guides where rolling too)

    I'm also having OpenCL issues with Kali, seems there is no clarity, I'd consider hashcat a core utility but for me Kali rolling is turning into a hodgepodge of files that might work and if they dont, it's probably your fault , and you have to read a hundred diluted thumb in the air guides to blag your way through getting it working, and that's the worst feeling when you get it working and have no idea why

    anyway, i thought i would chip in too, I did less cyber-dependency-disco-dancing when Kali wasn't rolling, blog-posts and tutorials had a longer shelf life.

Similar Threads

  1. Replies: 17
    Last Post: 2017-09-23, 12:55
  2. Kali Rolling 2016.2 - Hashcat Problem
    By d3xCon in forum TroubleShooting Archive
    Replies: 4
    Last Post: 2016-10-29, 15:11
  3. Replies: 2
    Last Post: 2016-06-23, 13:33

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •