Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
工具/GitHubGitHub/momenbasel/htb-writeups
OSINT (开源情报)权限提升漏洞利用取证分析Web安全CTF渗透测试学习与教育精选资源实验室与实践
GitHubmomenbasel/htb-writeups

htb-writeups

结构化集合,包含500多篇Hack The Box靶机通关攻略、400多个挑战题解,以及交互式学习工具,包括知识图谱、攻击路径图和技能树,用于渗透测试和认证备考。

201411个月前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
htb-writeups — 结构化集合,包含500多篇Hack The Box靶机通关攻略、400多个挑战题解,以及交互式学习工具,包括知识图谱、攻击路径图和技能树,用于渗透测试和认证备考。 | Kitploit
查看仓库网站

Hack The Box 解题报告 - 终极HTB资源

这是GitHub上最全面的 Hack The Box 解题报告、演练指南 和 速查表 集合。500+ 台机器、400+ 个挑战、ProLabs、Sherlocks (DFIR)、CTF赛事、渗透测试方法以及OSCP/CPTS认证备考——全部集中在一个地方。``` ___ ___ ___________ __ __ .__ __
/ | \ __ / / \ / ___||/ | ____ __ ________ ______
/ ~ \ | | \ // /_ __ | \ / __ | | _
/ /
\ Y / | | \ / | | /| || | \ /| | / |> >
\
_
|_ / || _/\ / || |||| ___ >_/| / >
/ / / |__| /

root@kitploit:~
[![Awesome](https://awesome.re/badge-flat2.svg)](https://awesome.re)
[![Stars](https://img.shields.io/github/stars/momenbasel/htb-writeups?style=for-the-badge&color=yellow)](https://github.com/momenbasel/htb-writeups/stargazers)
[![Forks](https://img.shields.io/github/forks/momenbasel/htb-writeups?style=for-the-badge&color=blue)](https://github.com/momenbasel/htb-writeups/network/members)
[![Contributors](https://img.shields.io/github/contributors/momenbasel/htb-writeups?style=for-the-badge&color=green)](https://github.com/momenbasel/htb-writeups/graphs/contributors)
[![License](https://img.shields.io/github/license/momenbasel/htb-writeups?style=for-the-badge)](LICENSE)
[![Last Commit](https://img.shields.io/github/last-commit/momenbasel/htb-writeups?style=for-the-badge&color=red)](https://github.com/momenbasel/htb-writeups/commits/main)

**为什么选择这个仓库?** 不同于零散的博客文章和单一作者的收藏,这是一个**结构化、可搜索的索引**,涵盖整个 HTB 生态系统——从 2017 年到 2026 年的机器、每一次 CTF 赛事、每一个挑战类别、每一个 ProLab——并按照技术、难度、操作系统和认证相关性进行交叉引用。无论你是在准备 **OSCP**、**CPTS**、**CRTO**,还是仅仅想磨炼技能,都可以从这里开始。

> **[浏览网站](https://momenbasel.github.io/htb-writeups/)** 获得最佳体验——交互式工具、搜索和深色主题。

---

## 交互式工具

|  | 工具 | 描述 |
|--|------|-------------|
| **[机器查找器](https://momenbasel.github.io/htb-writeups/finder/)** | 搜索与筛选 | 按难度、操作系统、技术、CVE 或认证查找机器。支持表格和卡片视图,实时筛选。 |
| **[知识图谱](https://momenbasel.github.io/htb-writeups/graph/)** | 可视化探索器 | 交互式 D3.js 力导向图,映射 70+ 台机器到 40+ 种技术和 5 种认证。 |
| **[攻击路径](https://momenbasel.github.io/htb-writeups/attack-paths/)** | 流程图 | 展示 25+ 台机器完整攻击链的 Mermaid 图表——从信息收集到获取 root。 |
| **[技能树](https://momenbasel.github.io/htb-writeups/skill-trees/)** | 进阶地图 | AD 攻击、Web 利用、Linux/Windows 提权和认证准备的视觉学习路径。 |

---

## 仓库内容

| 章节 | 描述 | 数量 |
|---------|-------------|-------|
| [机器](#machines) | Boot2root 演练 (简单到疯狂) | 300+ |
| [挑战](#challenges) | 跨 12 个类别的 CTF 风格挑战 | 400+ |
| [ProLabs](#prolabs) | 企业级实验室演练,包含网络拓扑图 | 6 |
| [侦探任务](#sherlocks) | DFIR 与蓝队调查 | 70+ |
| [CTF 赛事](#ctf-events) | 官方 HTB CTF 竞赛的 Writeup | 14 场 |
| [终局](#endgames) | 多机器场景演练 | 5 |
| [堡垒](#fortresses) | 单主机多旗帜挑战 | 6 |
| [资源](#resources) | 工具、速查表、认证准备、方法论 | 10 份指南 |

---

## 机器

已退役 HTB 机器的 Writeup,按难度组织。每份 Writeup 包含枚举、利用和权限提升步骤,以及完整的命令输出。

### 按难度

| 难度 | 路径 | 机器数量 |
|------------|------|----------|
| 简单 | [`machines/easy/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/easy/) | 132+ |
| 中等 | [`machines/medium/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/medium/) | 136+ |
| 困难 | [`machines/hard/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/hard/) | 70+ |
| 疯狂 | [`machines/insane/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/insane/) | 50+ |

### 近期退役 (2025-2026)

| 机器 | 操作系统 | 难度 | 关键技术 | 日期 |
|---------|----|------------|----------------|------|
| [MonitorsFour](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/insane/MonitorsFour/) | Windows | 疯狂 | PHP 类型混淆、Cacti CVE、Docker API 逃逸 | 2026年5月 |
| [Pterodactyl](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/insane/Pterodactyl/) | openSUSE | 疯狂 | Pterodactyl Panel CVE-2025-49132、PEAR pearcmd LFI、Polkit | 2026年5月 |
| [Helix](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/medium/Helix/) | Linux | 中等 | Apache NiFi ExecuteSQL + H2 Java Alias RCE | 2026年5月 |
| [Overwatch](https://0xdf.gitlab.io/2026/05/09/htb-overwatch.html) | Windows | 疯狂 | .NET 逆向、WCF 服务注入、DNS | 2026年5月 |
| [Sorcery](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/insane/Sorcery/) | Linux | 疯狂 | Cypher 注入、WebAuthn XSS、Kafka、FreeIPA | 2026年4月 |
| [PingPong](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/hard/PingPong/) | Windows | 困难 | 多林 AD、MSSQL 委派、ADCS | 2026年4月 |
| [AirTouch](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/hard/AirTouch/) | Linux | 困难 | 802.11 WPA2 破解、邪恶双子、PEAP-MSCHAPv2 | 2026年4月 |
| [Eighteen](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/hard/Eighteen/) | Windows | 困难 | Win Server 2025、MSSQL 模拟、Bad Successor dMSA | 2026年4月 |
| [DarkZero](https://0xdf.gitlab.io/2026/04/04/htb-darkzero.html) | Windows | 困难 | 跨林信任、AD 滥用 | 2026年4月 |
| [Pirate](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/hard/Pirate/) | Windows | 困难 | Pre2k、gMSA、PetitPotam、RBCD、S4U SPN Jack | 2026年2月 |
| [VariaType](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/medium/VariaType/) | Linux | 中等 | fontTools CVE-2025-66034、FontForge CVE-2024-25082 | 2026年3月 |
| [Interpreter](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/medium/Interpreter/) | Linux | 中等 | Mirth Connect CVE-2023-43208、Python eval() | 2026年2月 |
| [Kobold](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/easy/Kobold/) | Linux | 简单 | MCPJam CVE-2026-23744、Docker 组 | 2026年3月 |
| [Facts](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/easy/Facts/) | Linux | 简单 | Camaleon CMS IDOR + 路径遍历 + Facter Sudo | 2026年1月 |
| [Code](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/easy/Code/) | Linux | 简单 | Python 沙箱绕过、Backy Sudo | 2025年8月 |
| [Cobblestone](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/insane/Cobblestone/) | Linux | 疯狂 | 二阶 SQLi、Twig SSTI、Cobbler XMLRPC | 2025年 |
| [Snapped](https://0xdf.gitlab.io/2026/04/01/htb-snapped.html) | Linux | 困难 | Nginx UI RCE、静态站点利用 | 2026年3月 |
| [Browsed](https://0xdf.gitlab.io/2026/03/28/htb-browsed.html) | Linux | 中等 | 浏览器扩展利用、Headless Chrome | 2026年3月 |
| [Previous](https://0xdf.gitlab.io/2026/01/10/htb-previous.html) | Linux | 中等 | NextJS 利用、框架滥用 | 2026年1月 |
| [Retire](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/hard/) | Windows | 困难 | Active Directory、Kerberos 滥用 | 2026年1月 |
| [Fries](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/hard/) | Linux | 困难 | Web 利用、自定义利用 | 2025年11月 |
| [NanoCorp](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/hard/) | Linux | 困难 | 自定义协议、二进制分析 | 2025年11月 |
| [Hercules](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/insane/) | Linux | 疯狂 | 多阶段利用 | 2025年10月 |
| [Signed](https://0xdf.gitlab.io/2026/02/07/htb-signed.html) | Windows | 中等 | 代码签名绕过、证书滥用 | 2025年10月 |
| [University](https://0xdf.gitlab.io/2025/08/09/htb-university.html) | Windows | 疯狂 | 多向量攻击、复杂链 | 2025年8月 |
| [Dog](https://0xdf.gitlab.io/2025/07/12/htb-dog.html) | Linux | 简单 | Backdrop CMS、Web 利用 | 2025年7月 |
| [Mirage](https://0xdf.gitlab.io/2025/11/22/htb-mirage.html) | Windows | 困难 | Active Directory、ADCS | 2025年7月 |
| [Voleur](https://0xdf.gitlab.io/2025/11/01/htb-voleur.html) | Windows | 中等 | 数据外泄、自定义利用 | 2025年7月 |
| [RustyKey](https://0xdf.gitlab.io/2025/11/08/htb-rustykey.html) | Windows | 困难 | Rust 二进制利用 | 2025年6月 |
| [TombWatcher](https://0xdf.gitlab.io/2025/10/11/htb-tombwatcher.html) | Windows | 中等 | 自定义服务利用 | 2025年6月 |
| [Haze](https://0xdf.gitlab.io/2025/06/28/htb-haze.html) | Windows | 困难 | Splunk Enterprise 利用 | 2025年6月 |
| [Certificate](https://0xdf.gitlab.io/2025/10/04/htb-certificate.html) | Windows | 困难 | ADCS、证书模板滥用 | 2025年5月 |
| [Vintage](https://0xdf.gitlab.io/2025/04/26/htb-vintage.html) | Windows | 困难 | 纯 Active Directory、Kerberoasting | 2025年4月 |

### 按操作系统

- **Linux** - [`machines/` 按操作系统筛选](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/) - Ubuntu、Debian、CentOS、自定义发行版
- **Windows** - [`machines/` 按操作系统筛选](https://github.com/momenbasel/htb-writeups/blob/HEAD/machines/) - Windows Server、Active Directory 环境
- **FreeBSD/OpenBSD** - 较少,但存在于较难等级中

### 按技术

<details>
<summary><b>Active Directory</b> - Kerberoasting、AS-REP Roasting、ADCS、DCSync、Pass-the-Hash、BloodHound</summary>

| 机器 | 难度 | 具体 AD 技术 |
|---------|------------|-----------------------|
| DarkZero | 困难 | 跨林信任滥用 |
| Vintage | 困难 | Kerberoasting、纯 AD |
| Certificate | 困难 | ADCS 证书模板滥用 |
| Mirage | 困难 | ADCS、影子凭据 |
| Haze | 困难 | Splunk + AD 集成 |
| Retire | 困难 | Kerberos 委派滥用 |

</details>

<details>
<summary><b>Web 利用</b> - SQLi、XSS、SSRF、SSTI、LFI/RFI、反序列化</summary>

| 机器 | 难度 | 具体 Web 技术 |
|---------|------------|-----------------------|
| Dog | 简单 | Backdrop CMS RCE |
| Browsed | 中等 | 浏览器扩展 RCE |
| Previous | 中等 | NextJS 框架利用 |
| Snapped | 困难 | Nginx UI 管理面板 RCE |
| Fries | 困难 | 自定义 Web 应用利用 |

</details>

<details>
<summary><b>二进制利用</b> - 缓冲区溢出、ROP、堆利用、格式化字符串</summary>

| 机器 | 难度 | 具体技术 |
|---------|------------|-----------------------|
| RustyKey | 困难 | Rust 二进制利用 |
| NanoCorp | 困难 | 自定义协议利用 |

</details>

<details>
<summary><b>云与基础设施</b> - AWS、Azure、GCP、Docker、Kubernetes</summary>

| 机器 | 难度 | 具体技术 |
|---------|------------|-----------------------|
| Hercules | 疯狂 | 容器逃逸、云元数据 |

</details>

---

## 挑战

按类别组织的 CTF 风格挑战。每份 Writeup 包含挑战描述、思路方法、解决方案和经验教训。

| 类别 | 路径 | 数量 | 关键技能 |
|----------|------|-------|------------|
| Web | [`challenges/web/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/challenges/web/) | 75+ | XSS、SQLi、SSTI、SSRF、反序列化、JWT、GraphQL |
| 密码学 | [`challenges/crypto/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/challenges/crypto/) | 93+ | RSA、AES、ECC、Padding Oracle、PRNG、格攻击 |
| 取证 | [`challenges/forensics/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/challenges/forensics/) | 33+ | 内存分析、磁盘取证、网络 PCAP、恶意软件 |
| 逆向 | [`challenges/reversing/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/challenges/reversing/) | 44+ | x86/x64、.NET、Python、Angr、反调试、VM |
| Pwn | [`challenges/pwn/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/challenges/pwn/) | 61+ | 栈/堆溢出、ROP、SROP、内核、tcache |
| 移动 | [`challenges/mobile/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/challenges/mobile/) | 10+ | Android APK、Frida、Smali、证书固定 |
| 硬件 | [`challenges/hardware/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/challenges/hardware/) | 11+ | UART、SPI、固件、VHDL、射频分析 |
| OSINT | [`challenges/osint/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/challenges/osint/) | 12+ | 地理定位、社交媒体、DNS、元数据 |
| 杂项 | [`challenges/misc/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/challenges/misc/) | 35+ | 脚本编写、逻辑、编码、Pickle、Pyjail |
| 隐写 | [`challenges/stego/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/challenges/stego/) | 12+ | 图片、音频、LSB、Steghide、ImageMagick |
| 区块链 | [`challenges/blockchain/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/challenges/blockchain/) | 10+ | Solidity、智能合约、ERC-721、ECDSA |
| AI/ML | [`challenges/ai-ml/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/challenges/ai-ml/) | 5+ | 对抗性 ML、提示注入、LLM 绕过 |

---

## ProLabs

模拟真实企业网络的企业级实验室环境。这些 Writeup 涵盖多机器攻击路径、横向移动和域控制。

| 实验室 | 难度 | 机器数量 | 重点 |
|-----|-----------|----------|-------|
| [Dante](https://github.com/momenbasel/htb-writeups/blob/HEAD/prolabs/#{0}) | 入门 | 14 | 网络渗透测试基础 |
| [Offshore](https://github.com/momenbasel/htb-writeups/blob/HEAD/prolabs/#{0}) | 中级 | 21 | Active Directory、多域 |
| [RastaLabs](https://github.com/momenbasel/htb-writeups/blob/HEAD/prolabs/#{0}) | 中级 | 15 | 红队模拟、鱼叉式钓鱼 |
| [Zephyr](https://github.com/momenbasel/htb-writeups/blob/HEAD/prolabs/#{0}) | 中级 | 17 | ADCS、DPAPI、受限委派 |
| [Cybernetics](https://github.com/momenbasel/htb-writeups/blob/HEAD/prolabs/#{0}) | 高级 | 20+ | 高级 AD、跨林攻击 |
| [APTLabs](https://github.com/momenbasel/htb-writeups/blob/HEAD/prolabs/#{0}) | 高级 | 20+ | APT 模拟、多向量 |

---

## 侦探任务

DFIR(数字取证与事件响应)调查实验室。蓝队场景,你需要调查安全事件并回答取证问题。

| 类别 | 路径 | 重点 |
|----------|------|-------|
| 简单 | [`sherlocks/easy/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/sherlocks/) | 日志分析、基础 DFIR |
| 中等 | [`sherlocks/medium/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/sherlocks/) | 内存取证、恶意软件分类 |
| 困难 | [`sherlocks/hard/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/sherlocks/) | APT 调查、复杂 IR |

### 精选侦探任务

| 名称 | 难度 | 重点领域 | Writeup |
|------|-----------|------------|---------|
| Meerkat | 简单 | Suricata IDS、凭证填充、CVE-2022-25237 | [0xdf](https://0xdf.gitlab.io/2024/04/23/htb-sherlock-meerkat.html) |
| Brutus | 简单 | SSH 暴力破解、auth.log 分析 | [0xdf](https://0xdf.gitlab.io/2024/04/09/htb-sherlock-brutus.html) |
| Noted | 简单 | Notepad++ 痕迹、数据勒索 | [0xdf](https://0xdf.gitlab.io/2024/06/13/htb-sherlock-noted.html) |
| Knock Knock | 简单 | PCAP、FTP、端口敲门、GonnaCry 勒索软件 | [0xdf](https://0xdf.gitlab.io/2023/12/04/htb-sherlock-knock-knock.html) |
| Bumblebee | 简单 | phpBB SQLite、访问日志分析 | [0xdf](https://0xdf.gitlab.io/2024/05/22/htb-sherlock-bumblebee.html) |
| Crown Jewel-1 | 中等 | NTDS.dit 导出、卷影复制服务 | [CyberWired](https://www.cyberwiredtraining.net/writeups/htb-sherlock-crownjewel-1-jezdr) |
| Noxious | 中等 | LLMNR 投毒、流氓设备检测 | [0xdf](https://0xdf.gitlab.io/2024/09/04/htb-sherlock-noxious.html) |
| Subatomic | 中等 | Electron 恶意软件、Discord 劫持 | [0xdf](https://0xdf.gitlab.io/2024/04/18/htb-sherlock-subatomic.html) |
| Nubilum-1 | 中等 | AWS CloudTrail、PoshC2、云取证 | [0xdf](https://0xdf.gitlab.io/2024/05/30/htb-sherlock-nubilum-1.html) |
| MisCloud | 中等 | GCP 入侵、Gitea 漏洞 | [CyberEthical](https://blog.cyberethical.me/htb-sherlock-miscloud) |
| OpTinselTrace (1-5) | 困难 | 完整 APT 活动调查(2023年圣诞节) | [GitHub](https://github.com/dbissell6/DFIR/blob/main/WalkThroughs/OpTinselTrace-1-5.md) |
| APTNightmare | 困难 | 高级持续性威胁调查 | [GitHub](https://github.com/jon-brandy/hackthebox/blob/main/Categories/Sherlocks/APTNightmare/README.md) |

查看[完整侦探任务索引](https://github.com/momenbasel/htb-writeups/blob/HEAD/sherlocks/README.md)获取 70+ 篇侦探任务及其 Writeup 链接。

---

## CTF 赛事

来自官方 Hack The Box 竞技 CTF 赛事的 Writeup。

| 赛事 | 年份 | 路径 | 亮点 |
|-------|------|------|------------|
| Cyber Apocalypse | 2025 | [`ctf-events/cyber-apocalypse-2025/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/ctf-events/) | Web、密码学、Pwn、取证 |
| Business CTF | 2025 | [`ctf-events/business-ctf-2025/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/ctf-events/) | 企业安全重点 |
| University CTF | 2025 | [`ctf-events/university-ctf-2025/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/ctf-events/) | 学术团队竞赛 |
| Cyber Apocalypse | 2024 | [`ctf-events/cyber-apocalypse-2024/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/ctf-events/) | 黑客皇家主题 |
| Business CTF | 2024 | [`ctf-events/business-ctf-2024/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/ctf-events/) | 企业场景 |
| University CTF | 2024 | [`ctf-events/university-ctf-2024/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/ctf-events/) | 二进制荒原主题 |

---

## 终局

模拟真实渗透测试的多机器、多阶段场景。参见 [`endgames/README.md`](https://github.com/momenbasel/htb-writeups/blob/HEAD/endgames/README.md) 获取详细演练。

| 终局 | 路径 | 旗帜数量 | 重点 |
|---------|------|-------|-------|
| P.O.O. | [`endgames/poo/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/endgames/) | 5 | MSSQL 链接服务器、IIS 枚举 |
| Xen | [`endgames/xen/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/endgames/) | 5+ | Citrix 突破、AD、钓鱼 |
| Hades | [`endgames/hades/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/endgames/) | 5+ | AS-REP Roast、DPAPI、RBCD、DNS 欺骗 |
| RPG | [`endgames/rpg/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/endgames/) | 6 | Linux 利用、多主机跳板 |
| Ascension | [`endgames/ascension/`](https://github.com/momenbasel/htb-writeups/blob/HEAD/endgames/) | 7 | 盲注 SQLi、MSSQL 代理、RBCD |

---

## 堡垒

由合作伙伴公司创建的多旗帜单主机挑战。类似超级机器。参见 [`fortresses/README.md`](https://github.com/momenbasel/htb-writeups/blob/HEAD/fortresses/README.md) 获取详细演练。

| 堡垒 | 创建者 | 旗帜数量 | 重点 |
|----------|---------|-------|-------|
| [Jet](https://github.com/momenbasel/htb-writeups/blob/HEAD/fortresses/) | Jet | 11 | 多服务利用 |
| [Akerva](https://github.com/momenbasel/htb-writeups/blob/HEAD/fortresses/) | Akerva | 8 | WordPress、SNMP、Web 链 |
| [Context](https://github.com/momenbasel/htb-writeups/blob/HEAD/fortresses/) | Context/Accenture | 7 | Web + 基础设施 |
| [Synacktiv](https://github.com/momenbasel/htb-writeups/blob/HEAD/fortresses/) | Synacktiv | 多个 | Symfony、AppSec、基础设施 |
| [AWS](https://github.com/momenbasel/htb-writeups/blob/HEAD/fortresses/) | Amazon Web Services | 多个 | 云安全、IAM、Lambda、S3 |
| [Faraday](https://github.com/momenbasel/htb-writeups/blob/HEAD/fortresses/) | Faraday | 7 | 通用进攻性安全 |

---

## 资源

### 按类别划分的工具

<details>
<summary><b>枚举与信息收集</b></summary>

| 工具 | 用途 | 链接 |
|------|---------|------|
| Nmap | 端口扫描与服务探测 | [nmap.org](https://nmap.org) |
| RustScan | 快速端口扫描器 | [GitHub](https://github.com/RustScan/RustScan) |
| Gobuster | 目录/DNS/vhost 暴力破解 | [GitHub](https://github.com/OJ/gobuster) |
| Feroxbuster | 递归内容发现 | [GitHub](https://github.com/epi052/feroxbuster) |
| ffuf | 快速 Web 模糊器 | [GitHub](https://github.com/ffuf/ffuf) |
| enum4linux-ng | SMB/Samba 枚举 | [GitHub](https://github.com/cddmp/enum4linux-ng) |

</details>

<details>
<summary><b>Web 利用</b></summary>

| 工具 | 用途 | 链接 |
|------|---------|------|
| Burp Suite | Web 代理与扫描器 | [portswigger.net](https://portswigger.net/burp) |
| SQLMap | SQL 注入自动化 | [GitHub](https://github.com/sqlmapproject/sqlmap) |
| Nuclei | 基于模板的漏洞扫描器 | [GitHub](https://github.com/projectdiscovery/nuclei) |
| Caido | 现代 Web 代理 | [caido.io](https://caido.io) |
| PayloadsAllTheThings | Payload 仓库 | [GitHub](https://github.com/swisskyrepo/PayloadsAllTheThings) |

</details>

<details>
<summary><b>Active Directory</b></summary>

| 工具 | 用途 | 链接 |
|------|---------|------|
| BloodHound | AD 关系映射 | [GitHub](https://github.com/SpecterOps/BloodHound) |
| Impacket | 网络协议工具包 | [GitHub](https://github.com/fortra/impacket) |
| Rubeus | Kerberos 滥用 | [GitHub](https://github.com/GhostPack/Rubeus) |
| Certipy | ADCS 利用 | [GitHub](https://github.com/ly4k/Certipy) |
| NetExec (nxc) | 网络执行工具包 | [GitHub](https://github.com/Pennyw0rth/NetExec) |
| Ligolo-ng | 隧道/跳板 | [GitHub](https://github.com/nicocha30/ligolo-ng) |

</details>

<details>
<summary><b>权限提升</b></summary>

| 工具 | 用途 | 链接 |
|------|---------|------|
| LinPEAS | Linux 提权枚举 | [GitHub](https://github.com/peass-ng/PEASS-ng) |
| WinPEAS | Windows 提权枚举 | [GitHub](https://github.com/peass-ng/PEASS-ng) |
| pspy | 进程监控(无需 root) | [GitHub](https://github.com/DominicBreuker/pspy) |
| PowerUp | Windows 提权 PowerShell | [GitHub](https://github.com/PowerShellMafia/PowerSploit) |
| GTFOBins | Unix 二进制利用 | [gtfobins.github.io](https://gtfobins.github.io) |
| LOLBAS | Windows 本地二进制利用 | [lolbas-project.github.io](https://lolbas-project.github.io) |

</details>

<details>
<summary><b>取证与 DFIR</b></summary>

| 工具 | 用途 | 链接 |
|------|---------|------|
| Volatility 3 | 内存取证 | [GitHub](https://github.com/volatilityfoundation/volatility3) |
| Autopsy | 磁盘取证 | [autopsy.com](https://www.autopsy.com) |
| Wireshark | 网络抓包分析 | [wireshark.org](https://www.wireshark.org) |
| CyberChef | 数据转换 | [GitHub](https://github.com/gchq/CyberChef) |
| Chainsaw | Windows 事件日志分析 | [GitHub](https://github.com/WithSecureLabs/chainsaw) |

</details>

<details>
<summary><b>逆向工程</b></summary>

| 工具 | 用途 | 链接 |
|------|---------|------|
| Ghidra | 二进制分析 | [ghidra-sre.org](https://ghidra-sre.org) |
| IDA Free | 反汇编器 | [hex-rays.com](https://hex-rays.com/ida-free) |
| radare2 | CLI 逆向工程 | [GitHub](https://github.com/radareorg/radare2) |
| Binary Ninja | 二进制分析平台 | [binary.ninja](https://binary.ninja) |
| dnSpy | .NET 反编译器 | [GitHub](https://github.com/dnSpy/dnSpy) |

</details>

<details>
<summary><b>二进制利用</b></summary>| 工具 | 用途 | 链接 |
|------|------|------|
| pwntools | CTF 利用框架 | [GitHub](https://github.com/Gallopsled/pwntools) |
| ROPgadget | ROP 链构建器 | [GitHub](https://github.com/JonathanSalwan/ROPgadget) |
| GEF | GDB 增强功能 | [GitHub](https://github.com/hugsy/gef) |
| one_gadget | libc 单次 gadget | [GitHub](https://github.com/david942j/one_gadget) |
| checksec | 二进制安全检测 | [GitHub](https://github.com/slimm609/checksec.sh) |

</details>

### 认证备考

将你的 HTB 之旅与专业认证对齐。

<details>
<summary><b>OSCP(Offensive Security Certified Professional)</b></summary>

**OSCP 备考推荐 HTB 靶机:**

| 靶机 | 难度 | 关键技能 |
|------|------|----------|
| Lame | 简单 | Samba RCE,基础利用 |
| Legacy | 简单 | MS08-067,Windows 利用 |
| Blue | 简单 | EternalBlue(MS17-010) |
| Optimum | 简单 | HFS RCE,Windows 提权 |
| Shocker | 简单 | Shellshock,Linux 基础 |
| Nibbles | 简单 | CMS 利用,文件上传 |
| Bashed | 简单 | PHP Webshell,Cron 滥用 |
| Arctic | 简单 | ColdFusion,Windows 利用 |
| Grandpa | 简单 | IIS WebDAV,令牌模拟 |
| Bastard | 中等 | Drupal RCE,Windows 提权 |
| Cronos | 中等 | DNS 区域传送,SQL 注入 |
| SolidState | 中等 | Apache James RCE,Cron 提权 |
| Node | 中等 | API 利用,内核利用 |
| Valentine | 简单 | Heartbleed,tmux 劫持 |
| Poison | 中等 | LFI,VNC 隧道 |
| Sunday | 简单 | Finger 枚举,shadow 文件 |
| DevOops | 中等 | XXE,Git 秘密 |
| Jeeves | 中等 | Jenkins RCE,KeePass 破解 |
| Conceal | 困难 | IPSec VPN,SNMP,JuicyPotato |

</details>

<details>
<summary><b>CPTS(Certified Penetration Testing Specialist)</b></summary>

**CPTS 备考推荐 HTB 靶机:**

| 靶机 | 难度 | 关键技能 |
|------|------|----------|
| Active | 简单 | AD 基础,GPP 滥用,Kerberoasting |
| Forest | 简单 | AS-REP Roasting,DCSync |
| Sauna | 简单 | AS-REP Roasting,WinRM |
| Monteverde | 中等 | Azure AD,密码喷洒 |
| Resolute | 中等 | DNS 管理员 DLL 注入 |
| Cascade | 中等 | LDAP 枚举,.NET 逆向 |
| Blackfield | 困难 | AS-REP,备份操作员提权 |
| Vintage | 困难 | 纯 AD 利用 |
| Certificate | 困难 | ADCS 利用 |
| Support | 简单 | LDAP,.NET 二进制分析 |

</details>

<details>
<summary><b>CRTO(Certified Red Team Operator)</b></summary>

重点实验室:**RastaLabs** 和 **Zephyr** 与 CRTO 内容直接对齐。

| 靶机/实验室 | 类型 | 关键技能 |
|-------------|------|----------|
| RastaLabs | 专业实验室 | 钓鱼,C2,横向移动 |
| Zephyr | 专业实验室 | ADCS,DPAPI,约束委派 |
| Offshore | 专业实验室 | 多域 AD |
| Reel | 困难 | 钓鱼,AppLocker 绕过 |
| Mantis | 困难 | AD,Kerberos,MS14-068 |

</details>

### 速查表

| 速查表 | 描述 |
|--------|------|
| [Linux 枚举](https://github.com/momenbasel/htb-writeups/blob/HEAD/resources/cheatsheets/linux-enumeration.md) | 后渗透 Linux 枚举命令 |
| [Windows 枚举](https://github.com/momenbasel/htb-writeups/blob/HEAD/resources/cheatsheets/windows-enumeration.md) | 后渗透 Windows 枚举命令 |
| [Active Directory](https://github.com/momenbasel/htb-writeups/blob/HEAD/resources/cheatsheets/active-directory.md) | AD 攻击方法论和命令 |
| [Web 应用](https://github.com/momenbasel/htb-writeups/blob/HEAD/resources/cheatsheets/web-application.md) | Web 利用技术和 payload |
| [权限提升 - Linux](https://github.com/momenbasel/htb-writeups/blob/HEAD/resources/cheatsheets/privesc-linux.md) | Linux 权限提升向量 |
| [权限提升 - Windows](https://github.com/momenbasel/htb-writeups/blob/HEAD/resources/cheatsheets/privesc-windows.md) | Windows 权限提升向量 |
| [文件传输](https://github.com/momenbasel/htb-writeups/blob/HEAD/resources/cheatsheets/file-transfers.md) | 在机器间传输文件的方法 |
| [反弹 Shell](https://github.com/momenbasel/htb-writeups/blob/HEAD/resources/cheatsheets/reverse-shells.md) | 所有语言的反弹 shell 单行命令 |
| [隧道与代理](https://github.com/momenbasel/htb-writeups/blob/HEAD/resources/cheatsheets/pivoting.md) | SSH 隧道,Chisel,Ligolo,SOCKS |
| [密码攻击](https://github.com/momenbasel/htb-writeups/blob/HEAD/resources/cheatsheets/password-attacks.md) | 破解,喷洒,暴力破解 |

### 方法论

| 指南 | 描述 |
|------|------|
| [HTB 靶机方法](https://github.com/momenbasel/htb-writeups/blob/HEAD/resources/methodology/machine-approach.md) | 如何系统地处理任何 HTB 靶机 |
| [笔记模板](https://github.com/momenbasel/htb-writeups/blob/HEAD/resources/methodology/note-taking.md) | 写报告的结构化笔记 |
| [报告撰写](https://github.com/momenbasel/htb-writeups/blob/HEAD/resources/methodology/report-writing.md) | 专业渗透测试报告模板 |

---

## 仓库结构```
htb-writeups/
|-- machines/
|   |-- easy/                    # Easy difficulty machines
|   |-- medium/                  # Medium difficulty machines
|   |-- hard/                    # Hard difficulty machines
|   |-- insane/                  # Insane difficulty machines
|-- challenges/
|   |-- web/                     # Web exploitation challenges
|   |-- crypto/                  # Cryptography challenges
|   |-- forensics/               # Digital forensics challenges
|   |-- reversing/               # Reverse engineering challenges
|   |-- pwn/                     # Binary exploitation challenges
|   |-- mobile/                  # Mobile security challenges
|   |-- hardware/                # Hardware hacking challenges
|   |-- osint/                   # OSINT challenges
|   |-- misc/                    # Miscellaneous challenges
|   |-- stego/                   # Steganography challenges
|   |-- blockchain/              # Blockchain/smart contract challenges
|   |-- ai-ml/                   # AI/ML security challenges
|-- prolabs/
|   |-- dante/                   # Dante ProLab walkthrough
|   |-- offshore/                # Offshore ProLab walkthrough
|   |-- rastalabs/               # RastaLabs ProLab walkthrough
|   |-- zephyr/                  # Zephyr ProLab walkthrough
|   |-- cybernetics/             # Cybernetics ProLab walkthrough
|   |-- aptlabs/                 # APTLabs ProLab walkthrough
|-- sherlocks/
|   |-- easy/                    # Easy DFIR investigations
|   |-- medium/                  # Medium DFIR investigations
|   |-- hard/                    # Hard DFIR investigations
|-- ctf-events/                  # Official HTB CTF writeups
|-- endgames/                    # Multi-machine scenarios
|-- fortresses/                  # Fortress challenges
|-- resources/
|   |-- cheatsheets/             # Quick reference guides
|   |-- tools/                   # Tool guides and configs
|   |-- methodology/             # Approach guides and templates
|   |-- cert-prep/               # Certification preparation guides
|-- templates/                   # Writeup templates

如何使用此存储库

对于初学者

  1. 从简单机器开始 - 它们教授基础知识
  2. 按照**机器方法指南**进行系统化操作
  3. 如果您正在为认证备考,请使用**OSCP 准备**列表
  4. 先自己尝试该机器,然后再查看 writeup

对于中级玩家

  1. 按技术(Active Directory、Web 等)专注于中等/困难机器
  2. 完成一个 ProLab(从 Dante 开始)
  3. 尝试 Sherlock 挑战以提升蓝队技能
  4. 使用以往的 writeup 作为训练参与 CTF 活动

对于高级玩家

  1. 瞄准Insane 机器和困难挑战
  2. 完成 Cybernetics 或 APTLabs ProLabs
  3. 编写并贡献您自己的 writeup
  4. 开发自定义工具和方法论

贡献

我们欢迎贡献!详细指南请见 CONTRIBUTING.md。

快速开始:

  1. Fork 此存储库
  2. 使用适当的模板编写您的 writeup
  3. 将其放入正确的分类文件夹
  4. 提交 Pull Request

Writeup 要求:

  • 仅限已退役的机器/挑战(无活跃内容)
  • 包含所有步骤:信息收集、利用、权限提升
  • 为关键步骤添加截图或命令输出
  • 使用提供的模板以保持一致性
  • 不要剧透活跃内容

免责声明

这些 writeup 仅用于教育目的。所有内容涵盖 Hack The Box 平台上已退役的机器和挑战,不再活跃。分享活跃机器的解决方案违反了 HTB 的服务条款。

始终实践道德黑客行为。仅测试您有明确授权的系统。


Writeup 来源

此存储库中的机器 writeup 链接到多位独立作者以提供多样化视角。以下是主要来源:


相关资源


专业服务

此集合由 GreyCore Labs 构建和维护,这是一家美国注册的攻击性安全公司。想让您的产品也得到同样的关注吗?

  • 渗透测试 - Web、API、移动端、云。24 小时内提供固定报价,可索取隐去敏感信息的示例报告。
  • 免费外部攻击面扫描 - 48 小时内出一页报告,无任何附加条件。

许可证

本项目采用 MIT 许可证授权 - 详见 LICENSE。


如果这帮助您攻破一台机器或通过了一项认证,请点个星标 - 这也能帮助其他人找到它。

Star this repo


Keywords: hack the box writeups, HTB walkthrough, hackthebox machines, HTB challenges, OSCP prep machines, CPTS certification, penetration testing writeups, CTF writeups, active directory hacking, privilege escalation, web exploitation, binary exploitation, digital forensics, incident response, red team, blue team, cybersecurity training, ethical hacking, infosec resources, security cheatsheets

下载工具
作者/来源URL覆盖范围
0xdf0xdf.gitlab.io500+ 台机器 - 黄金标准,详尽细节
IppSecyoutube.com/ippsec430+ 个视频演示,含实时调试
HackingArticleshackingarticles.in40+ 台机器 - Raj Chandel,经典时期 (2017-2022)
Rana Khalilrana-khalil.gitbook.io26+ 台机器 - 针对 OSCP,不依赖 Metasploit
snowscansnowscan.io20+ 台机器 - 详尽且质量一致
0xRick0xrick.github.io10+ 台机器 - 整洁的博客 writeup
Medium / InfoSecWriteupsmedium.com45+ 台机器 - 多样的社区作者
资源描述
HackTricks综合性渗透测试参考
PayloadsAllTheThings载荷与绕过合集
The Hacker Recipes结构化攻击手法
GTFOBinsUnix 二进制利用参考
LOLBASWindows 本地二进制利用
WADComsWindows/AD 命令参考
RevShells反向 Shell 生成器
CyberChef数据转换工具包
SecLists安全测试用词表
IppSec.rocksIppSec HTB 视频可搜索索引