mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #2457] Formats failing TS --internal #1627
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#1627
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Mar 15, 2017).
Original GitHub issue: https://github.com/openwall/john/issues/2457
IMPORTANT
@kholia commented on GitHub (Mar 16, 2017):
I don't understand the
ssh-ngresults above. I don't know what is wrong inssh-ngformat by looking at the post above.Is
ssh-ngformat failing to crack some valid test vectors? Can you please provide some samplessh-ngtest vectors which are causing problems?@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.
@magnumripper commented on GitHub (Mar 16, 2017):
@kholia use the -stoponerror option.
OK this is weird. How did we crack 9 out of seven?
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.
This, however, is a problem. With all 7 cracked (some twice or more), why are we only seeing one of them here?
@magnumripper commented on GitHub (Mar 16, 2017):
On a side note we might need a
--no-keep-guessingoption in JtR (which would turn off FMT_NOT_EXACT just like--keep-guessingturns it on). And then we could have TS use that option.@magnumripper commented on GitHub (Mar 16, 2017):
ssh-ng problem is gone now.
@magnumripper commented on GitHub (Mar 16, 2017):
The AS400 thing looks like a real bug to me. Weird.
@magnumripper commented on GitHub (Mar 16, 2017):
The six last formats of the OP works fine here. Probably some driver problem.
@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:
I saved the issue to warn more people about the issues:
@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.
@magnumripper commented on GitHub (Mar 17, 2017):
They are replaced with Unicode passwords in
init()when target encoding allows it.@magnumripper commented on GitHub (Mar 17, 2017):
Not sure about bcrypt. I think it may replace
2ato2bin 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 ofaf54b4c6eand TS can't run -internal with John proper.@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".
@magnumripper commented on GitHub (Mar 17, 2017):
See #1530... I knew I had been there before.
@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.
@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?
@ghost commented on GitHub (Mar 17, 2017):
I need to take a closer look at the list. What annoys me more:
It is possible to reproduce on super. But I have'nt be able to create a good reproducer.
ntlmv2-opencl
@ghost commented on GitHub (Mar 17, 2017):
I was able to crash all this (dev 3 and 4)
Solar complained about this (2017-03-22). Some TS run, but I can't say more.
@ghost commented on GitHub (Mar 17, 2017):
And there are the Super Triangle.
$ ./jtrts.pl -v -v -noprelims -internal -type raw-md5-opencl --passthru -dev=6
@ghost commented on GitHub (Mar 17, 2017):
And (the first works, the 2nd fails). BTW: raw-md5 is intermittent on CI
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.
@ghost commented on GitHub (Mar 17, 2017):
And, there are the "what is the correct number after all" problems. E.g.
It will be nice if anyone knows the answer.
@ghost commented on GitHub (Sep 1, 2017):
Keep all failing tests in #2476