Help with KeePass and Hashcat
#1
**EDITED to remove my hash as per forum rules, sorry.

Hello,

I recently forgot my PW to my Keepass login and that is what brought me here. Below is what I have done so far. Any help anyone can provide would be greatly appreciated.

My keepass database is very small, only 3kb is size. My keyfile is simply called "key".

Exctracted Hash with keepass2john (not sure this formatted hash right -- can someone help):

C:\Users\Chris\Desktop\JohnRipper>keepass2john -i 98048 -k key dbbtc.kdb
      0 [main] keepass2john 58680 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer.  Please report this problem to
the public mailing list cygwin@cygwin.com
key
Inlining dbbtc.kdb

I had this file output to a "hash file" via this command - keepass2john -i 98048 -k key dbbtc.kdb > hash

When I load up hashcat and try to start cracking it, I get this error:

C:\Users\Chris\Desktop\HashCat>hashcat64.exe -m 13400 -a 0 -w 1 hash dic.txt
hashcat (v3.20) starting...

OpenCL Platform #1: NVIDIA Corporation
======================================
* Device #1: GeForce GTX 980, 1024/4096 MB allocatable, 16MCU

Hashfile 'hash' on line 1 (key): Line-length exception

No hashes loaded
#2
(12-28-2016, 05:15 PM)cobrax914 Wrote: **EDITED to remove my hash as per forum rules, sorry.

Hello,

I recently forgot my PW to my Keepass login and that is what brought me here. Below is what I have done so far. Any help anyone can provide would be greatly appreciated.

My keepass database is very small, only 3kb is size. My keyfile is simply called "key".

Exctracted Hash with keepass2john (not sure this formatted hash right -- can someone help):

C:\Users\Chris\Desktop\JohnRipper>keepass2john -i 98048 -k key dbbtc.kdb
      0 [main] keepass2john 58680 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer.  Please report this problem to
the public mailing list cygwin@cygwin.com
key
Inlining dbbtc.kdb

I had this file output to a "hash file" via this command - keepass2john -i 98048 -k key dbbtc.kdb > hash

When I load up hashcat and try to start cracking it, I get this error:

C:\Users\Chris\Desktop\HashCat>hashcat64.exe -m 13400 -a 0 -w 1 hash dic.txt
hashcat (v3.20) starting...

OpenCL Platform #1: NVIDIA Corporation
======================================
* Device #1: GeForce GTX 980, 1024/4096 MB allocatable, 16MCU

Hashfile 'hash' on line 1 (key): Line-length exception

No hashes loaded

try this https://gist.github.com/HarmJ0y/116fa1b5...4d7d367bbc
#3
(12-28-2016, 10:55 PM)kiara Wrote:
(12-28-2016, 05:15 PM)cobrax914 Wrote: **EDITED to remove my hash as per forum rules, sorry.

Hello,

I recently forgot my PW to my Keepass login and that is what brought me here. Below is what I have done so far. Any help anyone can provide would be greatly appreciated.

My keepass database is very small, only 3kb is size. My keyfile is simply called "key".

Exctracted Hash with keepass2john (not sure this formatted hash right -- can someone help):

C:\Users\Chris\Desktop\JohnRipper>keepass2john -i 98048 -k key dbbtc.kdb
      0 [main] keepass2john 58680 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer.  Please report this problem to
the public mailing list cygwin@cygwin.com
key
Inlining dbbtc.kdb

I had this file output to a "hash file" via this command - keepass2john -i 98048 -k key dbbtc.kdb > hash

When I load up hashcat and try to start cracking it, I get this error:

C:\Users\Chris\Desktop\HashCat>hashcat64.exe -m 13400 -a 0 -w 1 hash dic.txt
hashcat (v3.20) starting...

OpenCL Platform #1: NVIDIA Corporation
======================================
* Device #1: GeForce GTX 980, 1024/4096 MB allocatable, 16MCU

Hashfile 'hash' on line 1 (key): Line-length exception

No hashes loaded

try this https://gist.github.com/HarmJ0y/116fa1b5...4d7d367bbc

I was looking at that but as per the notes on the python script it doesnt support key files
#4
I have the same problem with Keepass v.1.18 (* .kdb file).

1) Keepass2john.exe
Error: WARNING: Couldn't compute FAST_CWD pointer.

2) Keepyss2john.py
No errors, but the same Hash as 1)

Hashcat says:
Salt-length exception. No hashes loaded.

Does anyone know the solution? Other tools?
Thanks.
#5
Ok. It's worked perfectly with Passware Kit Professional 2017 (dictionary attack).