cyb3ritic/htb-thm-oscp-checklist

GitHub: cyb3ritic/htb-thm-oscp-checklist

一套结构化的渗透测试实战清单与速查手册,帮助 HTB/THM 玩家和 OSCP 考生按标准化流程完成从侦察到提权的完整攻击链。

Stars: 21 | Forks: 3

# 🎯 HTB / THM / OSCP — 渗透测试大师清单 **作者:** [cyb3ritic](https://github.com/cyb3ritic) · **版本:** 3.0 · **更新于:** 2025年7月 ## 🗺️ 快速导航 | 阶段 | 章节 | 重点 | |---|---|---| | 0️⃣ | [方法论与思维](./00_methodology/README.md) | 像渗透测试人员一样思考,OSCP 规则 | | 1️⃣ | [前期准备](./01_setup/README.md) | VPN、工具、工作区、字典 | | 2️⃣ | [侦察与枚举](./02_recon_and_enum/README.md) | 扫描、服务、Web、DNS、AD | | 3️⃣ | [漏洞评估](./03_vuln_assessment/README.md) | 寻找可利用的弱点 | | 4️⃣ | [漏洞利用](./04_exploitation/README.md) | Web 攻击、shell、Metasploit | | 5️⃣ | [密码攻击](./05_password_attacks/README.md) | Hash 破解、密码喷射、Responder | | 6️⃣ | [后渗透](./06_post_exploitation/README.md) | Shell 稳定化、信息收集、侦察 | | 7️⃣ | [权限提升](./07_privilege_escalation/README.md) | Linux、Windows、数据库 | | 8️⃣ | [Active Directory](./08_active_directory/README.md) | Kerberoasting、BloodHound、DCSync | | 9️⃣ | [横向移动](./09_lateral_movement/README.md) | 隧道、Pivoting、PtH/PtT | | 🔟 | [权限维持](./10_persistence/README.md) | 后门、计划任务 | | 1️⃣1️⃣ | [目标搜寻](./11_objective_hunting/README.md) | Flag、数据窃取、痕迹清理 | ## ⚡ 快速参考 | 资源 | 描述 | |---|---| | [🗒️ 速查表](./quick_reference/cheatsheets.md) | 汇总每个阶段的核心命令 | | [🔧 工具索引](./quick_reference/tools_index.md) | 每个工具:用途、安装、用法 | | [📂 文件传输](./quick_reference/file_transfers.md) | 在目标机器上传/下载文件(Linux 和 Windows) | | [💻 反向 Shell](./quick_reference/reverse_shells.md) | 所有 Shell 类型 + 监听器 + 升级方法 | | [📖 字典指南](./quick_reference/wordlists.md) | 何时使用哪个 SecList | | [🚨 故障排除](./quick_reference/troubleshooting.md) | 常见问题及修复方法 | ## 🏁 攻击工作流 (TL;DR) ``` ┌─────────────────────────────────────────────────────────────┐ │ START → Setup → Recon → Vuln Assessment → Exploit │ │ ↓ │ │ Get Shell → Stabilize → Enumerate Locally │ │ ↓ │ │ Privilege Escalate → Loot → Lateral Move (if needed) │ │ ↓ │ │ Grab Flags → Document → Clean Up → DONE ✅ │ └─────────────────────────────────────────────────────────────┘ ``` ## 🛠️ 前期准备清单 (快速版) 在开始攻击**任何**机器之前,请确认: - [ ] VPN 已连接 (`ip a | grep tun0`) - [ ] 已将目标 IP 设置为变量:`export IP=` - [ ] 已创建输出目录:`mkdir -p ~/htb//{nmap,web,exploits,loot}` - [ ] 已打开笔记工具 (Obsidian / CherryTree / Notion) - [ ] `tmux` 或多个终端标签页已就绪 - [ ] Burp Suite 代理已配置(如果是 Web 机器) ## 🧠 思维提示 - **枚举重于利用。** 80% 的情况下,突破口就隐藏在你枚举结果的细节中。 - **记录一切。** 截图、工具输出、发现的凭据——全都要记录下来。 - **如果卡了 30 分钟:** 退后一步,从头重新阅读你所有的枚举输出。 - **先尝试最显而易见的突破口:** 默认凭据、匿名访问、特定版本的 CVE。 - **用 Google 搜索你发现的每一个软件的确切版本。** ## ⚠️ OSCP 考试规则 (考前须知) - 每次考试只允许使用 **1 个 Metasploit 模块**(包括 `exploit/`、`auxiliary/`、`post/`) - **禁止使用自动化漏洞利用工具**(SQLMap 等)——仅允许使用手动技术 - 考试期间**禁止使用 AI 辅助** - 为考试报告的每一步拍摄截图作为文档记录 - Active Directory 套题是**全有或全无**的(每个套题要么 0 分,要么满分) ## 📦 仓库结构 ``` htb-thm-oscp-checklist/ ├── 00_methodology/ ← Mindset, decision trees, OSCP rules ├── 01_setup/ ← Environment prep, tools, workspace ├── 02_recon_and_enum/ ← Network, web, DNS, SMB, LDAP, services ├── 03_vuln_assessment/ ← Vuln scanning, web app testing, CMS ├── 04_exploitation/ ← Web exploits, network, shells ├── 05_password_attacks/ ← Cracking, spraying, Responder ├── 06_post_exploitation/ ← Shell upgrade, local recon, looting ├── 07_privilege_escalation/ ← Linux, Windows, Database privesc ├── 08_active_directory/ ← AD attacks, BloodHound, Kerberos ├── 09_lateral_movement/ ← Pivoting, tunneling, WinRM ├── 10_persistence/ ← Backdoors, cron jobs, reg keys ├── 11_objective_hunting/ ← Flags, exfil, cleanup └── quick_reference/ ← Cheatsheets, tools, shells, wordlists ```
标签:CTI, Cutter, IP 地址批量处理, XXE攻击, 命令备忘录, 威胁模拟, 安全清单, 密码管理, 提权, 攻防方法论, 数据展示, 模拟器, 红队, 防御加固