bruteforce-luks
bruteforce-luks copied to clipboard
Bruteforce luks :is not a valid LUKS volume, or you don't have permission to access it.
greetings, I tried to decrypt my luks2 hard drive, I came across this issue, I ran bruteforce-luks as root, still getting this error, I cloned the drive used the header but still the same issue, can any one help?
sudo bruteforce-luks -t 4 -f '/media/aka/Courses/img/password.txt' -v 30 '/media/aka/Courses/img/LUKS.001'
luks2 has protections against bruteforce hence you get that error. I have not found an alternative that can bruteforce luks2 yet.
Trying to decrypt a luks2 volume should work, unless the program was compiled with an older version of libcryptsetup only supporting luks1.
@glv2 I built using the instructions and it did not recognise the luks2 header, do i have to specify anywhere the version of libcryptsetup to use?
If your system has cryptsetup >= 2.0.0, luks2 support should work.
You could try compiling the latest code from github and then do make check. If all the tests pass, it means that luks2 support is working, and that your problem might come from the luks header you are using.