> 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

Notas de segurança do Active Directory para Observando o Kerberos com Wireshark, cobrindo enumeração, Kerberos, credenciais, abuso de ACL, movimentação lateral, fluxo de exploração e etapas de validação.

### Observando uma autenticação

Abrimos o Wireshark e, em seguida, 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="https://783634792-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-90df44f66d6cbc4719e40f3d26cd2b2673f97392%2F%7BBB1E1E17-1E72-4CFA-9A55-5C93C28496AC%7D.png?alt=media" alt=""><figcaption></figcaption></figure>

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

A partir de `user2`, tentamos acessar um compartilhamento administrativo:

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

No Wireshark, podemos observar:

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

<figure><img src="https://783634792-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-353387bfc535308105528a3ae872608bf3f57671%2F%7BBEAA2E5F-3867-4FF0-8690-E2E5E50AF4F8%7D.png?alt=media" 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 das 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 comprova que o KDC autorizou o acesso ao serviço.

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

<figure><img src="https://783634792-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-48cdc3fab929a2114c6b35cc7d41f53cdb9cd9f0%2F%7B1F228000-B616-47CB-B34B-20A5DB584B21%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/pt-br/active-directory/kerberos/kerberos-observation-with-wireshark.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.
