nerdexam
CompTIA

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.

Enterprise Security Operations

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

CAS-003 question #899 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)
  • A
    5% (1)
  • B
    14% (3)
  • C
    9% (2)
  • D
    73% (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.

AReview the system logs

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.

BScan *.company com for vulnerabilities.

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.

CBegin a root cause analysis.

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.

DChange the password to the MySQL databaseCorrect

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

#credential exposure#pastebin#incident response#database security

Community Discussion

No community discussion yet for this question.

Full CAS-003 Practice