RootMe attack path and techniques
By Daniel Dayan ยท Updated
RootMe is an easy Linux machine on TryHackMe that I solved myself. It maps to the technique hubs File Upload Vulnerabilities; Linux SUID Privilege Escalation; Command Injection and RCE.
Overview
RootMe is an easy Linux machine from TryHackMe that I tagged with File Upload and SUID-Python. RootMe counts toward the OSCP practice list in the ZeroBox catalog.
| Platform | TryHackMe |
|---|---|
| Operating system | Linux |
| Difficulty | Easy |
| Relevant for | OSCP |
Attack path summary
Bypass PHP upload extension filter using .phtml on /panel, catch reverse shell, then escalate via /usr/bin/python SUID.
Tags
Techniques explained
- File Upload Vulnerabilities: Upload features become a foothold when the server stores attacker-controlled content where it can be executed. RootMe matches it by the tag File Upload; 9 catalog machines practise it, 8 of them solved by me.
- Linux SUID Privilege Escalation: RootMe matches it by the tag SUID-Python; 31 catalog machines practise it, 5 of them solved by me.
- Command Injection and RCE: The catalog files RootMe under it; 58 catalog machines practise it, 18 of them solved by me.
Where it fits
- OSCP machine list: RootMe is one of 51 easy machines on a list of 105, and I solved 7 of the 105.
- RootMe is one of 198 easy TryHackMe machines in the catalog, 188 of them on Linux, and I solved 16 of the 198.
Related solved machines
Other machines I solved that share tags, a technique hub or a practice list with RootMe.
- Base (HTB Linux Very Easy), shares File Upload
- Bounty Hacker (THM Linux Easy), both are on the OSCP list
- Pickle Rick (THM Linux Easy), both are on the OSCP list
- Mr Robot CTF (THM Linux Medium), both are on the OSCP list
Related
- Certification: OSCP machines (105)
- Technique: File Upload Vulnerabilities (9 machines)
- Technique: Linux SUID Privilege Escalation (31 machines)
- Technique: Command Injection and RCE (58 machines)
- Guides: TJ Null OSCP list, OSCP exam scoring and time budget, OSCP vs CPTS, OSCP report template, HTB vs TryHackMe
- All machines: Hack The Box and TryHackMe directory
Track RootMe in ZeroBox.
Log your RootMe progress, notes and flags offline in your browser, and follow the pentest methodology checklist.
RootMe belongs to TryHackMe; this page contains only my own notes.