LOGBOOK

HELP

Quiz Entry - updated: 2026.11.10

What is privilege escalation, and what is the difference between the vertical and horizontal kinds?

Gaining rights beyond those you were granted — vertical escalation means moving to a higher privilege level (user → root), horizontal means taking over another account at the same level.

Privilege escalation is the step in an attack where a foothold with limited rights is turned into broader control.

  • Vertical (privilege elevation): a low-privileged user or process obtains higher privileges — the prize being root on Linux. Typically exploits a misconfiguration, a setuid binary, a vulnerable service running as root, or an over-powered group membership.
  • Horizontal: moving sideways to another account with the same privilege level, to reach data or actions that account can perform.

Docker is a rich source of local privilege escalation because the daemon runs as root and does whatever it is asked. Membership in the docker group, a mounted Docker socket, a bind-mounted host directory writable by a setuid binary, or the --privileged flag can each hand an ordinary user full root on the host. The hardening measures later in this lab (non-root containers, dropped capabilities, user namespaces) all aim to break that path.

Go deeper:

From Quiz: ISLAB / Docker Security | Updated: Nov 10, 2026