nerdexam
CompTIA

PT0-002 · Question #286

A penetration tester successfully infiltrated the targeted web server and created credentials with administrative privileges. After conducting data exfiltration, which of the following should be the…

The correct answer is B. Change or delete the logs. After successfully exfiltrating data and creating administrative credentials on a compromised web server, the penetration tester's next action, simulating an attacker, is to cover their tracks by altering or deleting system logs.

Post-exploitation and lateral movement

Question

A penetration tester successfully infiltrated the targeted web server and created credentials with administrative privileges. After conducting data exfiltration, which of the following should be the tester's NEXT step?

Options

  • ADetermine what data is available on the web server.
  • BChange or delete the logs.
  • CLog out and migrate to a new session.
  • DLog in as the new user.

How the community answered

(39 responses)
  • A
    15% (6)
  • B
    74% (29)
  • C
    3% (1)
  • D
    8% (3)

Why each option

After successfully exfiltrating data and creating administrative credentials on a compromised web server, the penetration tester's next action, simulating an attacker, is to cover their tracks by altering or deleting system logs.

ADetermine what data is available on the web server.

Determining what data is available on the web server should precede data exfiltration, as the exfiltration is already stated as complete.

BChange or delete the logs.Correct

After successfully achieving objectives like creating administrative credentials and exfiltrating data, a penetration tester, simulating a real attacker, would typically attempt to remove or alter log files to hide their activities and avoid detection, which is a common post-exploitation step. This is crucial for evading forensic analysis.

CLog out and migrate to a new session.

While logging out and session migration are post-exploitation actions, changing or deleting logs is a more direct and critical step for covering tracks immediately after data exfiltration to remove evidence of the compromise.

DLog in as the new user.

Logging in as the newly created administrative user would typically occur either as part of verifying access or during the process of data exfiltration, not as the next step after exfiltration is complete.

Concept tested: Post-exploitation - covering tracks

Source: https://attack.mitre.org/techniques/T1070/

Topics

#Post-exploitation#Covering tracks#Log manipulation#Penetration testing methodology

Community Discussion

No community discussion yet for this question.

Full PT0-002 Practice