> 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/privesc/docker-escape.md).

# Docker-Ausbruch

Docker-Ausbruchspfade nutzen Fehlkonfigurationen von Containern, eingehängte Host-Ressourcen, Standardanmeldedaten, wiederverwendete Passwörter oder übermäßige Container-Privilegien aus. Das Ziel ist es, vom Container-Kontext zu Zugriff auf Host-Ebene zu gelangen.

## Methodik

* Stellen Sie fest, ob sich die Shell in einem Container befindet, und prüfen Sie Mounts, Capabilities und freigelegte Sockets.
* Prüfen Sie auf eingehängte Host-Pfade, SSH-Schlüssel, wiederverwendete Anmeldedaten und schreibbare SUID-Binaries.
* Verwenden Sie den am wenigsten invasiven Ausbruchspfad, der Host-Zugriff nachweist.

## Schnellprüfungen

```bash
id
cat /proc/1/cgroup
mount
ls -la /var/run/docker.sock 2>/dev/null
```

<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-docker" style="color:$primary;">:docker:</i></h3></td><td><h4>Docker-Passwortwiederverwendung</h4></td><td>Notizen zu Docker Escape (Passwortwiederverwendung) für Linux-Privilegieneskalation, mit Enumerationsschritten, Ausnutzungsbeispielen und Validierung mit Fokus auf Berichterstattung.</td><td><a href="/pages/8355f2a8aa60ccc932781a9dc4b15b5b19de58cc">/pages/8355f2a8aa60ccc932781a9dc4b15b5b19de58cc</a></td></tr><tr><td><h3><i class="fa-docker" style="color:$primary;">:docker:</i></h3></td><td><h4>Docker-SUID-Berechtigungsmanipulation</h4></td><td>Notizen zu Docker Escape (SUID-Berechtigungsmanipulation) für Linux-Privilegieneskalation, mit Enumerationsschritten, Ausnutzungsbeispielen und Validierung mit Fokus auf Berichterstattung.</td><td><a href="/pages/d2932f1368366299399cb9978ceaba8efa710cb0">/pages/d2932f1368366299399cb9978ceaba8efa710cb0</a></td></tr><tr><td><h3><i class="fa-docker" style="color:$primary;">:docker:</i></h3></td><td><h4>Docker-Ausbruch mit SSH-Schlüsseln</h4></td><td>Notizen zu Docker Escape (SSH-Schlüssel) für Linux-Privilegieneskalation, mit Enumerationsschritten, Ausnutzungsbeispielen und Validierung mit Fokus auf Berichterstattung.</td><td><a href="/pages/5d6402272af5334ab18fa54e7ce5e7695b14d897">/pages/5d6402272af5334ab18fa54e7ce5e7695b14d897</a></td></tr><tr><td><h3><i class="fa-docker" style="color:$primary;">:docker:</i></h3></td><td><h4>Docker Toolbox-Standardanmeldedaten</h4></td><td>Notizen zu Docker Escape (Docker Toolbox-Standardanmeldedaten) für Linux-Privilegieneskalation, mit Enumerationsschritten, Ausnutzungsbeispielen und Validierung mit Fokus auf Berichterstattung.</td><td><a href="/pages/66180100316ce5fbb85b8ff96fc9d3bd9ac61178">/pages/66180100316ce5fbb85b8ff96fc9d3bd9ac61178</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/privesc/docker-escape.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.
