> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/ja/password-attacks/brute-force-keepass-.kdbx.md).

# KeePass KDBX クラッキング

データベースハッシュの抽出、マスターパスワードのクラッキング、監査中に復元した保管庫エントリの確認のための KeePass KDBX 総当たりメモ。

## **クラック済みのKeePassファイル**

その **ドキュメント** 〜のディレクトリ **Kosure** ユーザーで、拡張子を持つファイルが見つかります **.kdbx** （KeePassファイル）。

<figure><img src="https://2001299964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-a60a65e6a1b9bb23c7c1b5b2604cd809a570a990%2F%7BB4F89894-B8DC-43D7-8F49-C5C0AD0387CD%7D.png?alt=media" alt=""><figcaption></figcaption></figure>

### **KDBXファイルからハッシュを抽出する**

〜からハッシュを抽出するために **KDBX** ファイルでは、次を使用します **keepass2johnツール。これは** 〜の一部 **John the Ripper**:

```bash
keepass2john CEH.kdbx
```

<figure><img src="https://2001299964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-c30ab3f4fdc44a5957a2c6d4ad7a9579f95102fb%2Fimage%20(896).png?alt=media" alt=""><figcaption></figcaption></figure>

### **ハッシュクラック**

次を使用します **John the Ripper** 抽出したハッシュに対して、パスワード一覧を使ってブルートフォース攻撃を行うために **rockyou.txt**:

```bash
john --wordlist=/usr/share/wordlists/rockyou.txt hash
```

見つかったパスワードは：

* `moonshine1`

<figure><img src="https://2001299964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-8ed71f3d8db29fda66bd6d4c8de08a9ad03a5b97%2F%7B73E24078-BE61-4C21-B2AF-291236ECEF55%7D.png?alt=media" alt=""><figcaption></figcaption></figure>

### **KeePassファイルの内容を表示する**

次を使用します **KeePassXC** 〜を開いて内容を表示するために **KeePass** ファイル

<figure><img src="https://2001299964-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-bca8a9a320ac281f7f179a6581d154c4f4439312%2F%7B56F3C508-D64D-447F-931A-D205498BA437%7D.png?alt=media" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/ja/password-attacks/brute-force-keepass-.kdbx.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
