
EC-CouncilCertified Penetration Testing Professional
Domain 4Objective 3
Linux Exploitation and Privilege Escalation CPENT Practice Questions (Page 4)
Part of the Perimeter Evasion and Host Exploitation domain, which makes up ~13% of our current practice bank.
48questions here
10free pages
10concepts
Questions 16–20
- 16
You have sudo rights to run 'less' as root. Which command would you use to read /etc/shadow?
Select an answer first - 17
You have root access on your own machine and an NFS export /data is mounted with 'root_squash' enabled. The export is writable by your user. What is the most effective way to escalate privileges on the NFS server?
Select an answer first - 18
What is the first step a penetration tester should take when attempting to exploit a kernel vulnerability for privilege escalation?
Select an answer first - 19
Why are services running as root often attractive targets for privilege escalation?
Select an answer first - 20
A root-owned script /usr/local/bin/status runs the command 'top' without an absolute path. Your user has write access to /tmp. What is the simplest way to exploit this?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by EC-Council. “CPENT” is a trademark of its owner, used for identification only.