Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 17 Apr 2019 21:56:10 +0200
From: Nikolay Kichukov <hijacker@...um.net>
To: john-users@...ts.openwall.com
Subject: Re: keepass2john cannot extract the hash from a keepass
 2.x database

Hello Alexander,

The Passwords.kdbx file is the KeePass database file. It is the one I
need to get the hash from. So the sequence of commands is:

$ keepass2john /tmp/Passwords.kdbx
Warning: invalid UTF-8 seen reading /tmp/Passwords.kdbx
Using default input encoding: UTF-8
No password hashes loaded (see FAQ)

And I cannot continue any further, because there is no john readable
hash output.

Passwords.kdbx is attached here. It can be unlocked with passphrase:
123456

My john build info:
$ john --list=build-info
Version: 1.9.0-jumbo-1-bleeding-766171f0f 2019-04-16 20:46:40 +0200
Build: linux-gnu 64-bit x86_64 AVX AC MPI + OMP
SIMD: AVX, interleaving: MD4:3 MD5:3 SHA1:1 SHA256:1 SHA512:1


Thank you,
-Nikolay




On 4/17/19 9:36 PM, Solar Designer wrote:
> Hi,
> 
> On Wed, Apr 17, 2019 at 05:54:48PM +0200, Nikolay Kichukov wrote:
>> The program fails to extract a password hash from the database file,
>> below output is printed:
>>
>> Warning: invalid UTF-8 seen reading /tmp/Passwords.kdbx
>> Using default input encoding: UTF-8
>> No password hashes loaded (see FAQ)
> 
>> however, the hash produced by this utility does not work in john.
> 
> Can you please post the full sequence of commands you're using (both
> keepass2john and john), perhaps with "wc" (word count) on the
> corresponding files inbetween, so that we get a rough idea of the files'
> sizes.  Does /tmp/Passwords.kdbx contain the output of keepass2john?
> Can you show roughly what this file contains, like with "wc" or/and
> "head -c 10" (first 10 characters)?
> 
> Alexander
> 

Download attachment "Passwords.kdbx" of type "application/x-keepass2" (1118 bytes)

Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.