> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/writeups-ctf/hackthebox.md).

# HackTheBox

HackTheBox machine writeups organized by Linux and Windows difficulty, covering enumeration, initial foothold, privilege escalation, Active Directory, web exploitation, and service abuse.

HackTheBox machine writeups organized by operating system and difficulty.

## HTB Methodology

1. Enumerate exposed services, web applications, subdomains, shares, and authentication surfaces.
2. Identify the initial foothold through credentials, CVEs, file upload, LFI, command injection, or service abuse.
3. Stabilize access and collect local context: users, configs, credentials, scheduled tasks, services, and internal ports.
4. Escalate privileges through Linux misconfigurations, Windows privilege abuse, Active Directory paths, or vulnerable services.

## Machine Categories

<table data-card-size="large" data-view="cards" data-full-width="false" data-search="false"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h3><i class="fa-linux" style="color:$primary;">:linux:</i></h3></td><td><h4>Linux Easy</h4></td><td>HackTheBox Linux Easy machine writeups covering web enumeration, exposed services, credential discovery, file disclosure, CMS exploitation, and Linux privilege escalation.</td><td><a href="/writeups-ctf/hackthebox/linux-easy.md">HTB Linux Easy</a></td></tr><tr><td><h3><i class="fa-windows" style="color:$primary;">:windows:</i></h3></td><td><h4>Windows Easy</h4></td><td>HackTheBox Windows Easy machine writeups covering SMB, Active Directory enumeration, WinRM, file disclosure, service abuse, credential attacks, and Windows privilege escalation.</td><td><a href="/writeups-ctf/hackthebox/windows-easy.md">HTB Windows Easy</a></td></tr><tr><td><h3><i class="fa-linux" style="color:$primary;">:linux:</i></h3></td><td><h4>Linux Medium</h4></td><td>HackTheBox Linux Medium machine writeups covering web exploitation, SQL injection, SSRF, CMS RCE, credentials, pivoting, and Linux privilege escalation.</td><td><a href="/writeups-ctf/hackthebox/linux-medium.md">HTB Linux Medium</a></td></tr><tr><td><h3><i class="fa-windows" style="color:$primary;">:windows:</i></h3></td><td><h4>Windows Medium</h4></td><td>HackTheBox Windows Medium machine writeups covering file inclusion, web shells, Jenkins, Active Directory, Windows privilege escalation, and post-exploitation.</td><td><a href="/writeups-ctf/hackthebox/windows-medium.md">HTB Windows Medium</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/writeups-ctf/hackthebox.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
