> 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/es/privesc/user-groups/adm-group-linux-privilege-escalation.md).

# Abuso del grupo adm - Escalada de privilegios en Linux

## Qué es

Las membresías peligrosas en grupos locales pueden exponer recursos privilegiados sin requerir un exploit del kernel. Grupos como docker, lxd, adm o proxy pueden otorgar control del host, acceso a registros sensibles o rutas de configuración útiles para el movimiento lateral y la escalada a root. Esta página específica se centra en **Grupo de usuarios (adm)** y mantiene práctico el flujo de explotación: identificar la condición, validarla de forma segura y luego ejecutar la carga útil mínima necesaria para demostrar el impacto.

## Enumeración

Comienza confirmando el contexto local y la configuración incorrecta exacta antes de ejecutar la ruta de explotación.

```bash
id
groups
```

## Ejemplos

> El grupo adm suele tener permisos para acceder a los registros del sistema en el directorio /var/log y a otros recursos relacionados con la administración del sistema.

Con **find** buscamos todos los registros del servidor:

```bash
find /var/log -group adm 2>/dev/null
```

<figure><img src="/files/a561907977a32de18958c21d6abd1812b9d1703d" alt=""><figcaption></figcaption></figure>

Encontramos que tenemos acceso a registros, por ejemplo de **apache2**:

<figure><img src="/files/515dc4a12ff761bf6a319aaea036332588f972fe" alt=""><figcaption></figcaption></figure>

Estos archivos a menudo contienen **información sensible**:

<figure><img src="/files/b4c397add0ecb12eb734a13fdf94a031ea27529c" alt=""><figcaption></figcaption></figure>


---

# 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/es/privesc/user-groups/adm-group-linux-privilege-escalation.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.
