Pentest Methodologies & Standards
| Framework | Full Name | Focus |
|---|---|---|
| PTES | Penetration Testing Execution Standard | 7-phase pentest methodology |
| OWASP | Open Web Application Security Project | Web application testing guide |
| OSSTMM | Open Source Security Testing Methodology Manual | Comprehensive security testing |
| ISSAF | Information System Security Assessment Framework | Assessment framework |
| NIST SP 800-115 | Technical Guide to Information Security Testing | Government testing standards |
| MITRE ATT&CK | Adversarial Tactics, Techniques & Common Knowledge | Threat emulation framework |
Engagement Types
Black Box Testing
No prior knowledge of target systems
- Simulates external attacker perspective
- Tester has zero insider information
- Most realistic but time-consuming
- May miss internal vulnerabilities
- Higher cost due to discovery phase
White Box Testing
Full knowledge of target environment
- Access to source code, diagrams, credentials
- Most thorough testing approach
- Faster and more efficient
- Can find deep architectural flaws
- Also called "Crystal Box" testing
Gray Box Testing
Partial knowledge of target
- Limited credentials or network diagrams
- Balances realism and efficiency
- Simulates insider threat or compromised user
- Most common enterprise approach
- Can test privilege escalation paths
Legal & Compliance Documents
Rules of Engagement (ROE)
Defines what testers can and cannot do
- Testing timeframes and windows
- Allowed attack techniques
- Excluded systems and networks
- Social engineering permissions
- Physical access boundaries
- Emergency contact procedures
Statement of Work (SOW)
Contractual scope and deliverables
- Project timeline and milestones
- Specific systems in scope
- Expected deliverables
- Payment terms
- Resource requirements
NDA & MSA
Confidentiality and master agreements
- NDA: Non-Disclosure Agreement
- MSA: Master Service Agreement
- Protects client confidential data
- Liability limitations
- Data handling requirements
Written Authorization
"Get out of jail free" card
- Signed permission to test
- Must be from authorized party
- Specifies exact scope
- Critical legal protection
- Required before ANY testing