CAS-003 · Question #899
A security analyst is reviewing the security of a company's public-facing servers. After some research the analyst discovers the following on a public pastebin website. Which of the following should…
The correct answer is D. Change the password to the MySQL database. When database credentials are found exposed on a public pastebin, the immediate containment priority is to change the compromised password before any threat actor can use it for unauthorized access.
Question
A security analyst is reviewing the security of a company's public-facing servers. After some research the analyst discovers the following on a public pastebin website. Which of the following should the analyst do NEXT?
Exhibit
Options
- AReview the system logs
- BScan *.company com for vulnerabilities.
- CBegin a root cause analysis.
- DChange the password to the MySQL database
How the community answered
(22 responses)- A5% (1)
- B14% (3)
- C9% (2)
- D73% (16)
Why each option
When database credentials are found exposed on a public pastebin, the immediate containment priority is to change the compromised password before any threat actor can use it for unauthorized access.
Reviewing system logs is an important investigative step but it comes after the immediate threat of credential exposure is contained, not before the compromised password is changed.
Scanning company subdomains for vulnerabilities is a useful broader security activity but does not address the specific, time-sensitive risk of publicly exposed database credentials.
Root cause analysis is a post-incident process that follows containment and eradication; performing it before changing the password leaves the database exposed to exploitation for the entire duration of the analysis.
Credentials found on a public pastebin represent an actively known-compromised secret that must be invalidated immediately to close the attack window; changing the MySQL password revokes access for any threat actor who has already retrieved the credentials, and this containment action takes priority over all investigative steps which can safely proceed after the immediate risk is mitigated.
Concept tested: Incident response containment for publicly exposed credentials
Source: https://csrc.nist.gov/publications/detail/sp/800-61/rev-2/final
Topics
Community Discussion
No community discussion yet for this question.
