> ## Documentation Index
> Fetch the complete documentation index at: https://rootea.es/llms.txt
> Use this file to discover all available pages before exploring further.

# Shrek

> Verified writeups for the Shrek machine of Hack The Box

# Shrek

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> Audio steg + elliptic curve crypto → sudo vi → chown wildcard cron</p>

<div className="machine-meta">
  | ·                | ·                                                                                                                                                                                                                                                                                      |
  | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Operating system | Linux                                                                                                                                                                                                                                                                                  |
  | Difficulty       | Hard                                                                                                                                                                                                                                                                                   |
  | Vector           | <span className="vbadge vbadge-linux-privesc">Linux privesc</span>                                                                                                                                                                                                                     |
  | IP               | `10.10.10.47`                                                                                                                                                                                                                                                                          |
  | Retirement date  | 2020-07-22                                                                                                                                                                                                                                                                             |
  | Skills           | Information Leakage Steganography Challenge - Hidden message in the spectrogram of an audio file (Audacity) Cryptography Challenge - Elliptic Curve (py-seccure) Abusing Sudoers Privilege - User Pivoting (Vi) Abusing Cron Job - Chown Wildcard Exploitation \[Privilege Escalation] |
</div>

## Writeups

| Language | Author      | Format | Link                                                     |
| -------- | ----------- | ------ | -------------------------------------------------------- |
| 🇪🇸 ES  | **S4vitar** | Vídeo  | [Open](https://www.youtube.com/watch?v=C2VOcO8MdmI)      |
| 🇬🇧 EN  | **0xdf**    | Texto  | [Open](https://0xdf.gitlab.io/2020/07/22/htb-shrek.html) |
| 🇬🇧 EN  | **IppSec**  | Vídeo  | [Open](https://www.youtube.com/watch?v=tI592BjTd4o)      |

## Skill resources

Curated documentation for each technique listed in the *Skills* column above. Sources: HackTricks, GTFOBins, PortSwigger, etc.

| Skill                      | Source     | Link                                                                                       |
| -------------------------- | ---------- | ------------------------------------------------------------------------------------------ |
| Information Leakage        | HackTricks | [Open](https://book.hacktricks.wiki/en/pentesting-web/information-leak.html)               |
| Steganography (Stego)      | HackTricks | [Open](https://book.hacktricks.wiki/en/crypto-and-stego/stego-tricks.html)                 |
| Port Forwarding / Pivoting | HackTricks | [Open](https://book.hacktricks.wiki/en/generic-hacking/tunneling-and-port-forwarding.html) |

## If you liked this machine, try

* [Horizontall](/en/htb/machines/linux/facil/horizontall) — Linux, Easy
* [Kotarak](/en/htb/machines/linux/dificil/kotarak) — Linux, Hard
* [Acute](/en/htb/machines/windows/dificil/acute) — Windows, Hard
* [TimeLapse](/en/htb/machines/windows/facil/timelapse) — Windows, Easy
* [Talkative](/en/htb/machines/linux/dificil/talkative) — Linux, Hard

***

## Comments & tips

Did the official writeup not work? Found a smarter trick? Share it here — comments live in [GitHub Discussions](https://github.com/FFuson/HTB_Writeups/discussions).

<div className="rootea-giscus-wrap" data-giscus-term="machine:shrek" data-giscus-lang="en" />

*Last updated: 2026-06-07*

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","headline":"Shrek — HTB Writeup Index","name":"Shrek","url":"https://rootea.es/en/htb/machines/linux/dificil/shrek","inLanguage":"en","datePublished":"2020-07-22","dateModified":"2026-06-07","about":{"@type":"Thing","name":"Hack The Box (HTB)"},"keywords":"Information Leakage, Steganography (Stego), Port Forwarding / Pivoting","isPartOf":{"@type":"WebSite","name":"rootea.es","url":"https://rootea.es"},"author":{"@type":"Organization","name":"rootea.es"},"proficiencyLevel":"Difícil"}`}
</script>

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://rootea.es/en"},{"@type":"ListItem","position":2,"name":"Linux","item":"https://rootea.es/en/htb/machines/linux/dificil/index"},{"@type":"ListItem","position":3,"name":"Hard","item":"https://rootea.es/en/htb/machines/linux/dificil/index"},{"@type":"ListItem","position":4,"name":"Shrek","item":"https://rootea.es/en/htb/machines/linux/dificil/shrek"}]}`}
</script>
