PT0-002 · Question #506
A penetration tester gained access to one of the target company's servers. During the enumeration phase, the penetration tester lists the bash history and observes the following row: curl -k…
The correct answer is C. Attempt to read email. Given the plaintext credentials for a mail server in the bash history, the penetration tester should next attempt to read email using those compromised credentials.
Question
A penetration tester gained access to one of the target company's servers. During the enumeration phase, the penetration tester lists the bash history and observes the following row:
curl -k 'imaps://10.12.14.121' --user jsmith:Blu3moon -v Which of the following steps should the penetration tester take next?
Options
- ABrute force all mail users.
- BEnumerate mall server users.
- CAttempt to read email.
- DDownload hashes.
How the community answered
(51 responses)- A10% (5)
- B8% (4)
- C80% (41)
- D2% (1)
Why each option
Given the plaintext credentials for a mail server in the bash history, the penetration tester should next attempt to read email using those compromised credentials.
Brute forcing all mail users is unnecessary and inefficient when valid credentials for one user (jsmith) have already been discovered.
While enumerating mail server users could be a future step, attempting to read email with the already found credentials is a more immediate and impactful action, as it provides direct access to sensitive information.
The bash history reveals a 'curl' command to an IMAPS server with a username ('jsmith') and a plaintext password ('Blu3moon'). This directly provides valid credentials for accessing the mail server. The logical next step for the penetration tester is to use these credentials to log into the IMAPS server and attempt to read emails, which often contain sensitive information.
The command provided does not involve downloading hashes; it shows an attempt to access an IMAPS server using a username and plaintext password. While hashes might be present elsewhere, this specific discovery points to immediate email access.
Concept tested: Post-compromise enumeration and lateral movement
Topics
Community Discussion
No community discussion yet for this question.