> 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/ru/password-attacks/brute-force-keepass-.kdbx.md).

# Взлом KeePass KDBX

## **Взломанный файл KeePass**

В **Документы** каталог **Kosure** пользователя мы находим файл с расширением **.kdbx** (файл KeePass).

<figure><img src="/files/7afd1508cfd2659ef299eea7c476faeb024b8464" alt=""><figcaption></figcaption></figure>

### **Извлечение хэша из файла KDBX**

Чтобы извлечь хэш из файла KDBX, мы используем утилиту **KDBX** мы используем **keepass2john** утилиту, которая входит в **John the Ripper**:

```bash
keepass2john CEH.kdbx
```

<figure><img src="/files/b7c5c11de398c84ec7c4b9593a06583f4ad386d1" alt=""><figcaption></figcaption></figure>

### **Взлом хэшей**

Мы используем **John the Ripper** для выполнения атаки грубой силы на извлечённый хэш, со списком паролей **rockyou.txt**:

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

Обнаруженный пароль:

* `moonshine1`

<figure><img src="/files/4a64214a7d6a9aea6253f053fb6ad21ab3bbd9c2" alt=""><figcaption></figcaption></figure>

### **Просмотр содержимого файла KeePass**

Мы используем **KeePassXC** чтобы открыть и просмотреть содержимое **KeePass** файл

<figure><img src="/files/822af2281ef34cc38e5447705f500c7b504f51e0" 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
