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…
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)- A2% (1)
- B3% (2)
- C5% (3)
- D90% (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
Community Discussion
No community discussion yet for this question.