Show answerHide answer
Correct answer: A Configuration changes were not reverted.
Explanation
ExplanationThe scenario describes a finding during a peer review after an assessment. The key detail is that a security misconfiguration (debugging mode enabled) exists on the production system.
During a penetration test, it is common practice for the testers to request or for the client to implement temporary configuration changes to facilitate testing. This might include enabling debug logging to gather more detailed error information.
The standard procedure after testing is complete is to revert all temporary changes to restore the system to its original, hardened state. The fact that debugging mode is still enabled indicates that this crucial cleanup step was missed. The changes made for the test were not reverted, leaving the production system in a less secure state.
Why the Other Options Are Incorrect
B. A full backup restoration is required for the server.
This is an extreme measure and is not a standard part of post-penetration test cleanup. Reverting specific configuration changes is a targeted and efficient process. A full backup restoration would imply a catastrophic system compromise, which is not indicated here.
C. The penetration test was not completed on time.
While running over time might cause a rushed cleanup, it is not the direct cause of the debugging mode being enabled. The root cause is the failure to revert the change, regardless of the reason.
D. The penetration tester was locked out of the system.
This might prevent the tester from reverting the changes themselves, but it would not prevent the client's system administrators from doing so. The responsibility for the final state of the production system ultimately lies with the system owner. This observation points to a failure in the handover and cleanup process, not just a tester being locked out.
Reference
This falls under the Post-Engagement Cleanup phase of a penetration test. Professional standards, such as those outlined in the PenTest+ exam objectives (Domain 5.0: Reporting and Communication), emphasize the importance of returning the client's environment to its pre-test state. Leaving debugging enabled is a common real-world oversight that creates a significant security risk.