nerdexam
CompTIA

PT0-001 · Question #180

What elements should you be sure to remove from an exploited system before finalizing a penetration test?

The correct answer is A. User accounts created B. Shells spawned C. Any files left behind. Penetration testers must remove all artifacts they introduced during testing - created accounts, active shells, and dropped files - to restore the system to its pre-engagement state and eliminate residual access paths.

Post-exploitation and lateral movement

Question

What elements should you be sure to remove from an exploited system before finalizing a penetration test?

Options

  • AUser accounts created
  • BShells spawned
  • CAny files left behind
  • DAdministrator account

How the community answered

(37 responses)
  • A
    95% (35)
  • D
    5% (2)

Why each option

Penetration testers must remove all artifacts they introduced during testing - created accounts, active shells, and dropped files - to restore the system to its pre-engagement state and eliminate residual access paths.

AUser accounts createdCorrect

User accounts created during testing must be removed to ensure no unauthorized access paths remain after the engagement ends.

BShells spawnedCorrect

Shells spawned during exploitation - including backdoors, listeners, and reverse shells - must be terminated and deleted, as leaving them active creates persistent unauthorized access paths into the target system.

CAny files left behindCorrect

Any files left behind such as exploit payloads, tools, or scripts must be deleted to eliminate forensic artifacts and avoid leaving weaponized content on client systems after the test concludes.

DAdministrator account

The Administrator account is a native built-in system account that existed before the penetration test began and must not be removed, as doing so would cause operational damage and falls outside the scope of post-test cleanup.

Concept tested: Penetration test post-exploitation cleanup and remediation

Source: https://www.pentest-standard.org/index.php/Post_Exploitation

Topics

#post-exploitation cleanup#artifact removal#persistence removal#engagement closure

Community Discussion

No community discussion yet for this question.

Full PT0-001 Practice