5.4 Explain cleanup and restoration activities.
A test is not finished until the environment is returned to its original state and every artifact is accounted for.
Cleanup
- Remove persistence mechanisms
- Delete every task, service, key, shell and account created.
- Revert configuration changes
- Restore any settings changed during testing.
- Remove tester-created credentials
- Delete accounts, keys and tokens created for testing.
- Remove tools
- Delete uploaded binaries, scripts and payloads.
- Spin down infrastructure
- Shut down C2 servers, phishing domains and cloud resources used for the test.
- Preserve artifacts
- Keep evidence needed for the report, stored securely.
- Secure data destruction
- Securely delete client data per the agreement once no longer needed.
Check your understanding
Loading quiz…
Original CoreQ Academy material, mapped to objective 5.4 of the publicly available CompTIA PenTest+ PT0-003 exam objectives (Exam objectives V3, document version 5.0). Not affiliated with or endorsed by CompTIA. Contains no exam questions.