> 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/kerberos-observation-with-wireshark.md).

# Наблюдение Kerberos с помощью Wireshark

### Наблюдение аутентификации

Мы открываем Wireshark, затем подключаемся под пользователем, например:

```
user1
```

В Wireshark можно фильтровать трафик Kerberos с помощью:

```
kerberos
```

Затем мы наблюдаем следующие обмены:

```bash
AS-REQ
AS-REP
TGS-REQ
TGS-REP
```

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

### Пример доступа к общему ресурсу без прав

От `user2`, мы пытаемся получить доступ к административному общему ресурсу:

```
cd //WS01/C$
```

В Wireshark мы можем наблюдать:

```
TGS-REQ
TGS-REP
Доступ SMB запрещён
```

<figure><img src="/files/64be789b8f3d6cb0ced660cedbad517e5a44a3b6" alt=""><figcaption></figcaption></figure>

Это означает, что:

1. пользователь запрашивает сервисный билет;
2. KDC выдаёт билет;
3. билет предъявляется серверу;
4. сервер отказывает в доступе из-за разрешений SMB или NTFS.

### Билет и аутентификатор

При обращении к службе клиент обычно отправляет:

* сервисный билет;
* аутентификатор.

Билет доказывает, что KDC разрешил доступ к службе.

Аутентификатор доказывает, что именно клиент использует этот билет.

<figure><img src="/files/15b0cf660edf01c65739743241fb894967f1923c" 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/active-directory/kerberos/kerberos-observation-with-wireshark.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.
