Pentest frameworks provide structured approaches to vulnerability assessment and penetration testing, ranging from specialized web app testing (OWASP) and comprehensive, actor-focused threat modeling (MITRE ATT&CK, Kill Chain) to regulatory compliance guidelines (NIST SP 800-115) and holistic operational methodologies (OSSTMM, PTES). Selecting the right framework depends on the target (web vs. network), depth required, and compliance needs.
- OSSTMM (Open Source Security Testing Methodology Manual): A highly scientific, metrics-based methodology that assesses the “operational” security of a system, covering physical, human, and technical controls.
- OWASP (Open Web Application Security Project) WSTG: The industry standard for web application security, providing specific testing guides for finding vulnerabilities like SQLi, XSS, and broken authentication.
- NIST SP 800-115: A U.S. government technical guide offering a structured approach to planning, conducting, and reporting on security tests, often used for compliance in large organizations.
- PTES (Penetration Testing Execution Standard): Developed by testers for testers, it defines a comprehensive seven-stage process covering everything from pre-engagement to reporting.
- CREST: An accreditation body for penetration testing firms and professionals that ensures high standards in service delivery and reporting.
- MITRE ATT&CK: A knowledge base of specific adversary tactics, techniques, and procedures (TTPs), used to emulate real-world threat behavior and map defenses.
- Cyber Kill Chain: A linear model developed by Lockheed Martin mapping the seven stages of a cyberattack, helping organizations understand and interrupt the attack lifecycle.
Comparison Summary
- Best for Web Apps: OWASP.
- Best for Operational/Physical Security: OSSTMM.
- Best for Structured Process: PTES.
- Best for Regulatory Compliance: NIST SP 800-115.
- Best for Threat Intelligence/Simulation: MITRE ATT&CK.
- Best for Attack Life Cycle Analysis: Cyber Kill Chain.
Common Phases in a Framework
While frameworks differ, they generally follow these steps:
- Planning/Pre-engagement: Defining the scope and objectives.
- Reconnaissance/Information Gathering: Gathering data on the target.
- Scanning/Vulnerability Analysis: Identifying weak points.
- Exploitation: Actively attempting to exploit vulnerabilities.
- Post-Exploitation: Determining the value of the compromised system and maintaining access.
- Reporting: Documenting findings and remediation steps.