Linux PrivEsc
This is my walkthrough for the TryHackMe Room: Linux PrivEsc.
Task 3
Question 1: What is the hostname of the target system?
Question 2: What is the Linux kernel version of the target system?
Question 3: What Linux is this?
Question 4: What version of the Python language is installed on the system?
Question 5: What vulnerability seem to affect the kernel of the target system? (Enter a CVE number)
Task 5
Question 1: What is the content of the flag1.txt file?




Task 6
Question 1: How many programs can the user "karen" run on the target system with sudo rights?

Question 2: What is the content of the flag2.txt file?



Question 3: How would you use Nmap to spawn a root shell if your user had sudo rights on nmap?
Question 4: What is the hash of frank's password?

Task 7
Question 1: Which user shares the name of a great comic book writer?

Question 2: What is the password of user2?





Question 3: What is the content of the flag3.txt file?

Task 8
Question 1: How many binaries have set capabilities?

Question 2: What other binary can be used through its capabilities?
Questionn 3:What is the content of the flag4.txt file?

Task 9
Question 1: How many user-defined cron jobs can you see on the target system?

Question 2: What is the content of the flag5.txt file?




Question 3: What is Matt's password?

Task 10
Question 1: What is the odd folder you have write access for?
Question 2: What is the content of the flag6.txt file?

Task 11
Question 1: How many mountable shares can you identify on the target system?

Question 2: How many shares have the "no_root_squash" option enabled?

Question 3: What is the content of the flag7.txt file?

Task 12
Question 1: What is the content of the flag1.txt file?





Question 2: What is the content of the flag2.txt file?





Congratulations! You have completed the Linux PrivEsc room!
Last updated