[GH-ISSUE #2457] Formats failing TS --internal #1627

Closed
opened 2026-10-15 04:21:30 +07:00 by bsakaguchi · 21 comments
Owner

Originally created by @ghost on GitHub (Mar 15, 2017).
Original GitHub issue: https://github.com/openwall/john/issues/2457

IMPORTANT

  • There are knows problemas, e.g., descrypt-opencl
  • I tried to narrow some, and saw a lot of crazy stuff: formats saving trash on pot file, OpenMP issues, ...
  • So, I saving the list here for future reference;
form=bcrypt                       guesses:   13 -show=  13 0:00:00:00 DONE : Expected count(s) (14)(-show14)  [!!!FAILED1!!!  ret_val=0]
.pot CHK:bcrypt                   guesses:   12 -show=  13 0:00:00:00 DONE : Expected count(s) (14)  [!!!FAILED4!!!   ret_val=0]  (12 val-pwd  0 inval-pwd)

form=as400-ssha1                  guesses:   13 -show=  14 0:00:00:00 DONE : Expected count(s) (18)(-show18)  [!!!FAILED1!!!  ret_val=0]
.pot CHK:as400-ssha1              guesses:    9 -show=  14 0:00:00:00 DONE : Expected count(s) (18)  [!!!FAILED4!!!   ret_val=0]  (9 val-pwd  0 inval-pwd)

form=pbkdf2-hmac-md4              guesses:   14 -show=  13 0:00:00:00 DONE : Expected count(s) (14)(-show14)  [!!!FAILED3!!!  ret_val=0]
.pot CHK:pbkdf2-hmac-md4          guesses:   13 -show=  13 0:00:00:00 DONE : Expected count(s) (14)  [!!!FAILED4!!!   ret_val=0]  (13 val-pwd  0 inval-pwd)

form=pbkdf2-hmac-md5              guesses:   12 -show=  11 0:00:00:00 DONE : Expected count(s) (12)(-show12)  [!!!FAILED3!!!  ret_val=0]
.pot CHK:pbkdf2-hmac-md5          guesses:   11 -show=  11 0:00:00:00 DONE : Expected count(s) (12)  [!!!FAILED4!!!   ret_val=0]  (11 val-pwd  0 inval-pwd)

form=ssh-ng                       guesses:    9 -show=   1 0:00:00:00 DONE : Expected count(s) (7)(-show7)  [!!!FAILED1!!!  ret_val=0]
.pot CHK:ssh-ng                   guesses:    1 0:00:00:00 DONE  [PASSED] (1 val-pwd)

form=pbkdf2-hmac-md4-opencl       guesses:   14 -show=  13 0:00:00:00 DONE : Expected count(s) (14)(-show14)  [!!!FAILED3!!!  ret_val=0]
.pot CHK:pbkdf2-hmac-md4-opencl   guesses:   13 -show=  13 0:00:00:00 DONE : Expected count(s) (14)  [!!!FAILED4!!!   ret_val=0]  (13 val-pwd  0 inval-pwd)

form=pbkdf2-hmac-md5-opencl       guesses:   12 -show=  11 0:00:00:00 DONE : Expected count(s) (12)(-show12)  [!!!FAILED3!!!  ret_val=0]
.pot CHK:pbkdf2-hmac-md5-opencl   guesses:   11 -show=  11 0:00:00:00 DONE : Expected count(s) (12)  [!!!FAILED4!!!   ret_val=0]  (11 val-pwd  0 inval-pwd)

form=bcrypt-opencl                guesses:   12 -show=  11 0:00:00:00 DONE : Expected count(s) (14)(-show14)  [!!!FAILED1!!!  ret_val=0]
.pot CHK:bcrypt-opencl            guesses:   10 -show=  11 0:00:00:00 DONE : Expected count(s) (14)  [!!!FAILED4!!!   ret_val=0]  (10 val-pwd  0 inval-pwd)

form=descrypt-opencl              guesses:    0 -show=   0 N/A N/A : Expected count(s) (6)(-show6)  [!!!FAILED2!!! ret_val=35584 exited, return code 139]

form=gpg-opencl                   guesses:   10 -show=  10 0:00:00:02 DONE : Expected count(s) (16)(-show16)  [!!!FAILED1!!!  ret_val=0]
.pot CHK:gpg-opencl               guesses:    4 0:00:00:00 DONE  [PASSED] (4 val-pwd)

form=krb5pa-md5-opencl            guesses:    0 -show=   0 N/A N/A : Expected count(s) (9)(-show9)  [!!!FAILED2!!! ret_val=35584 exited, return code 139]

form=mscash-opencl                guesses:    0 -show=   0 N/A N/A : Expected count(s) (9)(-show9)  [!!!FAILED2!!! ret_val=35584 exited, return code 139]

form=nt-opencl                    guesses:   44 0:00:00:00 DONE  [PASSED]
.pot CHK:nt-opencl                guesses:    0 -show=   0 N/A N/A : Expected count(s) (44)  [!!!FAILED4!!!   ret_val=0]  (0 val-pwd  1 inval-pwd)

form=ntlmv2-opencl                guesses:    0 -show=   0 N/A N/A : Expected count(s) (10)(-show10)  [!!!FAILED2!!! ret_val=35584 exited, return code 139]

form=o5logon-opencl               guesses:    5 0:00:00:00 DONE  [PASSED]
.pot CHK:o5logon-opencl           guesses:    0 -show=   0 N/A N/A : Expected count(s) (5)  [!!!FAILED4!!!   ret_val=0]  (0 val-pwd  1 inval-pwd)
Originally created by @ghost on GitHub (Mar 15, 2017). Original GitHub issue: https://github.com/openwall/john/issues/2457 ### IMPORTANT * There are knows problemas, e.g., descrypt-opencl * I tried to narrow some, and saw a lot of crazy stuff: formats saving trash on pot file, OpenMP issues, ... * So, I saving the list here for future reference; ``` form=bcrypt guesses: 13 -show= 13 0:00:00:00 DONE : Expected count(s) (14)(-show14) [!!!FAILED1!!! ret_val=0] .pot CHK:bcrypt guesses: 12 -show= 13 0:00:00:00 DONE : Expected count(s) (14) [!!!FAILED4!!! ret_val=0] (12 val-pwd 0 inval-pwd) form=as400-ssha1 guesses: 13 -show= 14 0:00:00:00 DONE : Expected count(s) (18)(-show18) [!!!FAILED1!!! ret_val=0] .pot CHK:as400-ssha1 guesses: 9 -show= 14 0:00:00:00 DONE : Expected count(s) (18) [!!!FAILED4!!! ret_val=0] (9 val-pwd 0 inval-pwd) form=pbkdf2-hmac-md4 guesses: 14 -show= 13 0:00:00:00 DONE : Expected count(s) (14)(-show14) [!!!FAILED3!!! ret_val=0] .pot CHK:pbkdf2-hmac-md4 guesses: 13 -show= 13 0:00:00:00 DONE : Expected count(s) (14) [!!!FAILED4!!! ret_val=0] (13 val-pwd 0 inval-pwd) form=pbkdf2-hmac-md5 guesses: 12 -show= 11 0:00:00:00 DONE : Expected count(s) (12)(-show12) [!!!FAILED3!!! ret_val=0] .pot CHK:pbkdf2-hmac-md5 guesses: 11 -show= 11 0:00:00:00 DONE : Expected count(s) (12) [!!!FAILED4!!! ret_val=0] (11 val-pwd 0 inval-pwd) form=ssh-ng guesses: 9 -show= 1 0:00:00:00 DONE : Expected count(s) (7)(-show7) [!!!FAILED1!!! ret_val=0] .pot CHK:ssh-ng guesses: 1 0:00:00:00 DONE [PASSED] (1 val-pwd) form=pbkdf2-hmac-md4-opencl guesses: 14 -show= 13 0:00:00:00 DONE : Expected count(s) (14)(-show14) [!!!FAILED3!!! ret_val=0] .pot CHK:pbkdf2-hmac-md4-opencl guesses: 13 -show= 13 0:00:00:00 DONE : Expected count(s) (14) [!!!FAILED4!!! ret_val=0] (13 val-pwd 0 inval-pwd) form=pbkdf2-hmac-md5-opencl guesses: 12 -show= 11 0:00:00:00 DONE : Expected count(s) (12)(-show12) [!!!FAILED3!!! ret_val=0] .pot CHK:pbkdf2-hmac-md5-opencl guesses: 11 -show= 11 0:00:00:00 DONE : Expected count(s) (12) [!!!FAILED4!!! ret_val=0] (11 val-pwd 0 inval-pwd) form=bcrypt-opencl guesses: 12 -show= 11 0:00:00:00 DONE : Expected count(s) (14)(-show14) [!!!FAILED1!!! ret_val=0] .pot CHK:bcrypt-opencl guesses: 10 -show= 11 0:00:00:00 DONE : Expected count(s) (14) [!!!FAILED4!!! ret_val=0] (10 val-pwd 0 inval-pwd) form=descrypt-opencl guesses: 0 -show= 0 N/A N/A : Expected count(s) (6)(-show6) [!!!FAILED2!!! ret_val=35584 exited, return code 139] form=gpg-opencl guesses: 10 -show= 10 0:00:00:02 DONE : Expected count(s) (16)(-show16) [!!!FAILED1!!! ret_val=0] .pot CHK:gpg-opencl guesses: 4 0:00:00:00 DONE [PASSED] (4 val-pwd) form=krb5pa-md5-opencl guesses: 0 -show= 0 N/A N/A : Expected count(s) (9)(-show9) [!!!FAILED2!!! ret_val=35584 exited, return code 139] form=mscash-opencl guesses: 0 -show= 0 N/A N/A : Expected count(s) (9)(-show9) [!!!FAILED2!!! ret_val=35584 exited, return code 139] form=nt-opencl guesses: 44 0:00:00:00 DONE [PASSED] .pot CHK:nt-opencl guesses: 0 -show= 0 N/A N/A : Expected count(s) (44) [!!!FAILED4!!! ret_val=0] (0 val-pwd 1 inval-pwd) form=ntlmv2-opencl guesses: 0 -show= 0 N/A N/A : Expected count(s) (10)(-show10) [!!!FAILED2!!! ret_val=35584 exited, return code 139] form=o5logon-opencl guesses: 5 0:00:00:00 DONE [PASSED] .pot CHK:o5logon-opencl guesses: 0 -show= 0 N/A N/A : Expected count(s) (5) [!!!FAILED4!!! ret_val=0] (0 val-pwd 1 inval-pwd) ```
Author
Owner

@kholia commented on GitHub (Mar 16, 2017):

I don't understand the ssh-ng results above. I don't know what is wrong in ssh-ng format by looking at the post above.

Is ssh-ng format failing to crack some valid test vectors? Can you please provide some sample ssh-ng test vectors which are causing problems?

<!-- gh-comment-id:286955099 --> @kholia commented on GitHub (Mar 16, 2017): I don't understand the `ssh-ng` results above. I don't know what is wrong in `ssh-ng` format by looking at the post above. Is `ssh-ng` format failing to crack some valid test vectors? Can you please provide some sample `ssh-ng` test vectors which are causing problems?
Author
Owner

@magnumripper commented on GitHub (Mar 16, 2017):

Some of the above are failing merely because a test vector is used several times (sometimes using different syntax) which leads to fewer cracks than expected. I recall the PBKDF2 formats are all OK but fails due to something like that.

<!-- gh-comment-id:287089264 --> @magnumripper commented on GitHub (Mar 16, 2017): Some of the above are failing merely because a test vector is used several times (sometimes using different syntax) which leads to fewer cracks than expected. I recall the PBKDF2 formats are all OK but fails due to something like that.
Author
Owner

@magnumripper commented on GitHub (Mar 16, 2017):

@kholia use the -stoponerror option.

$ ./jtrts.pl -internal ssh-ng -stop
-------------------------------------------------------------------------------
- JtR-TestSuite (jtrts). Version 1.13, Dec 21, 2014.  By, JimF & others
- Testing:  John the Ripper v3-3010-gfbdbe64 OMP [darwin16.4.0 64-bit AVX-ac]
--------------------------------------------------------------------------------

John Jumbo build detected.
Running JTRTS in -internal mode

form=ssh-ng                       guesses:    9 -show=   1 0:00:00:00 DONE : Expected count(s) (7)(-show7)  [!!!FAILED1!!!  ret_val=0]
Exiting on error. The .pot file tst-.pot contains the found data
The command used to run this test was:

../run/john -ses=tst-  -skip -pot=tst-.pot tst-.in --wordlist=tst-.dic -form=ssh-ng
and
../run/john -show   -pot=tst-.pot tst-.in -form=ssh-ng

OK this is weird. How did we crack 9 out of seven?

$ ../run/john -ses=tst-  -skip -pot=tst-.pot tst-.in --wordlist=tst-.dic -form=ssh-ng
Loaded 7 password hashes with 7 different salts (SSH-ng [RSA/DSA/EC/OPENSSH (SSH private keys) 32/64])
Will run 8 OpenMP threads
Note: This format may emit false positives, so it will keep trying even after
finding a possible candidate.
Press 'q' or Ctrl-C to abort, almost any other key for status
password123      (vec_6)
strongpassword   (vec_0)
television       (vec_5)
television       (vec_5)
C0Ld.FUS10N      (vec_4)
Olympics         (vec_2)
extuitive        (vec_3)
television       (vec_1)
television       (vec_1)
9g 0:00:00:00 DONE (2017-03-16 16:16) 900.0g/s 700.0p/s 4900c/s 4900C/s strongpassword..password123
Session completed

Here's the answer: This is a FMT_NOT_EXACT so may crack things twice (or more) and the TS aren't aware of that. So probably not a problem here.

$ ../run/john -show   -pot=tst-.pot tst-.in -form=ssh-ng
vec_6:password123

1 password hash cracked, 6 left

This, however, is a problem. With all 7 cracked (some twice or more), why are we only seeing one of them here?

<!-- gh-comment-id:287090834 --> @magnumripper commented on GitHub (Mar 16, 2017): @kholia use the -stoponerror option. ``` $ ./jtrts.pl -internal ssh-ng -stop ------------------------------------------------------------------------------- - JtR-TestSuite (jtrts). Version 1.13, Dec 21, 2014. By, JimF & others - Testing: John the Ripper v3-3010-gfbdbe64 OMP [darwin16.4.0 64-bit AVX-ac] -------------------------------------------------------------------------------- John Jumbo build detected. Running JTRTS in -internal mode form=ssh-ng guesses: 9 -show= 1 0:00:00:00 DONE : Expected count(s) (7)(-show7) [!!!FAILED1!!! ret_val=0] Exiting on error. The .pot file tst-.pot contains the found data The command used to run this test was: ../run/john -ses=tst- -skip -pot=tst-.pot tst-.in --wordlist=tst-.dic -form=ssh-ng and ../run/john -show -pot=tst-.pot tst-.in -form=ssh-ng ``` OK this is weird. How did we crack 9 out of seven? ``` $ ../run/john -ses=tst- -skip -pot=tst-.pot tst-.in --wordlist=tst-.dic -form=ssh-ng Loaded 7 password hashes with 7 different salts (SSH-ng [RSA/DSA/EC/OPENSSH (SSH private keys) 32/64]) Will run 8 OpenMP threads Note: This format may emit false positives, so it will keep trying even after finding a possible candidate. Press 'q' or Ctrl-C to abort, almost any other key for status password123 (vec_6) strongpassword (vec_0) television (vec_5) television (vec_5) C0Ld.FUS10N (vec_4) Olympics (vec_2) extuitive (vec_3) television (vec_1) television (vec_1) 9g 0:00:00:00 DONE (2017-03-16 16:16) 900.0g/s 700.0p/s 4900c/s 4900C/s strongpassword..password123 Session completed ``` Here's the answer: This is a FMT_NOT_EXACT so may crack things twice (or more) and the TS aren't aware of that. So probably not a problem here. ``` $ ../run/john -show -pot=tst-.pot tst-.in -form=ssh-ng vec_6:password123 1 password hash cracked, 6 left ``` This, however, is a problem. With all 7 cracked (some twice or more), why are we only seeing one of them here?
Author
Owner

@magnumripper commented on GitHub (Mar 16, 2017):

On a side note we might need a --no-keep-guessing option in JtR (which would turn off FMT_NOT_EXACT just like --keep-guessing turns it on). And then we could have TS use that option.

<!-- gh-comment-id:287092107 --> @magnumripper commented on GitHub (Mar 16, 2017): On a side note we might need a `--no-keep-guessing` option in JtR (which would turn off FMT_NOT_EXACT just like `--keep-guessing` turns it on). And then we could have TS use that option.
Author
Owner

@magnumripper commented on GitHub (Mar 16, 2017):

ssh-ng problem is gone now.

<!-- gh-comment-id:287093738 --> @magnumripper commented on GitHub (Mar 16, 2017): ssh-ng problem is gone now.
Author
Owner

@magnumripper commented on GitHub (Mar 16, 2017):

The AS400 thing looks like a real bug to me. Weird.

<!-- gh-comment-id:287096228 --> @magnumripper commented on GitHub (Mar 16, 2017): The AS400 thing looks like a real bug to me. Weird.
Author
Owner

@magnumripper commented on GitHub (Mar 16, 2017):

The six last formats of the OP works fine here. Probably some driver problem.

<!-- gh-comment-id:287097309 --> @magnumripper commented on GitHub (Mar 16, 2017): The six last formats of the OP works fine here. Probably some driver problem.
Author
Owner

@ghost commented on GitHub (Mar 16, 2017):

The best approach here is to look at what each format is doing. E.g., super's NVIDIA:

  • ntlmv2
Press 'q' or Ctrl-C to abort, almost any other key for status
OpenCL CL_OUT_OF_RESOURCES error in opencl_ntlmv2_fmt_plug.c:922 - failed in reading back num cracked hashes.
  • krb5pa-md5-opencl. Where are the real passwords 'fr2beesgr' and 'openwall'?
$ ../run/john alltests.in --format=krb5pa-md5-opencl -word:allwords.in
Device 6: GeForce GTX TITAN X
Loaded 8 password hashes with 8 different salts (krb5pa-md5-opencl, Kerberos 5 AS-REQ Pre-Auth etype 23 [MD4 HMAC-MD5 RC4 OpenCL])
Press 'q' or Ctrl-C to abort, almost any other key for status
��               (?)
the              (?)
�                (?)
                 (?)
openwall@123     (?)
John             (?)
Ripper           (?)
frank            (?)
8g 0:00:00:01 DONE (2017-03-16 19:31) 8.000g/s 9.000p/s 72.00c/s 72.00C/s GPU:44°C frank..Ripper
Warning: passwords printed above might not be all those cracked
Use the "--show" option to display all of the cracked passwords reliably
Session completed
  • raw-md5-opencl
Device 6: GeForce GTX TITAN X
Press 'q' or Ctrl-C to abort, almost any other key for status
OpenCL CL_OUT_OF_RESOURCES error in opencl_hash_check_128_plug.c:440 - failed in reading back num cracked hashes.

I saved the issue to warn more people about the issues:

  • I will improve the bugs details sooner or later;
  • there are real bugs in it;
  • don't shoot the messenger.
<!-- gh-comment-id:287118246 --> @ghost commented on GitHub (Mar 16, 2017): The best approach here is to look at what each format is doing. E.g., super's NVIDIA: * ntlmv2 ``` Press 'q' or Ctrl-C to abort, almost any other key for status OpenCL CL_OUT_OF_RESOURCES error in opencl_ntlmv2_fmt_plug.c:922 - failed in reading back num cracked hashes. ``` * krb5pa-md5-opencl. Where are the real passwords 'fr2beesgr' and 'openwall'? ``` $ ../run/john alltests.in --format=krb5pa-md5-opencl -word:allwords.in Device 6: GeForce GTX TITAN X Loaded 8 password hashes with 8 different salts (krb5pa-md5-opencl, Kerberos 5 AS-REQ Pre-Auth etype 23 [MD4 HMAC-MD5 RC4 OpenCL]) Press 'q' or Ctrl-C to abort, almost any other key for status �� (?) the (?) � (?) (?) openwall@123 (?) John (?) Ripper (?) frank (?) 8g 0:00:00:01 DONE (2017-03-16 19:31) 8.000g/s 9.000p/s 72.00c/s 72.00C/s GPU:44°C frank..Ripper Warning: passwords printed above might not be all those cracked Use the "--show" option to display all of the cracked passwords reliably Session completed ``` * raw-md5-opencl ``` Device 6: GeForce GTX TITAN X Press 'q' or Ctrl-C to abort, almost any other key for status OpenCL CL_OUT_OF_RESOURCES error in opencl_hash_check_128_plug.c:440 - failed in reading back num cracked hashes. ``` ***** I saved the issue to warn more people about the issues: * I will improve the bugs details sooner or later; * there are real bugs in it; * don't shoot the messenger.
Author
Owner

@magnumripper commented on GitHub (Mar 16, 2017):

LOL of course we're not shooting the messenger. So there's misses even with nvidia on Linux... I will look into this tomorrow.

<!-- gh-comment-id:287128442 --> @magnumripper commented on GitHub (Mar 16, 2017): LOL of course we're not shooting the messenger. So there's misses even with nvidia on Linux... I will look into this tomorrow.
Author
Owner

@magnumripper commented on GitHub (Mar 17, 2017):

Where are the real passwords 'fr2beesgr' and 'openwall'?

They are replaced with Unicode passwords in init() when target encoding allows it.

<!-- gh-comment-id:287341961 --> @magnumripper commented on GitHub (Mar 17, 2017): > Where are the real passwords 'fr2beesgr' and 'openwall'? They are replaced with Unicode passwords in `init()` when target encoding allows it.
Author
Owner

@magnumripper commented on GitHub (Mar 17, 2017):

Not sure about bcrypt. I think it may replace 2a to 2b in the pot file or something like that, confusing TS. But there seem to be other strange things going on when running OMP. Unfortunately we can't look at a diff from master branch because of af54b4c6e and TS can't run -internal with John proper.

<!-- gh-comment-id:287362129 --> @magnumripper commented on GitHub (Mar 17, 2017): Not sure about bcrypt. I think it may replace $2a$ to $2b$ in the pot file or something like that, confusing TS. But there seem to be other strange things going on when running OMP. Unfortunately we can't look at a diff from master branch because of af54b4c6e and TS can't run -internal with John proper.
Author
Owner

@magnumripper commented on GitHub (Mar 17, 2017):

I did some manual checking with John proper and it has the same "problem". It loads and cracks 13 hashes but -show says there's "13 password hashes cracked, 1 left".

<!-- gh-comment-id:287363585 --> @magnumripper commented on GitHub (Mar 17, 2017): I did some manual checking with John proper and it has the same "problem". It loads and cracks 13 hashes but -show says there's "13 password hashes cracked, 1 left".
Author
Owner

@magnumripper commented on GitHub (Mar 17, 2017):

See #1530... I knew I had been there before.

<!-- gh-comment-id:287364914 --> @magnumripper commented on GitHub (Mar 17, 2017): See #1530... I knew I had been there before.
Author
Owner

@magnumripper commented on GitHub (Mar 17, 2017):

OK so let's just forget about bcrypt. I believe the only things left here are issues like "CL_OUT_OF_RESOURCES" mentioned above.

<!-- gh-comment-id:287365817 --> @magnumripper commented on GitHub (Mar 17, 2017): OK so let's just forget about bcrypt. I believe the only things left here are issues like "CL_OUT_OF_RESOURCES" mentioned above.
Author
Owner

@magnumripper commented on GitHub (Mar 17, 2017):

...and I do not get those problems. Perhaps someone else was using the Titan X at the same time?

<!-- gh-comment-id:287367989 --> @magnumripper commented on GitHub (Mar 17, 2017): ...and I do not get those problems. Perhaps someone else was using the Titan X at the same time?
Author
Owner

@ghost commented on GitHub (Mar 17, 2017):

I need to take a closer look at the list. What annoys me more:

  • Almost all formats are solid rock.
  • some formats has intermittent sh**t.
  • the same formats always fail (CI);
  • some are crashing;

It is possible to reproduce on super. But I have'nt be able to create a good reproducer.

$ ./jtrts.pl -internal -type krb5pa-md5-opencl --passthru -dev=3
-------------------------------------------------------------------------------
- JtR-TestSuite (jtrts). Version 1.13, Dec 21, 2014.  By, JimF & others
- Testing:  John the Ripper 1.8.0-jumbo-1-5565-g975cf24+ OMP [linux-gnu 64-bit AVX-ac]
--------------------------------------------------------------------------------

John Jumbo build detected.
Running JTRTS in -internal mode
sh: line 1: 12680 Segmentation fault      ../run/john -ses=tst- -dev=3 -skip -pot=tst-.pot tst-.in --wordlist=tst-.dic -form=krb5pa-md5-opencl 2>&1 > /dev/null

form=krb5pa-md5-opencl            guesses:    0 -show=   0 N/A N/A : Expected count(s) (9)(-show9)  [!!!FAILED2!!! ret_val=35584 exited, return code 139]
Some tests had Errors. Performed 1 tests.  1 errors  1 runs had non-clean exit
Time used was 8 seconds

ntlmv2-opencl

Execute john: ../run/john -ses=tst-  -dev=3 -skip -pot=tst-.pot tst-.in --wordlist=tst-.dic -form=ntlmv2-opencl 2>&1 >/dev/null
sh: line 1: 17216 Segmentation fault      ../run/john -ses=tst- -dev=3 -skip -pot=tst-.pot tst-.in --wordlist=tst-.dic -form=ntlmv2-opencl 2>&1 > /dev/null
<!-- gh-comment-id:287408509 --> @ghost commented on GitHub (Mar 17, 2017): I need to take a closer look at the list. What annoys me more: * Almost all formats are solid rock. * some formats has intermittent sh**t. * the same formats always fail (CI); * some are crashing; It is possible to reproduce on super. But I have'nt be able to create a good reproducer. ``` $ ./jtrts.pl -internal -type krb5pa-md5-opencl --passthru -dev=3 ------------------------------------------------------------------------------- - JtR-TestSuite (jtrts). Version 1.13, Dec 21, 2014. By, JimF & others - Testing: John the Ripper 1.8.0-jumbo-1-5565-g975cf24+ OMP [linux-gnu 64-bit AVX-ac] -------------------------------------------------------------------------------- John Jumbo build detected. Running JTRTS in -internal mode sh: line 1: 12680 Segmentation fault ../run/john -ses=tst- -dev=3 -skip -pot=tst-.pot tst-.in --wordlist=tst-.dic -form=krb5pa-md5-opencl 2>&1 > /dev/null form=krb5pa-md5-opencl guesses: 0 -show= 0 N/A N/A : Expected count(s) (9)(-show9) [!!!FAILED2!!! ret_val=35584 exited, return code 139] Some tests had Errors. Performed 1 tests. 1 errors 1 runs had non-clean exit Time used was 8 seconds ``` ntlmv2-opencl ``` Execute john: ../run/john -ses=tst- -dev=3 -skip -pot=tst-.pot tst-.in --wordlist=tst-.dic -form=ntlmv2-opencl 2>&1 >/dev/null sh: line 1: 17216 Segmentation fault ../run/john -ses=tst- -dev=3 -skip -pot=tst-.pot tst-.in --wordlist=tst-.dic -form=ntlmv2-opencl 2>&1 > /dev/null ```
Author
Owner

@ghost commented on GitHub (Mar 17, 2017):

I was able to crash all this (dev 3 and 4)

./jtrts.pl -noprelims -internal -type krb5pa-md5-opencl --passthru -dev=3
./jtrts.pl -noprelims -internal -type mscash-opencl --passthru -dev=3
./jtrts.pl -noprelims -internal -type nt-opencl --passthru -dev=3
./jtrts.pl -noprelims -internal -type ntlmv2-opencl --passthru -dev=3
./jtrts.pl -noprelims -internal -type o5logon-opencl --passthru -dev=3
  1. o5logon sometimes crash.
  2. the others crash frequently.

Solar complained about this (2017-03-22). Some TS run, but I can't say more.

claudio  10702  100  0.0 167260160 110336 ?    Sl   Mar17 7497:58 ../run/john -ses=tst- -dev=3 -skip -pot=tst-.pot tst-.in --wordlist=tst-.dic -form=krb5pa-md5-opencl
<!-- gh-comment-id:287412840 --> @ghost commented on GitHub (Mar 17, 2017): I was able to crash all this (dev 3 and 4) ``` ./jtrts.pl -noprelims -internal -type krb5pa-md5-opencl --passthru -dev=3 ./jtrts.pl -noprelims -internal -type mscash-opencl --passthru -dev=3 ./jtrts.pl -noprelims -internal -type nt-opencl --passthru -dev=3 ./jtrts.pl -noprelims -internal -type ntlmv2-opencl --passthru -dev=3 ./jtrts.pl -noprelims -internal -type o5logon-opencl --passthru -dev=3 ``` 1. o5logon sometimes crash. 2. the others crash frequently. **** Solar complained about this (2017-03-22). Some TS run, but I can't say more. ``` claudio 10702 100 0.0 167260160 110336 ? Sl Mar17 7497:58 ../run/john -ses=tst- -dev=3 -skip -pot=tst-.pot tst-.in --wordlist=tst-.dic -form=krb5pa-md5-opencl ```
Author
Owner

@ghost commented on GitHub (Mar 17, 2017):

And there are the Super Triangle.

  • Now.
  • I am alone on super.
  • If I change to a "good" format. All passes.
  • The 3rd time is more than a coincidence.

$ ./jtrts.pl -v -v -noprelims -internal -type raw-md5-opencl --passthru -dev=6

tstdata = (raw-md5-opencl),(X),(jumbo),10000,raw-md5-opencl,tst-,tst-.in,raw-md5-opencl,Y,X,(7)(-show7),(7)

Execute john: ../run/john -ses=tst-  -dev=6 -skip -pot=tst-.pot tst-.in --wordlist=tst-.dic -form=raw-md5-opencl 2>&1 >/dev/null


Cmd_data = 
Device 6: GeForce GTX TITAN X
Press 'q' or Ctrl-C to abort, almost any other key for status
OpenCL CL_OUT_OF_RESOURCES error in opencl_hash_check_128_plug.c:440 - failed in reading back num cracked hashes.
$ nvidia-smi
Fri Mar 17 20:07:02 2017       
+------------------------------------------------------+                       
| NVIDIA-SMI 361.28     Driver Version: 361.28         |                       
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX TITAN   Off  | 0000:83:00.0     Off |                  N/A |
| 30%   34C    P8    13W / 250W |     15MiB /  6143MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX TIT...  Off  | 0000:84:00.0     Off |                  N/A |
| 22%   39C    P8    15W / 250W |     23MiB / 12287MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
<!-- gh-comment-id:287415183 --> @ghost commented on GitHub (Mar 17, 2017): And there are the Super Triangle. * Now. * I am alone on super. * If I change to a "good" format. All passes. * The 3rd time is more than a coincidence. $ ./jtrts.pl -v -v -noprelims -internal -type raw-md5-opencl --passthru -dev=6 ``` tstdata = (raw-md5-opencl),(X),(jumbo),10000,raw-md5-opencl,tst-,tst-.in,raw-md5-opencl,Y,X,(7)(-show7),(7) Execute john: ../run/john -ses=tst- -dev=6 -skip -pot=tst-.pot tst-.in --wordlist=tst-.dic -form=raw-md5-opencl 2>&1 >/dev/null Cmd_data = Device 6: GeForce GTX TITAN X Press 'q' or Ctrl-C to abort, almost any other key for status OpenCL CL_OUT_OF_RESOURCES error in opencl_hash_check_128_plug.c:440 - failed in reading back num cracked hashes. ``` ``` $ nvidia-smi Fri Mar 17 20:07:02 2017 +------------------------------------------------------+ | NVIDIA-SMI 361.28 Driver Version: 361.28 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce GTX TITAN Off | 0000:83:00.0 Off | N/A | | 30% 34C P8 13W / 250W | 15MiB / 6143MiB | 0% Default | +-------------------------------+----------------------+----------------------+ | 1 GeForce GTX TIT... Off | 0000:84:00.0 Off | N/A | | 22% 39C P8 15W / 250W | 23MiB / 12287MiB | 0% Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | No running processes found | +-----------------------------------------------------------------------------+ ```
Author
Owner

@ghost commented on GitHub (Mar 17, 2017):

And (the first works, the 2nd fails). BTW: raw-md5 is intermittent on CI

  • I wasn't able to reproduce the error on dev 7. Is it pushing too hard when running a strong hardware?
  • I wasn't able to see an error if I try a "good" format, fast or slow.
$ ./jtrts.pl -noprelims -internal -type ntlmv2-opencl --passthru -dev=6
$ ./jtrts.pl -noprelims -internal -type raw-md5-opencl --passthru -dev=6

I see nothing bad in the TS building process. Maybe all LOC_* = -1?

Device 6: GeForce GTX TITAN X
Loaded 5 hashes with 1 different salts to test db from test vectors
Options used: -I /home/claudio/bleeding/run/kernels -cl-mad-enable -DSM_MAJOR=5 -DSM_MINOR=2 -cl-nv-verbose -D__GPU__ -DDEVICE_INFO=262162 -DSIZEOF_SIZE_T=8 -DDEV_VER_MAJOR=361 -DDEV_VER_MINOR=28 -D_OPENCL_COMPILER -D OFFSET_TABLE_SIZE=12 -D HASH_TABLE_SIZE=7 -D SHIFT64_OT_SZ=4 -D SHIFT64_HT_SZ=2 -D NUM_LOADED_HASHES=6 -D NUM_INT_KEYS=1 -D SELECT_CMP_STEPS=4 -D BITMAP_SIZE_BITS_LESS_ONE=32767 -D USE_LOCAL_BITMAPS=1 -D IS_STATIC_GPU_MASK=0 -D CONST_CACHE_SIZE=65536 -D LOC_0=-1 -D LOC_1=-1 -D LOC_2=-1 -D LOC_3=-1 $JOHN/kernels/md5_kernel.cl

Press 'q' or Ctrl-C to abort, almost any other key for status
OpenCL CL_OUT_OF_RESOURCES error in opencl_hash_check_128_plug.c:440 - failed in reading back num cracked hashes.

<!-- gh-comment-id:287419948 --> @ghost commented on GitHub (Mar 17, 2017): And (the first works, the 2nd fails). BTW: raw-md5 is intermittent on CI * I wasn't able to reproduce the error on dev 7. Is it pushing too hard when running a strong hardware? * I wasn't able to see an error if I try a "good" format, fast or slow. ``` $ ./jtrts.pl -noprelims -internal -type ntlmv2-opencl --passthru -dev=6 $ ./jtrts.pl -noprelims -internal -type raw-md5-opencl --passthru -dev=6 ``` I see nothing bad in the TS building process. Maybe all LOC_* = -1? Device 6: GeForce GTX TITAN X Loaded 5 hashes with 1 different salts to test db from test vectors Options used: -I /home/claudio/bleeding/run/kernels -cl-mad-enable -DSM_MAJOR=5 -DSM_MINOR=2 -cl-nv-verbose -D__GPU__ -DDEVICE_INFO=262162 -DSIZEOF_SIZE_T=8 -DDEV_VER_MAJOR=361 -DDEV_VER_MINOR=28 -D_OPENCL_COMPILER -D OFFSET_TABLE_SIZE=12 -D HASH_TABLE_SIZE=7 -D SHIFT64_OT_SZ=4 -D SHIFT64_HT_SZ=2 -D NUM_LOADED_HASHES=6 -D NUM_INT_KEYS=1 -D SELECT_CMP_STEPS=4 -D BITMAP_SIZE_BITS_LESS_ONE=32767 -D USE_LOCAL_BITMAPS=1 -D IS_STATIC_GPU_MASK=0 -D CONST_CACHE_SIZE=65536 -D LOC_0=-1 -D LOC_1=-1 -D LOC_2=-1 -D LOC_3=-1 $JOHN/kernels/md5_kernel.cl Press 'q' or Ctrl-C to abort, almost any other key for status OpenCL CL_OUT_OF_RESOURCES error in opencl_hash_check_128_plug.c:440 - failed in reading back num cracked hashes.
Author
Owner

@ghost commented on GitHub (Mar 17, 2017):

And, there are the "what is the correct number after all" problems. E.g.

$ ./jtrts.pl -noprelims -internal -type pbkdf2-hmac-md4
-------------------------------------------------------------------------------
- JtR-TestSuite (jtrts). Version 1.13, Dec 21, 2014.  By, JimF & others
- Testing:  John the Ripper 1.8.0-jumbo-1-5565-g975cf24+ OMP [linux-gnu 64-bit AVX-ac]
--------------------------------------------------------------------------------

John Jumbo build detected.
Running JTRTS in -internal mode

form=pbkdf2-hmac-md4              guesses:   14 -show=  13 0:00:00:00 DONE : Expected count(s) (14)(-show14)  [!!!FAILED3!!!  ret_val=0]
.pot CHK:pbkdf2-hmac-md4          guesses:   13 -show=  13 0:00:00:00 DONE : Expected count(s) (14)  [!!!FAILED4!!!   ret_val=0]  (13 val-pwd  0 inval-pwd)
Some tests had Errors. Performed 1 tests.  1 errors  1 errors reprocessing the .POT files
Time used was 15 seconds

It will be nice if anyone knows the answer.

<!-- gh-comment-id:287423377 --> @ghost commented on GitHub (Mar 17, 2017): And, there are the "what is the correct number after all" problems. E.g. ``` $ ./jtrts.pl -noprelims -internal -type pbkdf2-hmac-md4 ------------------------------------------------------------------------------- - JtR-TestSuite (jtrts). Version 1.13, Dec 21, 2014. By, JimF & others - Testing: John the Ripper 1.8.0-jumbo-1-5565-g975cf24+ OMP [linux-gnu 64-bit AVX-ac] -------------------------------------------------------------------------------- John Jumbo build detected. Running JTRTS in -internal mode form=pbkdf2-hmac-md4 guesses: 14 -show= 13 0:00:00:00 DONE : Expected count(s) (14)(-show14) [!!!FAILED3!!! ret_val=0] .pot CHK:pbkdf2-hmac-md4 guesses: 13 -show= 13 0:00:00:00 DONE : Expected count(s) (14) [!!!FAILED4!!! ret_val=0] (13 val-pwd 0 inval-pwd) Some tests had Errors. Performed 1 tests. 1 errors 1 errors reprocessing the .POT files Time used was 15 seconds ``` It will be nice if anyone knows the answer.
Author
Owner

@ghost commented on GitHub (Sep 1, 2017):

Keep all failing tests in #2476

<!-- gh-comment-id:326593962 --> @ghost commented on GitHub (Sep 1, 2017): Keep all failing tests in #2476
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#1627
No description provided.