Privilege Escalation

Privilege escalation is when an attacker who has limited access to a system gains higher permissions, such as administrator or root, by exploiting flaws, misconfigurations or stolen credentials. It lets them take full control.

AdvancedCategory: Monitoring, testing and incident response

Also called: privilege elevation, elevation of privilege, vertical privilege escalation, horizontal privilege escalation

What is privilege escalation?

Attackers usually get in with limited access, such as an ordinary employee's account or a low-privilege web server process. That's not enough to disable security tools, read every file or deploy ransomware across the network. MITRE ATT&CK notes that adversaries can often enter and explore a network with unprivileged access but need elevated permissions to follow through on their objectives. Privilege escalation is how they get them.

Types of privilege escalation

  • Vertical: moving up, for example from a standard user to local administrator, or from local admin to domain admin. This is what people usually mean.
  • Horizontal: moving sideways into another account with similar rights but different data, such as reading another customer's records in a web app. This overlaps with broken access control.

How attackers escalate privileges

  • Exploiting unpatched flaws. Operating systems and drivers regularly get "elevation of privilege" fixes, and many appear in CISA's Known Exploited Vulnerabilities catalog.
  • Misconfigurations, such as services running as admin, writable system folders, or overly permissive cloud roles.
  • Stolen admin credentials, harvested from memory, scripts, browser storage or password reuse.
  • Everyone is an admin. When staff work day to day with admin rights, any malware they run gets admin rights too.
  • Abusing help desk processes, such as social engineering a password reset for an admin account.

How to prevent it

  1. Remove local admin rights from everyday user accounts.
  2. Use separate admin accounts with MFA, and only for admin tasks. This is the principle of least privilege.
  3. Patch quickly, especially flaws flagged as exploited. See patch management.
  4. Use unique local admin passwords on every machine, for example with Microsoft LAPS.
  5. Manage privileged accounts with privileged access management tools for larger environments.
  6. Monitor for new admin accounts and group membership changes.

A penetration test will show how easily an attacker could escalate privileges in your environment.

Related terms

Sources

  1. Privilege Escalation, Tactic TA0004 (MITRE ATT&CK)
  2. Known Exploited Vulnerabilities Catalog (CISA)

Drafted with AI assistance, then edited and fact-checked by a person. How we use AI.