Linux Privilege Escalation: Enumeration | TryHackMe | Walkthrough
Task 3 OS Enumeration
Linux Privilege Escalation: Enumeration | TryHackMe | Walkthrough
https://tryhackme.com/room/linprivenum
Task 3 OS Enumeration
What is the hostname of the target host?
linux-enumeration

uname -a
What is the Linux kernel version of the target host?
6.8.0-1017-aws

cat /proc/version
What version of Ubuntu is running on the host?
Ubuntu 24.04.1 LTS

cat /etc/issue
What is the full path of the script run by root every 5 minutes?
/root/backup.sh

cat /etc/crontab
What is the full version of AppArmor?
4.0.1really4.0.1-0ubuntu0.24.04.3

dpkg -l
Task 4 User Enumeration
Print the environment variables. What is the value of LANG?
C.UTF-8

env
What is the flag in your history?
THM{history-is-not-safe}

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

sudo -l
What is the username of the Mailing List Manager?
list

cat /etc/passwd
Task 5 Network Enumeration
What is the name of the network interface, other than loopback?
ens5

ifconfig
What port, other than 22, is listening on the host?
53

netstat -tulnp
Task 6 File Enumeration
What are the contents of the secret file in your home folder?
THM{not-so-hidden}

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

find / -type f -name “TryHackMe” 2>/dev/null

cat /var/local/TryHackMe-flag.txt
메타데이터
- post_id
- ac8a24133994
- slug
- linux-privilege-escalation-enumeration-tryhackme-walkthrough-ac8a24133994
- url
- https://medium.com/@sornphut/linux-privilege-escalation-enumeration-tryhackme-walkthrough-ac8a24133994
- canonical_url
- https://medium.com/@sornphut/linux-privilege-escalation-enumeration-tryhackme-walkthrough-ac8a24133994
- author_url
- https://medium.com/@sornphut
- status
- ok
- fetched_at
- 2026-07-10 13:01:02