> 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/user-groups.md).

# Benutzergruppen

Gefährliche lokale Gruppenmitgliedschaften können privilegierte Ressourcen offenlegen, ohne dass ein Kernel-Exploit erforderlich ist. Gruppen wie docker, lxd, adm oder proxy können Host-Kontrolle, Zugriff auf sensible Protokolle oder Konfigurationspfade gewähren, die für laterale Bewegung und Root-Eskalation nützlich sind.

## Methodik

* Ausführen `id` und `groups` um privilegierte lokale Mitgliedschaften zu identifizieren.
* Ordnen Sie jeder Gruppe die Ressource zu, die sie offenlegt, z. B. Docker-Sockets, LXD-Container, Protokolle oder Proxy-Konfiguration.
* Nutzen Sie nur den bestätigten Gruppenpfad aus und behalten Sie die Befehlsausgabe für die Berichterstattung.

## Schnellprüfungen

```bash
id
groups
```

## Schnellpfad für die Docker-Gruppe

Die Mitgliedschaft in der `docker` Gruppe gewährt oft eine Root-äquivalente Kontrolle über den Host, da Container das Dateisystem des Hosts einhängen können.

```bash
id
docker run -it --rm -v /:/mnt alpine chroot /mnt sh
```

<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-users" style="color:$primary;">:users:</i></h3></td><td><h4>Missbrauch der docker-Gruppe</h4></td><td>Notizen zur Benutzergruppe (Docker) für die Linux-Privilegieneskalation, mit Enumerationsschritten, Beispielen für Exploits und validierungsorientierter Berichterstattung.</td><td><a href="/pages/f0090a344548fe699f07f822cfcc368f7c043954">/pages/f0090a344548fe699f07f822cfcc368f7c043954</a></td></tr><tr><td><h3><i class="fa-users" style="color:$primary;">:users:</i></h3></td><td><h4>Protokollzugriff der adm-Gruppe</h4></td><td>Notizen zur Benutzergruppe (adm) für die Linux-Privilegieneskalation, mit Enumerationsschritten, Beispielen für Exploits und validierungsorientierter Berichterstattung.</td><td><a href="/pages/d3567823e3b92507f890a607089e2e360f14f65f">/pages/d3567823e3b92507f890a607089e2e360f14f65f</a></td></tr><tr><td><h3><i class="fa-users" style="color:$primary;">:users:</i></h3></td><td><h4>Missbrauch der lxd-Gruppe</h4></td><td>Notizen zur Benutzergruppe (lxd) für die Linux-Privilegieneskalation, mit Enumerationsschritten, Beispielen für Exploits und validierungsorientierter Berichterstattung.</td><td><a href="/pages/80a2ec81cfd3eb0beda0cc78ab756b40c393a50d">/pages/80a2ec81cfd3eb0beda0cc78ab756b40c393a50d</a></td></tr><tr><td><h3><i class="fa-users" style="color:$primary;">:users:</i></h3></td><td><h4>Missbrauch der proxy-Gruppe</h4></td><td>Notizen zur Benutzergruppe (proxy) für die Linux-Privilegieneskalation, mit Enumerationsschritten, Beispielen für Exploits und validierungsorientierter Berichterstattung.</td><td><a href="/pages/6f0c2d36d068d0d62f6e1fc1bb36e611efc59a45">/pages/6f0c2d36d068d0d62f6e1fc1bb36e611efc59a45</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/user-groups.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.
