RTFM_ security field notes

The disk group

Check block-device permissions and understand how raw disk access bypasses file permissions.

Description

Membership in disk often grants access to block devices, bypassing filesystem file permissions. Check the actual device permissions: membership alone does not guarantee access to every disk or unlock encrypted volumes.

Exploitation

df -h lists the disks mounted on the system. Once the disk of interest is identified, for example /dev/sda2, debugfs opens it directly:

debugfs /dev/sda2

debugfs is for ext-family filesystems and opens read-only by default. Use ls, cat and cd to inspect it; mkdir requires write mode. Prefer an image or snapshot: direct access to a live filesystem can give an inconsistent view, and writes can corrupt it.

Recommendation

Do not add non-privileged users to the disk group. Few controls mitigate exploitation of this privilege escalation once membership is granted.

Provenance and confidence
Version
2
Sources reviewed
2026-11-23
Confidence
medium — Legacy RTFM; v2 editorial review on 2026-11-23 qualifies device access and clarifies debugfs filesystem and write-mode limits. No disk access performed.

Also searched as: groupe disk, disk group, debugfs, élévation de privilèges, lecture de fichiers protégés