nerdexam
CompTIA

PT0-003 · Question #29

A penetration tester executes multiple enumeration commands to find a path to escalate privileges. Given the following command: find / -user root -perm -4000 -exec ls -ldb {} \; 2>/dev/null Which of…

The correct answer is D. Permission. The command find / -user root -perm -4000 -exec ls -ldb {} \; 2>/dev/null is used to find files with the SUID bit set. SUID (Set User ID) permissions allow a file to be executed with the permissions of the file owner (root), rather than the permissions of the user running the…

Submitted by asante_acc· Mar 6, 2026Post-exploitation and Lateral Movement

Question

A penetration tester executes multiple enumeration commands to find a path to escalate privileges. Given the following command:

find / -user root -perm -4000 -exec ls -ldb {} ; 2>/dev/null Which of the following is the penetration tester attempting to enumerate?

Options

  • AAttack path mapping
  • BAPI keys
  • CPasswords
  • DPermission

How the community answered

(60 responses)
  • A
    2% (1)
  • B
    3% (2)
  • C
    5% (3)
  • D
    90% (54)

Explanation

The command find / -user root -perm -4000 -exec ls -ldb {} ; 2>/dev/null is used to find files with the SUID bit set. SUID (Set User ID) permissions allow a file to be executed with the permissions of the file owner (root), rather than the permissions of the user running the file.

Topics

#privilege escalation#Linux permissions#SUID binaries#enumeration commands

Community Discussion

No community discussion yet for this question.

Full PT0-003 Practice