> 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/kernel-exploitation.md).

# Windows-Kernel-Ausnutzung

Windows-Kernel-Exploits zielen auf lokale Schwachstellen ab, die einen Benutzerkontext zu erhöhten Rechten verschieben können. Identifizieren Sie vor dem Testen eines Exploits immer die genaue Version, Architektur und die installierten Patches.

```cmd
systeminfo
```

Kernel-Exploits sind leistungsstark, aber fragil. Verwenden Sie sie erst, nachdem Sie Anmeldeinformationen, Dienste, geplante Aufgaben, Token-Berechtigungen und Fehlkonfigurationen von Anwendungen überprüft haben.

## Grundlegende Prüfungen

```cmd
systeminfo | findstr /B /C:"OS Name" /C:"OS Version" /C:"System Type"
wmic qfe list brief
whoami /priv
```

Speichern Sie die vollständige `systeminfo` Ausgabe für die Offline-Analyse:

```cmd
systeminfo > C:\Windows\Temp\systeminfo.txt
```

## Werkzeuge für Exploit-Vorschläge

Führen Sie Vorschlagswerkzeuge nach Möglichkeit von Ihrem Angriffsrechner aus und validieren Sie dann jeden Kandidaten manuell.

```bash
python3 wes.py --update
python3 wes.py systeminfo.txt --exploits-only
searchsploit windows kernel local
```

Hilfsprogramme auf dem Zielsystem können nützlich sein, wenn Dateiübertragungen erlaubt sind:

```cmd
Watson.exe
winPEASx64.exe systeminfo
```

## Gängige Legacy-Ziele

| Schwachstelle   | Gängiger Zielbereich                    | Notizen                                                                      |
| --------------- | --------------------------------------- | ---------------------------------------------------------------------------- |
| `MS16-032`      | Windows 7-10 / Server 2008-2012 R2      | Problem mit Secondary Logon. Bestätigen Sie vor dem Testen den Patch-Stand.  |
| `MS15-051`      | Windows 7 / 8.1 / Server 2008-2012 R2   | Lokale Privilegienerweiterung über Win32k. Die Architektur ist entscheidend. |
| `CVE-2018-8120` | Windows 7 SP1 / Server 2008 R2 SP1      | Prüfen Sie die relevanten Sicherheitsrollups von 2018.                       |
| `CVE-2019-0803` | Ältere, ungepatchte Windows-7-10-Builds | Validieren Sie den genauen Build und die Zuverlässigkeit des Exploits.       |

## Sicherheitshinweise

* Stimmen Sie vor dem Ausführen von irgendetwas die OS-Version, Architektur, Sprache und fehlenden KBs ab.
* Bevorzugen Sie quellengeprüfte oder im Labor getestete Builds gegenüber zufälligen vorkompilierten Binärdateien.
* Rechnen Sie bei instabilen Exploits mit Abstürzen; erstellen Sie in Laboren wenn möglich einen Snapshot.
* Dokumentieren Sie für Berichte den Exploit-Namen, den Hash, die Quelle, den Ziel-Build und das Ergebnis.

<table data-view="cards" data-full-width="false" data-search="false"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h3><i class="fa-server" style="color:$primary;">:server:</i></h3></td><td><h4>Windows Server 2012 - MS16-032</h4></td><td>Nutzen Sie MS16-032 Secondary Logon für eine lokale Privilegienerweiterung auf verwundbaren Windows Server 2012 R2-Laborzielen.</td><td><a href="/pages/712121eb890c449b30ee5bd43b9a1f0f3e307f2c">/pages/712121eb890c449b30ee5bd43b9a1f0f3e307f2c</a></td></tr><tr><td><h3><i class="fa-windows" style="color:$primary;">:windows:</i></h3></td><td><h4>Windows 7 Enterprise - MS11-046</h4></td><td>Validieren Sie die lokale Privilegienerweiterung MS11-046 auf einem ungepatchten Windows 7 Enterprise-Laborziel.</td><td><a href="/pages/b0fd947d92a0c834499c0910f70a6dc420ce8999">/pages/b0fd947d92a0c834499c0910f70a6dc420ce8999</a></td></tr><tr><td><h3><i class="fa-server" style="color:$primary;">:server:</i></h3></td><td><h4>Windows Server 2003 - Churrasco</h4></td><td>Verwenden Sie Churrasco gegen ein kompatibles Windows Server 2003-Laborziel für eine lokale Privilegienerweiterung.</td><td><a href="/pages/5450f2ab6e34ad91846ef34886234a753bf51180">/pages/5450f2ab6e34ad91846ef34886234a753bf51180</a></td></tr></tbody></table>


---

# 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/kernel-exploitation.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.
