Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
EC-Council logo

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

  1. 16application · easy

    You have sudo rights to run 'less' as root. Which command would you use to read /etc/shadow?

    Select an answer first
  2. 17expert · hard

    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
  3. 18foundation · easy

    What is the first step a penetration tester should take when attempting to exploit a kernel vulnerability for privilege escalation?

    Select an answer first
  4. 19foundation · easy

    Why are services running as root often attractive targets for privilege escalation?

    Select an answer first
  5. 20application · medium

    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.