The TryHackMe Linux Privilege Escalation: Enumeration Room is a free room from TryHackMe that focuses on how to gather information about a Linux machine. The room is available at https://tryhackme.com/room/linprivenum
1.1 What is the hostname of the target host?
Answer: linux-enumeration

1.2 What is the Linux kernel version of the target host?
Answer: 6.8.0-1017-aws

1.3 What version of Ubuntu is running on the host?
Answer: Ubuntu 24.04.1 LTS

1.4 What is the full path of the script run by root every 5 minutes?
Answer: /root/backup.sh

1.5 What is the full version of AppArmor?
Answer: 4.0.1really4.0.1-0ubuntu0.24.04.3

2.1 Print the environment variables. What is the value of LANG?
Answer: C.UTF-8

2.2 What is the flag in your history?
Answer: THM{history-is-not-safe}

2.3 What is the full path of the command you are allowed to run with elevated privileges?
Answer: /usr/bin/nmap

2.4 What is the username of the Mailing List Manager?
Answer: list

3.1 What is the name of the network interface, other than loopback?
Answer: ens5

3.2 What port, other than 22, is listening on the host?
Answer: 53

4.1 What are the contents of the secret file in your home folder?
Answer: THM{not-so-hidden}

4.2 Find a file that has TryHackMe in its name. What is its content?
Answer: THM{found-the-flag}
