-
Notifications
You must be signed in to change notification settings - Fork 354
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
hashcat v4.1 mode 11300 doesn't work with ROCm 1.8.1 #437
Comments
What is the hashcat issue number? Can you give a command line and .hash file contents along the lines of the existing example* in the hashcat repo that will definitely exercise mode 11300? |
hashcat issue #1596. The command I was using "./hashcat64.bin -m 11300 hash.txt. wordlist.txt". I would rather not give you the exact hash Im trying to crack. But you can download bitcoin-core and make a wallet using bitcoin-qt with your own known password and add it to a wordlist (most linux systems have a wordlist stored at /usr/share/dict/words or /usr/dict/words) . I used the attach script to extract the hash. |
Would it be possible for you to post the hash to "xyzzy" here? It is already in example.dict |
Think the minimum is 10 characters when using the qt wallet. But yes, if
you give me a 10 character password I will make you a wallet and post the
hash.
…On Tue, Jun 19, 2018, 11:37 b-sumner ***@***.***> wrote:
Would it be possible for you to post the hash to "xyzzy" here? It is
already in example.dict
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#437 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AmebeYorMI-6QWYE2QFhT7HKkqMgaLsLks5t-UUAgaJpZM4UsWVL>
.
|
Thank you very much. How about "zzzzzzzzzz" (10 z's), also located in example.dict. |
As requested. |
Thanks. I see that a debug build of the compiler is asserting. We'll follow up on this. |
So this was a known issue?
…On Tue, Jun 19, 2018, 13:06 b-sumner ***@***.***> wrote:
Thanks. I see that a debug build of the compiler is asserting. We'll
follow up on this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#437 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AmebeTl464iPpiCk5db6jY1Lb64qD4yOks5t-Vm0gaJpZM4UsWVL>
.
|
no it is not known issue |
Any update on this? Additionally, is there any work around to get this to work? Like if I try CENTOS instead or try a newer/older kernel in Ubuntu. I don't understand if the problem is with Rocm and the way it can't perform math functions correctly or just a bug in version 1.8 and the version of Ubuntu I'm using? I guess I'm saying can you prove this ever worked with any version since 1.6? |
I just noticed the same behavior, can you try compiling hash cat with https://developer.amd.com/amd-aocc/ . Then try the amd sdk 2.6 . |
I will make an attempt. I would appreciate an answer though. Has this ever worked with any version of ROCm since 1.6? And please understand, Im not pointing any fingers (the problem still could be hashcat), I just want to know if Ive wasted 7 months of letting hashcat run under different settings just to find out it will never solve the problem. |
Followed instructions listed here. Hashcat is still giving the following error Maybe I edited the make file incorrectly? |
Cant find the AMD SDK 2.6, its not listed at either of the following links. |
I noticed 1.8.2 was released. I tried using centOS 7.5 and hashcat is still giving the error " Is this problem limited to Polaris? Or should I just give up and use NVIDIA hardware? |
No this is a known issue that there is a thread on relating to NVIDIA
causing opencl to fail.
…On Fri, Jul 27, 2018 at 8:42 AM, hashuser1 ***@***.***> wrote:
I noticed 1.8.2 was released. I tried using centOS 7.5 and hashcat is
still giving the error "
"Device #1 <#1>: ATTENTION!
OpenCL kernel self-test failed." I tried compiling using devtoolset and
another try using AOCC. Still broken.
Is this problem limited to Polaris? Or should I just give up and use
NVIDIA hardware?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#437 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AWn0wxHtIbIXwKGVzlcjvI9ms6fZK-DMks5uKmHZgaJpZM4UsWVL>
.
|
Do you have a link to that thread? Currently hashcat admins are claiming
that opencl on both Intel and nvidia are performing fine using mode 11300.
…On Thu, Jul 26, 2018, 17:49 The Doctor ***@***.***> wrote:
No this is a known issue that there is a thread on relating to NVIDIA
causing opencl to fail.
On Fri, Jul 27, 2018 at 8:42 AM, hashuser1 ***@***.***>
wrote:
> I noticed 1.8.2 was released. I tried using centOS 7.5 and hashcat is
> still giving the error "
> "Device #1 <#1>:
ATTENTION!
> OpenCL kernel self-test failed." I tried compiling using devtoolset and
> another try using AOCC. Still broken.
>
> Is this problem limited to Polaris? Or should I just give up and use
> NVIDIA hardware?
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <
#437 (comment)
>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/AWn0wxHtIbIXwKGVzlcjvI9ms6fZK-DMks5uKmHZgaJpZM4UsWVL
>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#437 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AmebeegZo2LZOBCNtBQwOCIMbiCaCd27ks5uKmOGgaJpZM4UsWVL>
.
|
Any update? |
We've fixed the cause of the assertion that was being hit here and by other unrelated applications. Following that, hashcat 4.2 successfully finds the password for hash.txt. I'm not really clear on when those compiler fixes will appear in a release. |
How can I get the updates?
…On Mon, Aug 20, 2018, 16:20 b-sumner ***@***.***> wrote:
We've fixed the cause of the assertion that was being hit here and by
other unrelated applications. Following that, hashcat 4.2 successfully
finds the password for hash.txt. I'm not really clear on when those
compiler fixes will appear in a release.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#437 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Amebecdn_MQgozgJb4A6M2-jx-81IcAzks5uS0REgaJpZM4UsWVL>
.
|
I'm a little confused. I opened a ticket with AMD directly and their team
claims there is nothing wrong. Can you please talk to them and allow the
right hand to know what the left one is doing?
Your service request : SR #{ticketno:[8200822583]} has been reviewed and
updated.
Response and Service Request History:
I really appreciate your patience while I look into your issue.
Feedback from the SW team is that the issue isn't observed in Hashcat
v4.2.1 using ROCm 1.8.x and works just fine.
On Mon, Aug 20, 2018, 20:10 Manuel Ortega <manuel.ortega.jr@gmail.com>
wrote:
… How can I get the updates?
On Mon, Aug 20, 2018, 16:20 b-sumner ***@***.***> wrote:
> We've fixed the cause of the assertion that was being hit here and by
> other unrelated applications. Following that, hashcat 4.2 successfully
> finds the password for hash.txt. I'm not really clear on when those
> compiler fixes will appear in a release.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#437 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/Amebecdn_MQgozgJb4A6M2-jx-81IcAzks5uS0REgaJpZM4UsWVL>
> .
>
|
I guess to clarify. When you tested 4.2, did the opencl self check pass?
Because I cannot get the self check to pass. Are you using extra grub
comments? And are you using rx580s and 1950x processor?
On Tue, Sep 11, 2018, 08:46 Manuel Ortega <manuel.ortega.jr@gmail.com>
wrote:
… I'm a little confused. I opened a ticket with AMD directly and their team
claims there is nothing wrong. Can you please talk to them and allow the
right hand to know what the left one is doing?
Your service request : SR #{ticketno:[8200822583]} has been reviewed and
> updated.
>
> Response and Service Request History:
>
> I really appreciate your patience while I look into your issue.
>
> Feedback from the SW team is that the issue isn't observed in Hashcat
> v4.2.1 using ROCm 1.8.x and works just fine.
>
On Mon, Aug 20, 2018, 20:10 Manuel Ortega ***@***.***>
wrote:
> How can I get the updates?
>
> On Mon, Aug 20, 2018, 16:20 b-sumner ***@***.***> wrote:
>
>> We've fixed the cause of the assertion that was being hit here and by
>> other unrelated applications. Following that, hashcat 4.2 successfully
>> finds the password for hash.txt. I'm not really clear on when those
>> compiler fixes will appear in a release.
>>
>> —
>> You are receiving this because you authored the thread.
>> Reply to this email directly, view it on GitHub
>> <#437 (comment)>,
>> or mute the thread
>> <https://github.com/notifications/unsubscribe-auth/Amebecdn_MQgozgJb4A6M2-jx-81IcAzks5uS0REgaJpZM4UsWVL>
>> .
>>
>
|
I'm running on gfx803, but I only have one installed. Running the hash you provided against example.dict: hashcat (v4.2.1-51-gc8dbcf9) starting... OpenCL Platform #1: Advanced Micro Devices, Inc.
Hashes: 1 digests; 1 unique digests, 1 unique salts Started: Fri Sep 14 12:55:46 2018 Can you post here what hashcat says for you? I see you have two gfx803. Does selftest fail on both devices or just one? If just one, does it run if you remove the other? Does it run with just the other? |
Are you using the AOCC compiled binary or the precompiled binary? The output below is from the precomiled binary (both devices fail self test). When I try to compile using AOCC it gives an error about missing <Alloc.h>. See hashcat issue# #1691. ./hashcat64.bin -b -m 11300 Benchmarking uses hand-optimized kernel code by default. OpenCL Platform #1: Advanced Micro Devices, Inc.
Benchmark relevant options:
Hashmode: 11300 - Bitcoin/Litecoin wallet.dat (Iterations: 199999)
Your device driver installation is probably broken.
Your device driver installation is probably broken. Speed.Dev.#1.....: 2557 H/s (72.67ms) @ Accel:128 Loops:32 Thr:256 Vec:1 Started: Fri Sep 14 13:21:23 2018 |
I also noticed your gfx803 has 64MCU while mine are showing 36MCU. Is my configuration messed up? |
I'm not sure what you mean by "AOCC compiled binary or precompiled binary". I simply cloned the hascat repo, and followed the directions in BUILD.md, except I stopped before "make install". I think gfx803 comes in different packages. I apparently have one with more CUs. |
Can I see the output from 'clang -v' on the machine you compiled it on? Or did you compile using gcc? In the ticket listed above (SR #{ticketno:[8200822583]}), I was told you were compiling using AMD AOCC. |
A 36 CU gfx803 is likely Polaris 10. @b-sumner is likely using Fiji, which has 64 CUs. |
Ok, now we are getting somewhere. If I dont use AOCC and just follow the instructions listed in BUILD.md the selftest errors go away. clang -v ./hashcat -b -m 11300 Benchmarking uses hand-optimized kernel code by default. OpenCL Platform #1: Advanced Micro Devices, Inc.
Benchmark relevant options:
Hashmode: 11300 - Bitcoin/Litecoin wallet.dat (Iterations: 199999) Speed.#1.........: 2558 H/s (72.62ms) @ Accel:128 Loops:32 Thr:256 Vec:1 Started: Fri Sep 14 13:40:49 2018 |
I used gcc 5.4.0 to build hashcat. |
Ok, even though the self test is passing using GCC. Its still not finding the correct answer. I made 2 new wallets and encrypted them with passphrases that are included in example.txt. The wallets unlock using the core wallet with the same password. But still no success finding the hash using hashcat. Can you test the following hashes with the included example.txt? |
The fix may not have arrived in a released compiler (I'm using the tip which finds the answers in both cases). You should be able to try the new compiler in the ROCM 1.9 release very soon. |
ROCm 1.9.0 was released a few minutes ago. :) |
I received an internal report that this was fixed with ROCm 1.9, so closing this issue. |
So I thought this issue was with hashcat but the admins on that project are stating the issue is with ROCm. Im going to post the issue I opened with hashcat and their response. I cant write code so please be gentle. How can I fix the JiT compiler issue?
Ive been doing some testing and hashcat v3.5 and 4.1 do not work correctly when using mode 11300 (bicoin wallet) with ROCm 1.8.1.
Im using xubuntu 16.04.4, 4.13.0-45-generic.
I created a test wallet.dat with a known password and used btcrecover scripts to extract the hash. With ROCm 1.8.1 installed, hashcat does not find the password with the password in a wordlist. I thought it could be the drivers so I did a clean install and tried the AMDGPU-PRO Beta Mining Driver 17.40 with optional rocm. With the AMDGPU driver installed v.3.5 does find the password in the wordlist, but v4.1 still does not.
The good thing is, hashcat informs you about the invalid kernel processing on startup:* Device #2: ATTENTION! OpenCL kernel self-test failed. However, it's not a hashcat problem. I've traced the intermediate keys up to the comparison kernel (where AES comes into play). Both the AES key and the IV is correctly computed on rocm.
The next step would be to initialize the AES key scheduler array and on here (using the same shared library code) rocm start computing invalid values. All other tested OpenCL runtimes (NVidia, Intel, pocl, etc) compute it correctly.
The key scheduler access a shared memory region of the GPU to make it faster. You can however disable this behavior and make it access constant memory region. If we do this you can see how rocm starts to crack without changing any of the code portion. You can reproduce locally by commenting out line 24 in inc_vendor.cl and remove the kernel/ cache folder entirely.
Note that the same shared AES function are used in many other kernels (truecrypt 6221 for example) and they work fine over there. This is not a problem in how shared memory is accessed.I was able to further track down the issue to this data copy from constant memory to shared memory in m11300_comp() function in m11300.cl:
So basically there's nothing we can do to make this more easy. If this doesn't work it's for sure a JiT compiler problem.
The text was updated successfully, but these errors were encountered: