跳到正文
Skillpedia
智能体35k · #8331

performing-web-application-penetration-test

它能做什么

这个工具用来测试 Web 应用的安全性,找出其中的薄弱环节。它模拟道德黑客的做法,检查是否存在可被利用的漏洞。

适用场景

  • ✓在网站或应用上线之前。
  • ✓检查是否符合特定的安全规范时。
  • ✓确认之前发现的安全漏洞是否已经修复时。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-web-application-penetration-test/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-web-application-penetration-test/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我的电商网站马上要上线了,请帮我测试一下它的安全性。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会浏览网站,尝试访问受限区域,并输入无效数据,以发现漏洞。它借助 Burp Suite 这个程序来辅助完成这一过程。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Performing Web Application Penetration Test

When to Use

  • Testing web applications before production deployment to identify exploitable vulnerabilities
  • Conducting compliance-driven security assessments (PCI-DSS requirement 6.6, SOC 2 Type II)
  • Validating remediation of previously identified web application vulnerabilities during retesting
  • Assessing third-party web applications before integration into the organization's environment
  • Evaluating custom-developed web applications where automated scanning alone is insufficient

Do not use against web applications without written authorization, against production systems during peak traffic hours without explicit approval, or for denial-of-service testing of web infrastructure.

Prerequisites

  • Signed statement of work (SoW) defining the target application URLs, environments (staging/production), and testing boundaries
  • Burp Suite Professional license with up-to-date extensions (Active Scan++, Autorize, JSON Beautifier, Logger++)
  • Valid test accounts at each privilege level (unauthenticated, standard user, administrator) for authorization testing
  • Application documentation including API specifications (OpenAPI/Swagger), sitemap, and technology stack details
  • Browser configured with Burp Suite proxy (FoxyProxy recommended) and Burp CA certificate installed

Workflow

Step 1: Reconnaissance and Application Mapping

Map the entire attack surface of the web application:

  • Configure Burp Suite proxy and spider the application by browsing every page, form, and function manually while Burp captures the sitemap
  • Use Burp's Discover Content feature to find hidden directories and files not linked from the visible application
  • Identify the technology stack from response headers (X-Powered-By, Server), cookies (JSESSIONID = Java, PHPSESSID = PHP, ASP.NET_SessionId = .NET), and page extensions
  • Enumerate endpoints using ffuf -w /usr/share/seclists/Discovery/Web-Content/directory-list-2.3-medium.txt -u https://target.com/FUZZ -mc 200,301,302,403
  • Review JavaScript files for hardcoded API endpoints, secrets, and client-side routing using Burp's JS Link Finder extension or LinkFinder.py
  • Document all entry points: URL parameters, POST bodies, HTTP headers, cookies, file uploads, and WebSocket connections

Step 2: Authentication Testing

Test authentication mechanisms for weaknesses:

  • Credential enumeration: Submit valid and invalid usernames to identify differences in response (timing, message, HTTP status) that reveal valid accounts
  • Brute force protection: Attempt 10-20 rapid login attempts with invalid credentials to verify account lockout and rate limiting are enforced
  • Password policy: Test password creation with weak passwords (123456, password, single character) to verify policy enforcement
  • Multi-factor authentication bypass: Test for MFA bypass by directly accessing post-authentication pages, manipulating MFA tokens, or replaying successful MFA responses
  • Session fixation: Note the session token before and after authentication. If the token does not change after login, session fixation is possible
  • Remember me functionality: Inspect persistent authentication tokens for predictability, encryption, and proper expiration
  • Password reset: Test the password reset flow for token predictability, token expiration, account enumeration via the reset form, and host header injection

Step 3: Authorization Testing

Verify that access controls are properly enforced:

  • Horizontal privilege escalation (IDOR): Using Account A, capture requests that access Account A's resources. Replay those requests substituting Account B's identifiers (user IDs, order numbers, filenames). Use Burp's Autorize extension to automate this across all endpoints.
  • Vertical privilege escalation: Using a low-privilege account, attempt to access administrative functions by directly browsing to admin URLs, modifying role parameters in requests, or manipulating JWT claims
  • Forced browsing: Attempt to access resources that should require authentication by directly navigating to internal URLs collected during mapping
  • HTTP method tampering: If GET is blocked on an endpoint, try PUT, POST, DELETE, PATCH, or use method override headers (X-HTTP-Method-Override: DELETE)
  • Path traversal in authorization: Test URL path manipulation (/api/users/123/../456/profile) to bypass path-based authorization checks

…

常见问题

什么是 OWASP WSTG?

这是一份指南,提供了 Web 应用安全测试的最佳实践。

什么是 Burp Suite?

它是安全专业人员常用的 Web 应用测试程序。

使用这个工具有哪些前提条件?

需要书面授权、Burp Suite 许可证、具有不同访问权限级别的测试账户,以及应用的相关文档。

详情

作者的原始描述

Performs systematic security testing of web applications following the OWASP Web Security Testing Guide (WSTG) methodology to identify vulnerabilities in authentication, authorization, input validation, session management, and business logic. The tester uses Burp Suite as the primary interception proxy alongside manual testing techniques to find flaws that automated scanners miss. Activates for re

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#8331
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能