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

# Secret

> Verified writeups for the Secret machine of Hack The Box

# Secret

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> JWT API forge → core dump leak → root</p>

<div className="machine-meta">
  | ·                | ·                                                                                                       |
  | ---------------- | ------------------------------------------------------------------------------------------------------- |
  | Operating system | Linux                                                                                                   |
  | Difficulty       | Easy                                                                                                    |
  | Vector           | <span className="vbadge vbadge-web">Web</span>                                                          |
  | IP               | `10.10.11.120`                                                                                          |
  | Retirement date  | 2022-03-26                                                                                              |
  | Skills           | Code Analysis Abusing an API Json Web Tokens (JWT) Abusing/Leveraging Core Dump \[Privilege Escalation] |
</div>

## Writeups

| Language | Author                   | Format | Link                                                      |
| -------- | ------------------------ | ------ | --------------------------------------------------------- |
| 🇪🇸 ES  | **S4vitar**              | Vídeo  | [Open](https://www.youtube.com/watch?v=YfVnbzpjz2I)       |
| 🇪🇸 ES  | **El Pingüino de Mario** | Vídeo  | [Open](https://www.youtube.com/watch?v=5zPIpMZI1ks)       |
| 🇬🇧 EN  | **0xdf**                 | Texto  | [Open](https://0xdf.gitlab.io/2022/03/26/htb-secret.html) |
| 🇬🇧 EN  | **IppSec**               | Vídeo  | [Open](https://www.youtube.com/watch?v=byYZl9CSFtM)       |

## Skill resources

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

| Skill                 | Source      | Link                                             |
| --------------------- | ----------- | ------------------------------------------------ |
| JSON Web Tokens (JWT) | PortSwigger | [Open](https://portswigger.net/web-security/jwt) |

## If you liked this machine, try

* [TheNotebook](/en/htb/machines/linux/medio/thenotebook) — Linux, Medium
* [Unicode](/en/htb/machines/linux/medio/unicode) — Linux, Medium
* [Backend](/en/htb/machines/linux/medio/backend) — Linux, Medium
* [BackendTwo](/en/htb/machines/linux/medio/backendtwo) — Linux, Medium
* [Breadcrumbs](/en/htb/machines/windows/dificil/breadcrumbs) — Windows, 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:secret" data-giscus-lang="en" />

*Last updated: 2026-06-07*

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","headline":"Secret — HTB Writeup Index","name":"Secret","url":"https://rootea.es/en/htb/machines/linux/facil/secret","inLanguage":"en","datePublished":"2022-03-26","dateModified":"2026-06-07","about":{"@type":"Thing","name":"Hack The Box (HTB)"},"keywords":"JSON Web Tokens (JWT)","isPartOf":{"@type":"WebSite","name":"rootea.es","url":"https://rootea.es"},"author":{"@type":"Organization","name":"rootea.es"},"proficiencyLevel":"Fá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/facil/index"},{"@type":"ListItem","position":3,"name":"Easy","item":"https://rootea.es/en/htb/machines/linux/facil/index"},{"@type":"ListItem","position":4,"name":"Secret","item":"https://rootea.es/en/htb/machines/linux/facil/secret"}]}`}
</script>
