john icon indicating copy to clipboard operation
john copied to clipboard

Bitlocker OpenCL format can't crack its own test vectors

Open magnumripper opened this issue 3 years ago • 3 comments

The last two test vectors, "Recovery Password attack" and "Same test with MAC verification" (neither supported at all by the CPU version) somehow pass self-test but fails if you put them in a file and try to crack them.

$ ./jtrts.pl -internal bitlocker-opencl 
-------------------------------------------------------------------------------
- JtR-TestSuite (jtrts). Version 1.13, Dec 21, 2014.  By, JimF & others
- Testing:  John the Ripper 1.9.0-jumbo-1+bleeding-79cb84652 2021-12-10 18:46:29 +0100 OMP [linux-gnu 64-bit x86_64 AVX2 AC]
--------------------------------------------------------------------------------

John Jumbo build detected.
Running JTRTS in -internal mode

form=bitlocker-opencl             guesses:    7 -show=   7 0:00:00:33 DONE : Expected count(s) (9)(-show9)  [!!!FAILED1!!!  ret_val=0]
.pot CHK:bitlocker-opencl         guesses:    7 0:00:00:26 DONE  [PASSED] (0 val-pwd)
Some tests had Errors. Performed 1 tests.  1 errors
Time used was 74 seconds

magnumripper avatar Dec 10 '21 18:12 magnumripper

@claudioandre-br I assume this problem went under your radar because you disable this format for being extremely slow?

magnumripper avatar Dec 10 '21 18:12 magnumripper

The support for that format was added by @e-ago in 6c1e2a46317

magnumripper avatar Dec 10 '21 18:12 magnumripper

@claudioandre-br I assume this problem went under your radar because you disable this format for being extremely slow?

I used to have --internal enabled for all CI executions. It is not the case nowadays.

Anyway, I actually have a note of bitlocker failing with TS --internall specifically.

claudioandre-br avatar Dec 10 '21 18:12 claudioandre-br