Home > Glossary > CompTIA PenTest+ > Privilege Escalation

📖 What is Privilege Escalation?

Privilege Escalation is the act of exploiting a bug or configuration flaw to gain a higher level of access than originally intended. This can be vertical, moving from a user to an admin, or horizontal, moving between accounts with similar privilege levels.

🥋 Sensei Says:

"Look for outdated kernels, misconfigured SUID permissions on Linux, or unquoted service paths on Windows as common vectors for vertical escalation."

📚 Certification: CompTIA PenTest+ (PT0-002)

🔑 What are the Key Concepts of Privilege Escalation?

  • Vertical escalation occurs when an attacker moves from a low-privileged user account to a high-privileged account, such as root or SYSTEM.
  • Horizontal escalation involves gaining access to another user account with similar privilege levels to access different data or restricted resources.
  • Linux escalation vectors often include exploiting SUID binaries, outdated kernels, or misconfigured sudoers files to gain root access.
  • Windows escalation vectors frequently involve unquoted service paths, DLL hijacking, or exploiting insecure service permissions to reach SYSTEM privileges.
  • Post-exploitation enumeration is the critical first step, using tools like LinPEAS or WinPEAS to identify system vulnerabilities that allow escalation.

🎯 How does Privilege Escalation appear on the PT0-002 Exam?

You may be asked to identify the type of escalation occurring when an attacker uses a stolen session cookie to access another standard user's profile.

A scenario might describe finding a binary with the SUID bit set on a Linux system; you will need to determine how to exploit this for root access.

Expect questions where you must identify an unquoted service path in a Windows environment as the primary vulnerability for gaining SYSTEM privileges.

❓ Frequently Asked Questions

How do I distinguish between vertical and horizontal escalation in a multiple-choice question?

Focus on the privilege level change. If the attacker gains administrative or root rights, it is vertical. If they move to a different account with the same level of authority, it is horizontal.


What is the difference between a kernel exploit and a misconfiguration for escalation?

Kernel exploits target flaws in the OS core code (like Dirty COW), whereas misconfigurations target human errors, such as overly permissive SUID bits or unquoted paths in service configurations.

Related Terms from CompTIA PenTest+

📝 Related Study Guides

Comparison 8 min read

CISSP vs CISM: Which Certification Should You Pursue in 2026?

Choose CISSP if you want broad technical security expertise across eight domains, including cryptography, network security, and software development. Choose CISM if you're focused on information security management, governance, and risk management from a leadership perspective. CISSP is ideal for hands-on security architects, while CISM is designed for security managers and directors.

Career Guide 9 min read

The IT Certification Roadmap: Where to Start in 2026

Start your IT certification journey in 2026 with CompTIA A+ for general IT foundations, then branch into networking (Network+), cybersecurity (Security+), or cloud computing (AWS Cloud Practitioner or Azure Fundamentals) based on your career goals. Each path leads to advanced certifications like CISSP, AWS Solutions Architect, or CISM within 2-3 years of focused progression.

Comparison 10 min read

CISSP vs CISM: Which Certification Should You Pursue in 2026?

The CISSP is a broad, technical-to-managerial certification focusing on security operations and architecture across eight domains. In contrast, CISM is a specialized management certification centered on governance, risk management, and program development. Choose CISSP for comprehensive security expertise and CISM if you are pivoting specifically into security leadership and governance roles.

🧠

Test Your Knowledge

Think you understand Privilege Escalation? Put it to the test with our practice exam.

Try 10 Free Questions

⭐ 1,000 expert-curated questions available with Premium

Upgrade Premium