|
|
Message-ID: <20120819080057.GA1108@openwall.com>
Date: Sun, 19 Aug 2012 12:00:57 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Cc: Vladimir Vorontsov <vladimir.vorontsov@...ec.ru>
Subject: Re: salted raw MD5 on GPU
I've re-added the CC to Vladimir, and I'll over-quote a little bit.
On Sun, Aug 19, 2012 at 03:46:06PM +0800, myrice wrote:
> Vladimir, Solar
>
> Here is the initial version of salted md5. For simplicity(I haven't
> much time now), I add salt directly using set_key(), not on GPU. So I
> can use the md5_kernel.cl without any change. I will change it later.
That approach you used is just fine for now. That's what I expected you
would use.
(I haven't looked at your code yet; this is from your description above.)
> It only passed self test. The self-test cannot examine loaded hashes.
> I need your help to test.
Vladimir posted a test hash/salt/password to john-users. You can find
more test vectors in dynamic_preloads.c:
static struct fmt_tests _Preloads_4[] =
{
{"$dynamic_4$c02e8eef3eaa1a813c2ff87c1780f9ed$123456","test1"},
{"$dynamic_4$4a2a1b013da3cda7f7e0625cf3dc3f4c$1234","thatsworking"},
{"$dynamic_4$3a032e36a9609df6411b8004070431d3$aaaaa","test3"},
{NULL}
};
...and you should be able to easily generate plenty of them on your own.
> Also, I make the test file to test it. Will let you know latter.
Yes, please.
> The code is here:
>
> https://github.com/qqldd/myrice-JtR/tree/PG-test
>
> Please checkout to PG-test branch after clone
Vladimir - please note that this PG-test tree contains plenty of formats
that are broken by the formats interface change. There are compile-time
warnings for them. These are to be ignored; that's how myrice
experiments with this stuff currently. You only need to be testing this
one format:
> Example:
> ../run/john -te=1 -fo=salt-md5-opencl -pla=1 -dev=0
>
> OpenCL platform 1: AMD Accelerated Parallel Processing, 2 device(s).
> Using device 0: Tahiti
> Local work size (LWS) 64, Global work size (GWS) 65536
> Benchmarking: Salted MD5 [OpenCL]... end self test
> end self test
> DONE
> Many salts: 10922K c/s real, 20889K c/s virtual
> Only one salt: 6402K c/s real, 8949K c/s virtual
Also, please don't be alarmed by the low speeds reported by --test
benchmarks for it. These do not take into consideration password
generation on GPU (two appended characters currently) that occurs during
actual cracking.
Thanks,
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.