[GH-ISSUE #2555] Add feature to crack .kdbx with keyfile & Windows User Account #1682

Open
opened 2026-10-15 04:22:27 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @Mickydss on GitHub (May 20, 2017).
Original GitHub issue: https://github.com/openwall/john/issues/2555

KeePass .kdbx databases can be protected with a keyfile and a Windows User Account. It would be nice to add support for such KeePass databases.

Originally created by @Mickydss on GitHub (May 20, 2017). Original GitHub issue: https://github.com/openwall/john/issues/2555 KeePass `.kdbx` databases can be protected with a keyfile and a Windows User Account. It would be nice to add support for such KeePass databases.
Author
Owner

@Fist0urs commented on GitHub (May 20, 2017):

Please update your message to remove template stuff.

Also please remove "on Win10" in your title, as the mechanism is the same on all Windows versions.

Concerning this algorithm, iirc this is not straightfoward. While bound to a computer account, Keepass adds a layer of data protected by Windows DPAPI (cf. #2521). Please take a look at keepassx source code and provide further information.

Thx

<!-- gh-comment-id:302874914 --> @Fist0urs commented on GitHub (May 20, 2017): Please update your message to remove template stuff. Also please remove "on Win10" in your title, as the mechanism is the same on all Windows versions. Concerning this algorithm, iirc this is not straightfoward. While bound to a computer account, Keepass adds a layer of data protected by Windows DPAPI (cf. #2521). Please take a look at keepassx source code and provide further information. Thx
Author
Owner

@kholia commented on GitHub (Sep 1, 2017):

See http://www.harmj0y.net/blog/redteaming/a-case-study-in-attacking-keepass/ for details on how to approach this problem.

There are lot of steps involved in this process which JtR Jumbo can't help with. Hence I am closing this issue.

<!-- gh-comment-id:326519980 --> @kholia commented on GitHub (Sep 1, 2017): See http://www.harmj0y.net/blog/redteaming/a-case-study-in-attacking-keepass/ for details on how to approach this problem. There are lot of steps involved in this process which JtR Jumbo can't help with. Hence I am closing this issue.
Author
Owner

@kholia commented on GitHub (Nov 10, 2017):

https://msdn.microsoft.com/en-us/library/windows/desktop/aa382377(v=vs.85).aspx could be useful here.

Also see https://github.com/hashcat/hashcat/issues/1437. It has some internal details on how this works.

Please feel free to reopen this issue if you have a solution, and are actively working on it.

<!-- gh-comment-id:343371067 --> @kholia commented on GitHub (Nov 10, 2017): https://msdn.microsoft.com/en-us/library/windows/desktop/aa382377(v=vs.85).aspx could be useful here. Also see https://github.com/hashcat/hashcat/issues/1437. It has some internal details on how this works. Please feel free to reopen this issue if you have a solution, and are actively working on it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#1682
No description provided.