Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Precomputation using internal graphics #23

Closed
chriswcohen opened this issue Oct 1, 2020 · 11 comments
Closed

Precomputation using internal graphics #23

chriswcohen opened this issue Oct 1, 2020 · 11 comments

Comments

@chriswcohen
Copy link

Hi, I've the following two Devices being seen in my laptop:

Device #0:
Vendor: NVIDIA Corporation
Name: GeForce GTX 1650
Version: OpenCL 1.2 CUDA
Driver: 419.71
Max compute units: 16
Max work group size: 1024
Global memory size: 4294967296

Device #1:
Vendor: Intel(R) Corporation
Name: Intel(R) UHD Graphics 630
Version: OpenCL 2.1 NEO
Driver: 26.20.100.7985
Max compute units: 24
Max work group size: 256
Global memory size: 13626322944

When I run crackalack_lookup over a file containing multiple hashes, each precomutation it reports to takes 3 minutes.

Looking at my Task Manager I can see that my Internal Graphics card "Intel(R) UHD Graphics 630" is maxed out at 100%, with blips down between precomputations, while my GTX 1650 is sitting idle.

The same appears to happen after precomputation, when I use just one hash and it's searching the tables the internal GPU is spiking regularly, which the GTX 1650 appears not to be doing anything.

Any help to get the program to favor the better of the two graphic devices would be appreciated. Thanks in advance.

@jtesta
Copy link
Owner

jtesta commented Oct 1, 2020 via email

@chriswcohen
Copy link
Author

That makes sense. Wow - that would be amazing, I'm on Windows.

@jtesta
Copy link
Owner

jtesta commented Oct 1, 2020

Here you go! I don't have a system to test this on, but the patch was fairly straightforward. You should see a message that says "Found system with Intel + NVIDIA/AMD mix. Disabling Intel GPU at X." Then your NVIDIA GPU should be busy and your Intel GPU should be idle. Please let me know if it works!

Here's the special build: https://www.rainbowcrackalack.com/Rainbow_Crackalack_Win64_v1.2-intel_skip_0.zip
Here's my signature on it: https://www.rainbowcrackalack.com/Rainbow_Crackalack_Win64_v1.2-intel_skip_0.zip.sig
Here's my updated key (last one expired in June): https://www.positronsecurity.com/company/jtesta.asc

@chriswcohen
Copy link
Author

That worked! Amazing. Precomputation now takes 20 seconds or so per hash. It did give a warning saying the issues of running it on Windows 7 (it wasn't) but otherwie works as expected. Thank you.

Though I have now run into another problem, it crashes out when searching after precomputing if more than a small amount of hashes are checked at a single time, i.e. from a file. It worked with 2 hashes, but wouldn't work with 5. The error says that the host has run out of memory, though I've got 32 Gb and it's doesn't seem to be running out, perhaps its the graphics cards memory?

@jtesta
Copy link
Owner

jtesta commented Oct 1, 2020 via email

@jtesta
Copy link
Owner

jtesta commented Oct 1, 2020 via email

@chriswcohen
Copy link
Author

That's worked - amazing, thank you. I've been able to complete the process completely with 10 hashes. I'm now running a file with 350 hashes (using just the ntlm8 tables) and it appears to be taking much longer (12 hours apposed to a couple of hours) and appears to be maxing out my CPU when 'searching table for matching endpoint'. It something I didn't notice when doing it with fewer hashes - just wondering if this is expected behavior?

@jtesta
Copy link
Owner

jtesta commented Oct 2, 2020 via email

@jtesta
Copy link
Owner

jtesta commented Oct 2, 2020 via email

@chriswcohen
Copy link
Author

Well it completed - cracked 25 of them, which is not too bad at all as the 350 were what was left uncracked after extensive dictionary/rules and masks attacks. Fantastic - thank you very much for all your help.

@jtesta
Copy link
Owner

jtesta commented Oct 3, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants