Cybersecurity glossary
Privilege escalation
Privilege escalation is going from an account with few rights to one with more, such as from an ordinary user to root, by abusing a weakness in the system.
On Linux the usual routes are misconfigurations: a sudo rule that allows a program with a shell escape, a setuid binary, a writable cron script or a service file anybody can edit. The lessons try each on your own lab machine.
Each route has a fix and a way to detect it. Least privilege and regular checks of sudo rules, setuid files and file permissions close most of them.
Learn it hands-on
These free lessons teach it with commands to run in a lab of your own and checked tasks. Read them whole with no account.