During a penetration test, the tester gains access to a server and finds sensitive customer data. What should the tester do next?
Immediately reporting the finding and coordinating to secure the data is the paramount ethical and professional responsibility of a penetration tester upon discovering sensitive data access. This action adheres to responsible disclosure principles, enabling the client's incident response team to swiftly contain the breach, conduct forensics, and remediate the vulnerability before further damage occurs. Securing the data, often in collaboration with the client, might involve isolating the compromised system or revoking the unauthorized access path, ensuring the integrity and confidentiality of the information.
Why this answer
The tester's primary responsibility is to protect sensitive data and minimize risk. Upon discovering PII or other regulated data, the tester must immediately report the finding to the client and secure the data (e.g., by isolating the server or encrypting the data in place) to prevent unauthorized access or exposure. This aligns with the ethical hacking code of conduct and the CISSP principle of 'do no harm'.
Exam trap
The trap here is that candidates confuse the goal of demonstrating risk (which is valid in a controlled lab) with the ethical obligation to protect live data; the CISSP exam emphasizes that a tester must never exfiltrate or alter production data, even to prove a point.
How to eliminate wrong answers
Option A is wrong because exfiltrating data, even to demonstrate risk, violates confidentiality and legal agreements (e.g., GDPR, HIPAA) and could cause real harm; penetration testers must never copy or remove sensitive data without explicit written authorization. Option B is wrong because deleting data destroys evidence and could disrupt business operations or violate chain-of-custody requirements; the tester should not alter production data. Option C is wrong because continuing to test without first securing the exposed data increases the risk of further compromise and violates the responsible disclosure process; the tester must halt and report the finding immediately.