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

# Safe

> Writeups verificados de la máquina Safe de Hack The Box

# Safe

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> BOF x64 ROP + libc leak → KeePass database crack</p>

<div className="machine-meta">
  | ·                 | ·                                                                                                                                                                                                                                                                                                                                                                            |
  | ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Sistema operativo | Linux                                                                                                                                                                                                                                                                                                                                                                        |
  | Dificultad        | Fácil                                                                                                                                                                                                                                                                                                                                                                        |
  | Vector            | <span className="vbadge vbadge-binary-exploitation">Binary</span>                                                                                                                                                                                                                                                                                                            |
  | IP                | `10.10.10.147`                                                                                                                                                                                                                                                                                                                                                               |
  | Fecha de retirada | 2019-10-26                                                                                                                                                                                                                                                                                                                                                                   |
  | Skills            | Information Leakage Buffer Overflow \[x64] \[ROP Attacks using PwnTools] \[NX Bypass] \[ASLR Bypass] Trying to hijack the argument to the system() function by loading our content in RDI \[Way 1] Leaking puts and libc address to make a system call with the argument loaded in RDI \[Way 2] \[EXTRA] Abusing keepass to obtain the root password \[Privilege Escalation] |
</div>

## Writeups

| Idioma  | Autor       | Formato | Enlace                                                   |
| ------- | ----------- | ------- | -------------------------------------------------------- |
| 🇪🇸 ES | **S4vitar** | Vídeo   | [Abrir](https://www.youtube.com/watch?v=jvoiMos46IY)     |
| 🇬🇧 EN | **0xdf**    | Texto   | [Abrir](https://0xdf.gitlab.io/2019/10/26/htb-safe.html) |
| 🇬🇧 EN | **IppSec**  | Vídeo   | [Abrir](https://www.youtube.com/watch?v=CO_g3wtC7rk)     |

## Recursos por skill

Documentación curada para cada técnica que aparece en la columna *Skills* de arriba. Fuentes: HackTricks, GTFOBins, PortSwigger, etc.

| Skill                       | Fuente     | Enlace                                                                                 |
| --------------------------- | ---------- | -------------------------------------------------------------------------------------- |
| Information Leakage         | HackTricks | [Abrir](https://book.hacktricks.wiki/en/pentesting-web/information-leak.html)          |
| Buffer Overflow (BoF / ROP) | HackTricks | [Abrir](https://book.hacktricks.wiki/en/binary-exploitation/stack-overflow/index.html) |

## Si te gustó esta máquina, prueba

* [Admirer](/htb/machines/linux/facil/admirer) — Linux, Fácil
* [Haystack](/htb/machines/linux/facil/haystack) — Linux, Fácil
* [Jail](/htb/machines/linux/insano/jail) — Linux, Insano
* [Luke](/htb/machines/linux/medio/luke) — Linux, Medio
* [October](/htb/machines/linux/medio/october) — Linux, Medio

***

## Comentarios y truquillos

¿Algo no funcionó del writeup oficial? ¿Has encontrado un truco mejor? Compártelo aquí — los comentarios viven en [GitHub Discussions](https://github.com/FFuson/HTB_Writeups/discussions).

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

*Última actualización: 2026-06-07*

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","headline":"Safe — HTB Writeup Index","name":"Safe","url":"https://rootea.es/htb/machines/linux/facil/safe","inLanguage":"es","datePublished":"2019-10-26","dateModified":"2026-06-07","about":{"@type":"Thing","name":"Hack The Box (HTB)"},"keywords":"Information Leakage, Buffer Overflow (BoF / ROP)","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":"Inicio","item":"https://rootea.es"},{"@type":"ListItem","position":2,"name":"Linux","item":"https://rootea.es/htb/machines/linux/facil/index"},{"@type":"ListItem","position":3,"name":"Fácil","item":"https://rootea.es/htb/machines/linux/facil/index"},{"@type":"ListItem","position":4,"name":"Safe","item":"https://rootea.es/htb/machines/linux/facil/safe"}]}`}
</script>
