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 5)

Part of the Perimeter Evasion and Host Exploitation domain, which makes up ~13% of our current practice bank.

48questions here
10free pages
10concepts

Questions 21–25

  1. 21application · medium

    You discover that the MySQL service is running as root on a Linux host. The MySQL version has a known vulnerability that allows writing files to arbitrary locations. What is the most likely privilege escalation path?

    Select an answer first
  2. 22foundation · easy

    Which of the following is an example of a persistence mechanism that relies on a user's login process?

    Select an answer first
  3. 23application · medium

    During a penetration test, you gain access to a Linux server as user 'dev'. You find a custom SUID binary at /usr/local/bin/backup that runs the command 'tar' without an absolute path. The binary is owned by root and has the SUID bit set. You have write access to /usr/local/bin. What is the most direct way to escalate privileges?

    Select an answer first
  4. 24application · easy

    You have read access to /etc/shadow on a Linux system. The root hash is a SHA-512 hash. Which tool would you use to crack it offline?

    Select an answer first
  5. 25foundation · easy

    Which command would a penetration tester use to find all SUID or SGID binaries on a Linux system?

    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.