Show answerHide answer
Correct answer: A Preserving artifacts
Explanation
Explanation:The goal is to ensure that key outputs from a penetration test are not lost during cleanup and restoration activities. Let’s evaluate each option to determine which best addresses this requirement:
A. Preserving artifacts:
Description: Artifacts in a penetration test include logs, screenshots, scan results, reports, and other evidence generated during the assessment. Preserving artifacts involves securely storing these outputs to maintain a record of findings, vulnerabilities, and evidence for reporting and future reference.
Why Correct:
Cleanup and restoration activities often involve reverting systems to their original state, which may include deleting temporary files, logs, or other test-related data. Preserving artifacts ensures that critical outputs, such as proof of exploitation or vulnerability scan results, are saved before cleanup, preventing loss of key information needed for the final report or audit purposes.
B. Reverting configuration changes:
Description: Reverting configuration changes involves restoring systems to their pre-test state, such as undoing changes to firewall rules, user accounts, or system settings made during the penetration test.
Why Incorrect:
While reverting configuration changes is a standard part of cleanup, it does not focus on preserving the outputs of the test. In fact, this process may involve deleting test-related data, which could lead to the loss of key outputs if not properly preserved beforehand.
C. Keeping chain of custody:
Description: Chain of custody refers to documenting the handling and storage of evidence to ensure its integrity, typically in forensic investigations or legal contexts. It tracks who accessed evidence and how it was stored or transferred.
Why Incorrect:
While maintaining chain of custody is important for ensuring evidence integrity in legal or forensic scenarios, it is not directly related to preventing the loss of key outputs during cleanup. It focuses on tracking rather than preserving the artifacts themselves.
D. Exporting credential data:
Description: Exporting credential data involves saving usernames, passwords, or other authentication details discovered during the penetration test.
Why Incorrect:
While exporting credential data may be part of preserving specific findings, it is too narrow in scope. Key outputs of a penetration test include a broader range of artifacts (e.g., logs, screenshots, scan results), not just credentials. Focusing solely on credentials does not ensure all critical outputs are preserved.
Why Preserving Artifacts is the Best Choice:
Comprehensive Preservation:
Artifacts encompass all key outputs of a penetration test, including scan results, logs, screenshots, and documentation of vulnerabilities or exploits. Preserving these ensures that nothing critical is lost during cleanup activities, such as system restoration or deletion of temporary files.
Penetration Testing Best Practices:
According to industry standards, such as those outlined in the CompTIA PenTest+ objectives and the Penetration Testing Execution Standard (PTES), preserving artifacts is a critical step to maintain evidence for reporting, remediation validation, and compliance purposes.
Cleanup Context:
Cleanup activities often involve removing test accounts, logs, or tools from the target environment. Without preserving artifacts beforehand, these outputs could be inadvertently deleted, undermining the test’s value.
References:
CompTIA PenTest+ PT0-003 Objectives:
The exam emphasizes the importance of documentation and reporting, including preserving evidence and artifacts to support findings and recommendations.
Penetration Testing Execution Standard (PTES):
The PTES highlights the need to collect and preserve artifacts during the reporting phase to ensure all findings are documented before cleanup.
NIST SP 800-115:
The NIST Technical Guide to Information Security Testing and Assessment recommends retaining test data and artifacts for reporting and audit purposes.