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

# الهروب من Docker

تستغل مسارات الهروب من Docker سوء تهيئة الحاوية، أو موارد المضيف المثبتة، أو بيانات الاعتماد الافتراضية، أو كلمات المرور المعاد استخدامها، أو الامتيازات المفرطة للحاوية. الهدف هو الانتقال من سياق الحاوية إلى الوصول على مستوى المضيف.

## المنهجية

* حدّد ما إذا كانت جلسة الصدفة داخل حاوية وافحص عمليات الربط، والقدرات، والمقابس المكشوفة.
* تحقق من مسارات المضيف المثبتة، ومفاتيح SSH، وبيانات الاعتماد المعاد استخدامها، وملفات SUID القابلة للكتابة.
* استخدم مسار الهروب الأقل تدخلاً الذي يثبت الوصول إلى المضيف.

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

```bash
المعرّف
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</h4></td><td>ملاحظات حول هروب Docker (إعادة استخدام كلمة المرور) لتصعيد الامتيازات في Linux، مع خطوات الاستطلاع، وأمثلة الاستغلال، والتحقق الموجّه نحو إعداد التقارير.</td><td><a href="/pages/39e73fafe095b5e94474d938790b3ba7f738812c">/pages/39e73fafe095b5e94474d938790b3ba7f738812c</a></td></tr><tr><td><h3><i class="fa-docker" style="color:$primary;">:docker:</i></h3></td><td><h4>التلاعب بأذونات SUID في Docker</h4></td><td>ملاحظات حول هروب Docker (التلاعب بأذونات SUID) لتصعيد الامتيازات في Linux، مع خطوات الاستطلاع، وأمثلة الاستغلال، والتحقق الموجّه نحو إعداد التقارير.</td><td><a href="/pages/e1c6d6c722c70183abecc850fe990138c4dfdeb0">/pages/e1c6d6c722c70183abecc850fe990138c4dfdeb0</a></td></tr><tr><td><h3><i class="fa-docker" style="color:$primary;">:docker:</i></h3></td><td><h4>هروب من Docker باستخدام مفاتيح SSH</h4></td><td>ملاحظات حول هروب Docker (مفاتيح SSH) لتصعيد الامتيازات في Linux، مع خطوات الاستطلاع، وأمثلة الاستغلال، والتحقق الموجّه نحو إعداد التقارير.</td><td><a href="/pages/9db466128d46a36e4638d8df99728babd66a443e">/pages/9db466128d46a36e4638d8df99728babd66a443e</a></td></tr><tr><td><h3><i class="fa-docker" style="color:$primary;">:docker:</i></h3></td><td><h4>بيانات الاعتماد الافتراضية لـ Docker Toolbox</h4></td><td>ملاحظات حول هروب Docker (بيانات الاعتماد الافتراضية لـ Docker Toolbox) لتصعيد الامتيازات في Linux، مع خطوات الاستطلاع، وأمثلة الاستغلال، والتحقق الموجّه نحو إعداد التقارير.</td><td><a href="/pages/0e0b34a2caea7a1602abc7d9f386bec2ea415d4e">/pages/0e0b34a2caea7a1602abc7d9f386bec2ea415d4e</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/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.
