Home > Glossary > PenTest+ Certification Exam > 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: PenTest+ Certification Exam (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 PenTest+ Certification Exam

📝 Related Study Guides

Study Guide 10 min read

The Ultimate CompTIA PenTest+ Study Guide

Passing the CompTIA PenTest+ exam requires a solid understanding of planning and scoping, information gathering, attacks and exploits, reporting, and tools. Consistent practice using high-quality resources is essential for success.

Study Guide 8 min read

How to Pass CompTIA PenTest+ on Your First Try

To pass the PenTest+ on your first try, you must combine hands-on lab experience with rigorous theoretical study, focusing heavily on vulnerability identification and the use of penetration testing tools.

Comparison 7 min read

CompTIA PenTest+ vs. CEH: Which Certification is Right for You?

The CompTIA PenTest+ focuses heavily on practical, hands-on vulnerability assessment and management, while the CEH provides a broader, more theoretical overview of ethical hacking concepts. Your choice depends on whether you prefer practical skills over theoretical knowledge.

🧠

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