Security operations

Vertical Privilege Escalation: What It Is and How to Stop It

A standard user account should never become an administrator by accident. Here is how vertical privilege escalation works and the controls that stop it.

Cysoro Security TeamPublished · 8 min read
SECURITY OPERATIONSPrivilegeEscalationHow attackers climb — and how to stop themStandard userLocal adminSYSTEM!CYSORO
Quick answer

Vertical privilege escalation is when a user, process, or attacker gains a higher level of access than they were granted, such as a standard user becoming a local administrator, SYSTEM, root, or domain administrator. It usually follows an initial foothold and exploits a vulnerability, a misconfiguration, or a stolen credential to climb the permission ladder.

Key takeaways

  • Vertical escalation moves up the permission ladder; horizontal escalation moves sideways to another account at the same level.
  • Common routes are unpatched vulnerabilities, abused elevation controls, stolen tokens, and over-privileged accounts.
  • Least privilege, patching, phishing-resistant MFA, and monitoring for new admin accounts stop most attacks.

Most attacks do not start with administrator access. They start with an ordinary account, a phished password, or a low-privilege service — and then they climb. Vertical privilege escalation is that climb, and it is the step that turns a minor intrusion into full control.

What is vertical privilege escalation?

Vertical privilege escalation is gaining a higher level of access than your account was granted, such as a standard user becoming a local administrator, SYSTEM, root, or domain administrator.

Every account has a permission level: what it can read, change, and run. Vertical escalation breaks that boundary. MITRE ATT&CK describes it plainly: "The adversary is trying to gain higher-level permissions." The tactic, TA0004, lists examples including SYSTEM or root level, local administrator, and accounts with admin-like access, as documented on the MITRE ATT&CK TA0004 page.

It is usually a middle step, not the goal itself. An attacker gets a foothold with low privileges, escalates, and then uses the higher access to steal data, install persistence, move sideways, or deploy ransomware.

Climbing the permission ladderStandard user — limited accessLocal administratorSYSTEM / rootDomain administratorStep 1: exploit a flawor misconfigurationStep 2: steal a tokenor admin credentialStep 3: add admin rightsor create a new adminFull control of the network
Vertical escalation moves up, step by step, until one account controls the system or domain. Illustration by Cysoro.

What is the difference between vertical and horizontal privilege escalation?

Vertical escalation changes the level of rights you hold, while horizontal escalation changes whose data or account you can reach at the same level.

A customer who reads another customer's order by changing an ID in a URL is escalating horizontally. A customer who reaches the admin panel and deletes accounts is escalating vertically. Both are broken access control, and OWASP lists broken access control as A01 in its Top 10, because it can expose data, allow privilege escalation, and let attackers perform actions outside their limits.

The two often combine. An attacker first moves sideways into another user's account, then uses that account — if it belongs to an administrator — to climb. PortSwigger's access-control material makes the same point: a horizontal attack can be turned into a vertical one by compromising a more privileged user.

AspectVertical escalationHorizontal escalation
What changesThe permission levelThe identity or owner of the data
ExampleStandard user to local adminUser A reads User B's invoices
Typical flawUnpatched vulnerability, UAC bypass, sudo abuseMissing object-level authorization, IDOR
Main defenseLeast privilege, patching, hardeningServer-side authorization checks on every request
MITRE mappingTA0004 Privilege EscalationOften TA0004 or credential access, depending on method

How does vertical privilege escalation work?

It works in three stages: get a low-privilege foothold, find a path upward, and use the higher rights before anyone notices.

The foothold is usually cheap: a phished password, a stolen session, a vulnerable web application, or a misconfigured service. From there the attacker looks for a weakness that runs code or grants access at a higher level. That weakness may be a software bug, a legitimate feature used the wrong way, or a credential left where a low-privilege user can read it.

Once elevated, the attacker can disable security tools, read protected files, create new admin accounts, and move to other systems. That is why defenders treat any unexpected elevation as a serious incident, even if nothing else has happened yet.

What are the most common vertical privilege escalation techniques?

The most common techniques are exploiting vulnerabilities, abusing elevation controls, manipulating access tokens, and using valid admin accounts.

Exploitation for privilege escalation (T1068)

An attacker exploits a flaw in the operating system, a driver, or an application to run code at a higher level. Kernel and driver flaws are the classic route to SYSTEM or root, which is why patching them promptly matters so much.

Abuse elevation control mechanism (T1548)

Systems have built-in controls for elevation, such as Windows User Account Control (UAC), sudo, and setuid programs on Linux. Attackers bypass UAC, abuse a misconfigured sudo rule, or exploit a setuid binary to run commands as another, more privileged user.

Access token manipulation (T1134)

Windows uses access tokens to decide what a process can do. An attacker who steals or duplicates the token of a more privileged process can run code with that process's rights, for example by using token impersonation or creating a process with a stolen token.

Valid accounts (T1078) and account manipulation (T1098)

Sometimes no exploit is needed. A stolen admin password, a default credential, or a service account with too many rights is enough. Attackers also add themselves to privileged groups or create new credentials for an admin account, which MITRE lists under account manipulation.

Broken access control in web applications

In web applications, vertical escalation often means reaching admin-only functions: an unprotected admin page, a hidden URL found in JavaScript or robots.txt, or a request parameter such as a role flag that the server trusts. The fix is server-side: check the user's role on every request, never trust a value the user sends.

Four common routes upward1. Exploit a vulnerabilityUnpatched kernel, driver, or app flawruns attacker code as SYSTEM or root.2. Abuse elevation controlsUAC bypass, sudo, or setuid abuseturns a normal prompt into admin rights.3. Steal a token or credentialAn admin token or password givesthe attacker admin rights directly.4. Abuse a web admin functionAn unprotected admin page or trustedrole parameter grants admin access.
Most vertical escalation uses one of these four routes. Illustration by Cysoro.

How does vertical privilege escalation work in the cloud?

In the cloud, vertical escalation means a limited identity gains a more powerful role, often by abusing overly broad permissions or just-in-time access.

Common cloud paths include a role that can attach a more powerful policy to itself, a service account that can create new admin users, and temporary elevated access that is never revoked. MITRE notes that many cloud environments let accounts request just-in-time access, impersonate other accounts, or pass roles to resources — all useful features that become escalation paths when they are too broad.

The defense is the same principle as on-premises, applied to identity: grant the minimum permissions a workload needs, avoid standing admin roles, require approval for elevation, and review who holds privileged roles regularly. Cloud logs that record role changes and policy edits are your early warning system.

What are real examples of vertical privilege escalation?

Real cases follow the same pattern: a small flaw or misconfiguration, then a climb to full control.

On Windows, UAC bypasses have been used for years to move from a standard user to an administrator without a password prompt. On Linux, misconfigured sudo rules and vulnerable setuid binaries have repeatedly allowed ordinary users to run commands as root. In web applications, unprotected admin panels — sometimes found through a robots.txt file or a JavaScript file — have let ordinary users delete accounts and change settings.

In the cloud, researchers and attackers have repeatedly shown that a low-privilege identity with permission to edit its own role can grant itself administrator access. The lesson in every case is the same: the initial flaw looked minor, and the damage came from the elevation that followed.

For a related attack pattern, see our guide to what spear phishing is, since phishing is a common way attackers gain the first low-privilege foothold.

How do you detect vertical privilege escalation?

Look for the signs of a permission change: new admin accounts, new group memberships, and admin tools running from unexpected places.

  • New privileged accounts or group members. Alert on any addition to Domain Admins, local Administrators, or cloud admin roles.
  • Elevation outside change windows. UAC prompts, sudo use, and runas activity at odd hours deserve a look.
  • Processes running as SYSTEM from odd parents. A SYSTEM process spawned by a browser or a document is a red flag.
  • Security tools disabled or uninstalled. Attackers with admin rights often turn off endpoint protection first.
  • Credential and token activity. Unusual token duplication, new SSH keys, or new cloud credentials on an admin account.

Centralize logs from endpoints, identity providers, and cloud platforms so these events are visible in one place. Without centralized logging, escalation is easy to miss until the damage is done.

How do you prevent vertical privilege escalation?

Prevent it by removing the paths upward: least privilege, prompt patching, strong admin authentication, and regular audits.

Five defenses that block the climb1. Least privilege —no standing local admin; grant rights only when needed2. Patch promptly —kernel, drivers, and applications, especially privilege flaws3. Strong admin MFA —phishing-resistant keys or passkeys for admin accounts4. Harden elevation —audit sudo, setuid, and UAC settings; remove what is unused5. Audit and monitor —review privileged groups and alert on new admins
Defense in depth against privilege escalation — each layer blocks a different route up. Illustration by Cysoro.

For every user and device

Remove local admin rights from everyday accounts. Most people do not need them, and removing them closes the easiest escalation path. Use a separate admin account for admin work, and protect it with phishing-resistant MFA.

Patch promptly. Prioritize vulnerabilities that allow privilege escalation, especially kernel and driver flaws. An unpatched privilege flaw is an open ladder.

For administrators and developers

Audit sudo, setuid, and service accounts. Review who can run what as root, remove unused setuid binaries, and give service accounts only the rights their service needs. Check the small business cybersecurity checklist for a practical starting point.

Enforce server-side authorization in web applications. Check the user's role on the server for every admin function and every object, not just in the user interface. Never trust a role value, cookie, or parameter sent by the user.

Separate admin workstations and accounts. Admins should not browse the web or read email from an account that can change the domain. That separation limits what a phished admin account can do.

Check reused admin passwordsIf an admin password was ever reused, a breach elsewhere can hand an attacker your highest rights. Test whether a password appears in known breaches with our pwned password checker.

What is a quick checklist to stop vertical privilege escalation?

Use this checklist as a monthly review: remove unneeded admin rights, patch privilege flaws, audit privileged groups, and test your own applications for admin access.

  1. List every account with admin rights and remove any that no longer need them.
  2. Patch operating systems, drivers, and applications, prioritizing privilege-escalation flaws.
  3. Require phishing-resistant MFA on all admin and cloud-privileged accounts.
  4. Audit sudo, setuid, and cloud IAM policies for overly broad permissions.
  5. Test web applications with a low-privilege account: try every admin URL and function.
  6. Set alerts for new admin accounts, group changes, and security-tool tampering.
  7. Keep admin work separate from everyday browsing and email.

The bottom line

Vertical privilege escalation is the step that turns a small intrusion into full control. The attacker does not need a new vulnerability every time — a misconfiguration, an over-privileged account, or an unprotected admin page is often enough.

Close the ladder: give users the minimum rights they need, patch privilege flaws fast, protect admin accounts with phishing-resistant MFA, and watch for new admins. You can start by checking your own baseline with the free password strength checker and reviewing who holds admin rights today.

Frequently asked questions

What is vertical privilege escalation in simple terms?

It is gaining more access than you were given by moving up the permission ladder. A standard user becomes an administrator, a local administrator becomes SYSTEM or root, or a cloud user becomes an account administrator.

What is the difference between vertical and horizontal privilege escalation?

Vertical escalation changes the level of rights you hold, for example user to admin. Horizontal escalation changes the identity you act as at the same level, for example one customer reading another customer's records. Horizontal access can lead to vertical access if the other account is privileged.

What are common examples of vertical privilege escalation?

Common examples include exploiting an unpatched kernel or driver flaw, bypassing Windows User Account Control, abusing sudo or setuid programs on Linux, stealing an admin access token, and using a stolen admin credential.

Is vertical privilege escalation the same as broken access control?

They overlap but are not identical. Broken access control is the web-application weakness that often enables vertical escalation, such as an ordinary user reaching an admin page. MITRE ATT&CK TA0004 covers the wider set of operating-system, cloud, and identity techniques.

How do you detect vertical privilege escalation?

Watch for new local or domain administrators, new privileged group memberships, unusual use of admin tools, processes running as SYSTEM from unexpected parents, and elevation prompts outside normal change windows. Centralized logging and endpoint detection make these visible.

How do you prevent vertical privilege escalation?

Give users the minimum rights they need, patch operating systems and drivers promptly, remove local admin rights where possible, require phishing-resistant MFA for admin accounts, and audit privileged group membership regularly.

Can vertical privilege escalation happen in the cloud?

Yes. In the cloud it often means a limited identity gaining a more powerful role, adding itself to a privileged group, or creating new credentials for an admin account. Overly broad IAM policies and standing admin roles are the usual causes.

What should you do if you find privilege escalation in your environment?

Isolate the affected system, disable the compromised account, remove any unauthorized admin accounts or group memberships, patch the exploited flaw, and review logs for what the attacker did with the elevated access before restoring the system.

Sources

  1. MITRE ATT&CK — Privilege Escalation, Tactic TA0004
  2. OWASP — Top 10:2025
  3. CISA, NSA, FBI, MS-ISAC — Phishing Guidance: Stopping the Attack Cycle at Phase One
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against MITRE ATT&CK TA0004, OWASP Top 10 A01 Broken Access Control, and CISA cybersecurity best practices.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free