docs: Add penetration testing methodologies

This commit is contained in:
Digenaldo Neto 2024-02-01 21:57:00 -03:00
parent ce420d9a03
commit a0d9e704fd

View File

@ -1 +1,56 @@
# TBD
# Penetration Testing Methodologies
Ensuring a comprehensive approach to penetration testing is essential for effective cybersecurity. The following guidelines outline our strategy and methodologies for achieving consistent and reliable results, adhering to established standards in the field.
## Overview
Penetration testing involves a systematic and organized strategy to evaluate the security posture of networks and systems. This approach mitigates the risk of haphazard results and provides a structured framework for addressing potential vulnerabilities.
## Methodologies and Standards
Understanding and implementing major documented methodologies and standards are crucial elements of our approach. This empowers us to formulate strategies that leverage established practices, enhancing accountability and defensibility in our results.
### Testing Environments
Penetration testing methodologies often categorize tests based on the level of information provided to the tester. Common testing environments include:
**1. Unknown-Environment Test:**
- Limited information provided (e.g., domain names and IP addresses).
- Mimics an external attacker's perspective, starting with minimal knowledge.
- Enhances realism by withholding information from network support personnel.
**2. Known-Environment Test:**
- Tester possesses significant information about the organization and its infrastructure.
- Includes network diagrams, IP addresses, configurations, user credentials, and source code if applicable.
- Aims to identify security vulnerabilities within a broader scope.
**3. Partially Known Environment Test:**
- A hybrid approach between unknown- and known-environment tests.
- Testers may be provided credentials but not full documentation of the network infrastructure.
- Allows testing from an external attacker's perspective while retaining some internal insights.
### Common Penetration Testing Methodologies
Several widely recognized methodologies and standards guide our penetration testing efforts:
**1. [MITRE ATT&CK Framework](https://attack.mitre.org/):**
- Details adversary tactics, techniques, and procedures (TTPs).
- Utilized by offensive security professionals and incident responders.
**2. [OWASP Web Security Testing Guide (WSTG)](https://owasp.org/www-project-web-security-testing-guide/):**
- Comprehensive guide focused on web application testing.
- Covers high-level phases and specific testing methods for various vulnerabilities.
**3. [NIST SP 800-115](https://csrc.nist.gov/publications/detail/sp/800-115/final):**
- Guidelines from the National Institute of Standards and Technology for planning and conducting information security testing.
**4. [Open Source Security Testing Methodology Manual (OSSTMM)](https://www.isecom.org/):**
- Document by the Institute for Security and Open Methodologies (ISECOM) outlining repeatable and consistent security testing.
**5. [Penetration Testing Execution Standard (PTES)](http://www.pentest-standard.org/):**
- Involves seven distinct phases, including pre-engagement interactions, intelligence gathering, threat modeling, vulnerability analysis, exploitation, post-exploitation, and reporting.
**6. Information Systems Security Assessment Framework (ISSAF):**
- Covers various phases, including information gathering, network mapping, vulnerability identification, penetration, gaining access, privilege escalation, enumerating further, compromising remote users/sites, maintaining access, and covering tracks.
Understanding and implementing these methodologies ensures a robust and effective approach to penetration testing, enhancing the security posture of the systems and networks under evaluation.