Skill 5.5.4

Privilege escalation (e.g., use of sudo, auditing its use)

Key Concepts

Legitimate escalation tools such as sudo on Unix and Linux, or Windows User Account Control, let users run specific commands with elevated rights. The sudoers configuration should grant only the commands needed, require authentication and avoid shells or editors that allow escape to full root access.

All use of elevated privileges should be logged and reviewed. Unauthorised privilege escalation, through vulnerabilities or misconfigurations, is a key attacker technique that monitoring should detect.