mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #2089] "sorry, SSE4.1 required for this build" on VM #1398
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#1398
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 @kost123 on GitHub (Mar 15, 2016).
Original GitHub issue: https://github.com/openwall/john/issues/2089
I am using virtualbox running kali, I am getting that error.
I have an i5 CPU.
Whats up?
@ukasz commented on GitHub (Mar 15, 2016):
cat /proc/cpuinfo - likely there is no SSE4.1 on guest so you won't be able to use it. Does it build after that error?
@frank-dittrich commented on GitHub (Mar 15, 2016):
To me the error looks like trying to run an SSE 4.1 build of john (apparently built outside of that VM) in a VM that doesn't support SSE 4.1.
. /configure && make -s clean && make -sinside the VM should produce a binary without SSE 4.1.JUst a few formats which require SSE 4.1 will not be included.
@magnumripper commented on GitHub (Mar 15, 2016):
I'm pretty sure this is a dupe of #1986, which is a bug in VirtualBox, not JtR.
@magnumripper commented on GitHub (Mar 15, 2016):
VirtualBox 5.0.10 r104061 was reported to work better.
@jfoug commented on GitHub (Sep 9, 2016):
Found this one. The problem is in old core code! My method (which Solor hates), works like a F'n champ, but the legacy cpuid checking crap in x86.S sux.
The work around (for now), is to simply set
export CPUID_DISABLE=1prior to running john in the VM. Then the CPUID checking code will be skipped. NOTE, only do that if the program was build using the configure script, since it 'properly' checks for CPU extensions by blindly running code, and if the code does not crash, then that extension IS valid on the machine.@magnumripper commented on GitHub (Sep 19, 2016):
OK but why reopen this? Do you intend to do any more work with it than that note? I regard it a bug in VirtualBox and that's about it.
@jfoug commented on GitHub (Sep 19, 2016):
It can be closed. I was looking at doing work, BUT it is obvious that this is bugs in VB interface, as far as the recommended probing goes. There were 2 types of probing listed in the intel specs. One uses the cpuid, and the other does what I do in the configure script. Well the dox lists to setup exception handlers, and then run the commands. I simply do it by building a process that ONLY does the command and then returns 0. But same concept.
So what is built by ./configure IS right, it knows what commands run properly. But VBox is causing certain 'subsets' of functionality to not be present in the CPUID checks. Likely those subfunctions within the AVX2/XOP are not working, BUT it is nothing used by john. I am not overly worried about this, now that I know 'how' to make the native built process run on a buggy VBox instance.
@jfoug commented on GitHub (Sep 19, 2016):
I was actually looking for ways to detect when we were running under VBox. There is no safe/generic way to do that. Especially, since there are ways to 'hide' the few techniques to detect, and some of the users we would be targeting may take those form of steps to hide the fact their processes are VM bound.