LOGBOOK

HELP

← again tap: answer good → ↑ swipe up at the end: next

1 / 9 Part 1 of 4
Other keys: show • Space: good • 1-4: rate • 0: skip • 5: flag

Question

What is a backdoor in computer security?

Answer

A hidden way to bypass normal authentication and gain access to a system, planted deliberately so the attacker can get back in at will.

A backdoor is a covert access path that sidesteps the usual login and authorisation checks. Unlike a vulnerability (an accidental flaw), a backdoor is put there on purpose — by a malicious author, by malware, or sometimes by a developer who left a debug hatch open.

In the container world the classic case is a public image that looks like a normal application but was built with an extra instruction that opens a reverse shell or contacts the attacker. Because the user pulls and runs it themselves, no firewall or perimeter control is crossed — the malicious code is invited in.

Key properties:

  • Stealth — it is meant not to be noticed; the application still works normally.
  • Persistence — it keeps working across restarts, so the attacker regains access whenever they want.
  • Authentication bypass — it grants access without the legitimate credentials.

The defence is the same as for any untrusted software supply chain: run only images you can trace to a trusted publisher, read the Dockerfile and image history, and verify signatures.

Go deeper:

or press any other key

Question

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

Answer

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:

A diagram describing privilege escalation. The arrow represents a rootkit gaining access to the kernel, and the little gate represents normal privilege elevation, where the user has to enter an Administrator username and password.
A diagram describing privilege escalation. The arrow represents a rootkit gaining access to the kernel, and the little gate represents normal privilege elevation, where the user has to enter an Administrator username and password.
User:AntiCompositeNumber · CC0 · Wikimedia Commons
or press any other key