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

# Static

> Verified writeups for the Static machine of Hack The Box

# Static

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> TOTP NTP + XDebug RCE → PHP-FPM (CVE-2019-11043) → cap\_setuid</p>

<div className="cve-row"><span className="cve-row-label">CVE / Bulletins:</span> <a className="cve-chip" href="https://nvd.nist.gov/vuln/detail/CVE-2019-11043" target="_blank" rel="noopener">CVE-2019-11043 ↗</a></div>

<div className="machine-meta">
  | ·                | ·                                                                                                                                                                                                                                                                        |
  | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Operating system | Linux                                                                                                                                                                                                                                                                    |
  | Difficulty       | Hard                                                                                                                                                                                                                                                                     |
  | Vector           | <span className="vbadge vbadge-linux-privesc">Linux privesc</span>                                                                                                                                                                                                       |
  | IP               | `10.10.10.246`                                                                                                                                                                                                                                                           |
  | Retirement date  | 2021-12-18                                                                                                                                                                                                                                                               |
  | Skills           | Compressed File Recomposition (Fixgz) Abusing TOTP (Python Scripting - NTP protocol) Playing with Static Routes XDebug Exploitation (RCE) Abusing PHP-FPM (RCE) \[CVE-2019-11043] (PIVOTING) Abusing Capabilities (cap\_setuid + Path Hijacking \| Privilege Escalation) |
</div>

## Writeups

| Language | Author      | Format | Link                                                      |
| -------- | ----------- | ------ | --------------------------------------------------------- |
| 🇪🇸 ES  | **S4vitar** | Vídeo  | [Open](https://www.youtube.com/watch?v=BmtLkWmJbgk)       |
| 🇬🇧 EN  | **0xdf**    | Texto  | [Open](https://0xdf.gitlab.io/2021/12/18/htb-static.html) |
| 🇬🇧 EN  | **IppSec**  | Vídeo  | [Open](https://www.youtube.com/watch?v=XZd-pQTu4vU)       |

## Skill resources

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

| Skill                       | Source     | Link                                                                                       |
| --------------------------- | ---------- | ------------------------------------------------------------------------------------------ |
| Port Forwarding / Pivoting  | HackTricks | [Open](https://book.hacktricks.wiki/en/generic-hacking/tunneling-and-port-forwarding.html) |
| SUID binaries               | GTFOBins   | [Open](https://gtfobins.github.io/#+suid)                                                  |
| Remote Code Execution (RCE) | HackTricks | [Open](https://book.hacktricks.wiki/en/pentesting-web/command-injection.html)              |

## Related skills worth mastering

Sudo abuse · linPEAS · Local File Inclusion (LFI) · Remote File Inclusion (RFI) · Shellshock (CVE-2014-6271)

## If you liked this machine, try

* [Ellingson](/en/htb/machines/linux/dificil/ellingson) — Linux, Hard
* [Flujab](/en/htb/machines/linux/dificil/flujab) — Linux, Hard
* [Joker](/en/htb/machines/linux/dificil/joker) — Linux, Hard
* [ScriptKiddie](/en/htb/machines/linux/facil/scriptkiddie) — Linux, Easy
* [Toolbox](/en/htb/machines/windows/facil/toolbox) — Windows, Easy

***

## 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:static" data-giscus-lang="en" />

*Last updated: 2026-06-07*

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","headline":"Static — HTB Writeup Index","name":"Static","url":"https://rootea.es/en/htb/machines/linux/dificil/static","inLanguage":"en","datePublished":"2021-12-18","dateModified":"2026-06-07","about":{"@type":"Thing","name":"Hack The Box (HTB)"},"keywords":"Port Forwarding / Pivoting, SUID binaries, Remote Code Execution (RCE)","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":"Static","item":"https://rootea.es/en/htb/machines/linux/dificil/static"}]}`}
</script>
