Network & Pentest

What Is Privilege Escalation? Definition, Architecture & Defense

Quick Definition: Privilege escalation is the act of exploiting a bug, misconfiguration, or weak permission to gain higher access rights—either vertically (from a standard user or web service account to root/SYSTEM) or horizontally (accessing another user account of the same tier).

How Privilege Escalation Works in Practice

After an initial foothold on a server or workstation, attackers enumerate local misconfigurations: permissive sudo rules, SUID binaries, unquoted Windows service paths, weak service binary permissions, kernel vulnerabilities, or cleartext credentials left in configuration files and shell histories.

Defensive Mitigation & Hardening Checklist

Apply the principle of least privilege, run web applications under dedicated low-privilege service accounts, audit sudoers/SUID/service ACLs regularly, and patch OS kernels promptly.

Hands-On Tool & Cheat Sheet


Related Security Glossary Terms