Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220208234652.GA11236@openwall.com>
Date: Wed, 9 Feb 2022 00:46:52 +0100
From: Solar Designer <solar@...nwall.com>
To: john-users@...ts.openwall.com
Subject: Re: Cannot ./john --format=ZIP-opencl on AMD Radeon GPU

Hi,

On Tue, Feb 08, 2022 at 12:51:01PM +0900, dskshnd@...il.com wrote:
> $ ./john --format=ZIP-opencl --test=0
> Device 2: gfx1032 [AMD Radeon RX 6600 XT]
> Testing: ZIP-opencl, WinZip [PBKDF2-SHA1 OpenCL]... PASS
> 
> $ ./john --format=ZIP-opencl --test
> Device 2: gfx1032 [AMD Radeon RX 6600 XT]
> Benchmarking: ZIP-opencl, WinZip [PBKDF2-SHA1 OpenCL]... Memory access 
> fault by GPU node-1 (Agent handle: 0x56190dc33cf0) on address 
> 0x7f2bb0608000. Reason: Page not present or supervisor privilege.
> Aborted (core dumped)

Thank you for reporting this issue.  There isn't much you or us can do
about it.  You can try a different driver version, but this might not
help.  We could look for a bug in our code, but given that it just works
with other GPUs and drivers we have, this is tricky.

> $ ./zip2john zip-filename.zip > ~/hash
> 
> $ ./john --format=ZIP-opencl ~/hash
> Device 1: gfx1032 [AMD Radeon RX 6600 XT]
> Using default input encoding: UTF-8
> Loaded 39 password hashes with 39 different salts (ZIP-opencl, WinZip 
> [PBKDF2-SHA1 OpenCL])
> Loaded hashes with cost 1 (HMAC size) varying from 4484201 to 8913240
> Memory access fault by GPU node-1 (Agent handle: 0x555adc81db00) on 
> address 0x7f8e07faf000. Reason: Page not present or supervisor privilege.
> Aborted (core dumped)
> $
> 
> How should I do to resolve this problem?

Short of moving to another GPU or/and driver, you can omit the
"--format=ZIP-opencl" option to have the attack run on your CPU.

Also, you'll probably want to choose just one out of those 39 "hashes".
Perhaps the one with the lowest iteration count (4484201).  You can do
that by adding the "--cost=4484201:4484201" option.

Alexander

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.