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

# Bank

> Verified writeups for the Bank machine of Hack The Box

# Bank

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> AXFR → file upload RCE → SUID emergency.sh</p>

<div className="machine-meta">
  | ·                | ·                                                                                                                                          |
  | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
  | Operating system | Linux                                                                                                                                      |
  | Difficulty       | Easy                                                                                                                                       |
  | Vector           | <span className="vbadge vbadge-web">Web</span>                                                                                             |
  | IP               | `10.10.10.29`                                                                                                                              |
  | Retirement date  | 2020-07-07                                                                                                                                 |
  | Skills           | Domain Zone Transfer Attack - AXFR (dig) Information Leakage Abusing File Upload \[RCE] Abusing SUID Binary (WTF?) \[Privilege Escalation] |
</div>

## Writeups

| Language | Author                   | Format | Link                                                    |
| -------- | ------------------------ | ------ | ------------------------------------------------------- |
| 🇪🇸 ES  | **S4vitar**              | Vídeo  | [Open](https://www.youtube.com/watch?v=eWZ29FJxEmA)     |
| 🇪🇸 ES  | **El Pingüino de Mario** | Vídeo  | [Open](https://www.youtube.com/watch?v=gh8zdCQVGlk)     |
| 🇬🇧 EN  | **0xdf**                 | Texto  | [Open](https://0xdf.gitlab.io/2020/07/07/htb-bank.html) |
| 🇬🇧 EN  | **IppSec**               | Vídeo  | [Open](https://www.youtube.com/watch?v=JRPWFSzFaG0)     |

## 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)            |
| DNS zone transfer           | HackTricks  | [Open](https://book.hacktricks.wiki/en/network-services-pentesting/pentesting-dns.html) |
| File Upload Vulnerabilities | PortSwigger | [Open](https://portswigger.net/web-security/file-upload)                                |
| 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

* [Laboratory](/en/htb/machines/linux/facil/laboratory) — Linux, Easy
* [Talkative](/en/htb/machines/linux/dificil/talkative) — Linux, Hard
* [OpenSource](/en/htb/machines/linux/facil/opensource) — Linux, Easy
* [Frolic](/en/htb/machines/linux/facil/frolic) — Linux, Easy
* [Nibbles](/en/htb/machines/linux/facil/nibbles) — Linux, 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:bank" data-giscus-lang="en" />

*Last updated: 2026-06-07*

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","headline":"Bank — HTB Writeup Index","name":"Bank","url":"https://rootea.es/en/htb/machines/linux/facil/bank","inLanguage":"en","datePublished":"2020-07-07","dateModified":"2026-06-07","about":{"@type":"Thing","name":"Hack The Box (HTB)"},"keywords":"Information Leakage, Transferencia de zona DNS, File Upload Vulnerabilities, SUID binaries, Remote Code Execution (RCE)","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":"Bank","item":"https://rootea.es/en/htb/machines/linux/facil/bank"}]}`}
</script>
