基于 OWASP + 附加测试的渗透测试指南
本指南面向渗透测试人员,帮助他们在渗透测试项目中找到合适的测试用例。我根据自己的视角重新整理了 OWASP 测试指南 v4,将其划分为 9 个测试类别,每个类别包含若干待对目标执行的 测试用例。每个 测试用例 涵盖多个 OWASP 测试项,同样适用于报告文档。我还额外新增了 15 个附加测试用例,并以 EXTRA-TEST 标记。希望本指南在渗透测试项目和漏洞赏金活动中都能派上用场。
待办:
- 为每个测试添加资源。
信息收集
-
- **技术指纹识别 **
- Fingerprint Web Server (OTG-INFO-002)
- Enumerate Applications on Webserver (OTG-INFO-004)
- Fingerprint Web Application Framework (OTG-INFO-008)
- Fingerprint Web Application (OTG-INFO-009)
-
-
- 目录索引 **
- Search for Directory Indexing (EXTRA-TEST-001)
-
- 在客户端存储敏感信息 **
- Test Local Storage (OTG-CLIENT-012)
配置与部署管理
-
- 枚举基础设施与应用管理接口 **
- Enumerate Infrastructure and Application Admin Interfaces (OTG-CONFIG-005)
- Test Network/Infrastructure Configuration (OTG-CONFIG-001)
-
- 隐藏资源发现 **
- Review Old, Backup and Unreferenced Files for Sensitive Information (OTG-CONFIG-004)
-
- HTTP 安全头 **
- Testing for Lack of HTTP Security Headers (EXTRA-TEST-002)
身份管理与认证
-
-
- 用户名枚举 **
- Testing for Account Enumeration and Guessable User Account (OTG-IDENT-004)
-
- 测试恢复敏感信息 **
- Testing for Recovering Sensitive Information from Database (EXTRA-TEST-003)
-
-
- 密码策略 **
- Testing for Weak password policy (OTG-AUTHN-007)
-
- 用户认证中的 SSL 测试 **
- Testing for Credentials Transported over an Encrypted Channel (OTG-AUTHN-001)
授权与边界测试
-
-
-
- 重定向后执行 **
- Execution after Redirect (EXTRA-TEST-005)
-
-
-
-
- 安全验证码实现 **
- Test for Secured Captcha Workflow (EXTRA-TEST-007)
Cookie 与会话管理
-
-
- 安全会话管理 **
- Testing for Bypassing Session Management Schema (OTG-SESS-001)
- Testing for Session Fixation (OTG-SESS-003)
- Testing for Exposed Session Variables (OTG-SESS-004)
- Testing for Logout functionality (OTG-SESS-006)
- Test Session Timeout (OTG-SESS-007)
- Testing for Session puzzling (OTG-SESS-008)
可用性
-
- 拒绝服务 **
- Test for Denial of Service (EXTRA-TEST-008)
输入/输出验证
-
-
-
- NoSQL 注入 **
- Testing for XPath Injection (OTG-INPVAL-010)
- Testing for XML Injection (OTG-INPVAL-008)
- Testing for MongoDB Injection (EXTRA-TEST-011)
-
-
-
弱密码测试
-
- 测试弱 SSL/TLS 密码、传输层保护不足 **
- Testing for Weak SSL/TLS Ciphers, Insufficient Transport Layer Protection (OTG-CRYPST-001)
-
- 测试通过未加密通道发送敏感信息 **
- Testing for Sensitive Information Sent via Unencrypted Channels (OTG-CRYPST-003)
- Testing for Padding Oracle (OTG-CRYPST-002)
工作流/数据流测试