Posts

Showing posts with the label Linux Exploitation

Linux Privilege Escalation for CompTIA PenTest+ (PT0-003): SUID, Sudo Misconfigurations, and Kernel Exploits

Why Linux Privilege Escalation Earns Its Own PT0-003 Objective Getting a shell on a Linux target is rarely the end of an engagement — it's usually the beginning. Initial access through a web application vulnerability, a weak SSH credential, or a misconfigured service almost always lands a tester in a low-privilege context: a web server account like www-data , a service account, or an unprivileged user. CompTIA PenTest+ (PT0-003) Domain 3.0, Attacks and Exploits, carries the heaviest weight on the exam, and privilege escalation sits right in the middle of it alongside its Windows counterpart. Where Windows privilege escalation leans on token abuse, service misconfigurations, and DLL hijacking, Linux escalation is a different muscle: file permissions, the sudoers file, scheduled jobs, and the kernel itself. CompTIA expects candidates to recognize both toolsets and the logic behind them, not just memorize command syntax. Enumeration First: Mapping the Attack Surface Before You Es...