Pickle Rick attack path and techniques
By Daniel Dayan ยท Updated
Pickle Rick is an easy Linux machine on TryHackMe that I solved myself. It maps to the technique hubs Command Injection and RCE; Sudo Misconfiguration.
Overview
Pickle Rick is an easy Linux machine from TryHackMe that I tagged with Command-Injection, Sudo and Web-Enumeration. Pickle Rick counts toward the OSCP practice list in the ZeroBox catalog.
| Platform | TryHackMe |
|---|---|
| Operating system | Linux |
| Difficulty | Easy |
| Relevant for | OSCP |
Attack path summary
Inspect page source for username, check robots.txt for clue. Bypass panel command filter using less/cat alternatives, check sudo -l.
Tags
Web-Enumeration Command-Injection Sudo
Techniques explained
- Command Injection and RCE: Command injection occurs when an application passes input to a system shell. Pickle Rick matches it by the tag Command-Injection; 58 catalog machines practise it, 18 of them solved by me.
- Sudo Misconfiguration: Pickle Rick matches it by the tag Sudo; 23 catalog machines practise it, 8 of them solved by me.
Where it fits
- OSCP machine list: Pickle Rick is one of 51 easy machines on a list of 105, and I solved 7 of the 105.
- Pickle Rick 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 Pickle Rick.
- Epoch (THM Linux Easy), shares Command-Injection
- Vaccine (HTB Linux Very Easy), shares Sudo
- RootMe (THM Linux Easy), both are on the OSCP list
- Simple CTF (THM Linux Easy), both are on the OSCP list
Related
- Certification: OSCP machines (105)
- Technique: Command Injection and RCE (58 machines)
- Technique: Sudo Misconfiguration (23 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 Pickle Rick in ZeroBox.
Log your Pickle Rick progress, notes and flags offline in your browser, and follow the pentest methodology checklist.
Pickle Rick belongs to TryHackMe; this page contains only my own notes.