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

# Observando o Kerberos com Wireshark

### Observando uma autenticação

Abrimos o Wireshark e então nos conectamos com um usuário, por exemplo:

```
user1
```

No Wireshark, você pode filtrar o tráfego Kerberos com:

```
kerberos
```

Em seguida, observamos as trocas:

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

<figure><img src="/files/892d340ed6c15cc606bbf2dcf5875367af4468c5" alt=""><figcaption></figcaption></figure>

### Exemplo com acesso a um compartilhamento sem permissões

De `user2`, tentamos acessar um compartilhamento administrativo:

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

No Wireshark, podemos observar:

```
TGS-REQ
TGS-REP
Acesso SMB negado
```

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

Isso significa que:

1. o usuário solicita um ticket de serviço;
2. o KDC emite o ticket;
3. o ticket é apresentado ao servidor;
4. o servidor recusa o acesso por causa de permissões SMB ou NTFS.

### Ticket e autenticador

Ao acessar um serviço, o cliente geralmente envia:

* um ticket de serviço;
* um autenticador.

O ticket prova que o KDC autorizou o acesso ao serviço.

O autenticador prova que o cliente é de fato quem está usando o ticket.

<figure><img src="/files/61130f5356d7c2c530271289bdea39d9f0642b8a" 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/pt-br/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.
