Keepass file Line-length exception.
#1
Hello. I forgot part of my keepass' password and trying to recover it. Forgotten part happened to be just 3 digits hence it shoudn't be hard to crack it. But I cant load *.kdbx file in hashcat and everything comes down to Line-length exceptions and not so happy "Hash 'x.kdbx': Line-length exception No hashes loaded" at the end. What I'm doing wrong here?
#2
You cannot directly load the keepass file itself - you need to extract the hash to provide to hashcat. 

John the Ripper's keepass2john or harmj0y's Python port of keepass2john should work.

The result should look like the Keepass examples in the hashcat wiki list of example hashes.
~
#3
Wow, now it does someting. Well, only something. It skips my cpu and then gives me error:
"clBuildProgram(): CL_BUILD_PROGRAM_FAILURE
:6:10: fatal error: 'inc_vendor.cl' file not found
#include "inc_vendor.cl""

Anyway, I installed Intel's OpenCL and nothing changed, although from the very start it gives mi only two candidates and stops. I used "hashcat64.exe -m 13400 hash -a 3 -1 d? password?1?1?1password" command, maybe there is something wrong?
#4
If you're just using CPU, maybe try -D 1 ?

More info here:

https://hashcat.net/forum/thread-5566.html
~
#5
Well, I managed to make it work, but it keeps giving me gibberish.
#6
Could you be more specific? Smile
~
#7
It just can't crack it Tongue
#8
To cross-check your methodology, consider creating a new KeePass volume with the same specifications and a known password, then try to crack that. Smile
~
#9
'Unfortunately' it works with new keepass databases. It seems that digits weren't only ones that I got wrong, but at this point I'm confused af with this password. At least I can recover most passwords with my email, but it's a lot of work. On the other hand, I made hashcat work, so it's something! Well then, I should consider choosing passwords which I am actually able to remember Tongue

Still, thanks for your help!