nerdexam
CompTIA

CAS-003 · Question #873

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…

The correct answer is B. Scan *.company.com for vulnerabilities. When company data appears on a public pastebin, the analyst should immediately scan the full subdomain space to identify which assets may be exposed or exploitable.

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 #873 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

(53 responses)
  • A
    2% (1)
  • B
    79% (42)
  • C
    6% (3)
  • D
    13% (7)

Why each option

When company data appears on a public pastebin, the analyst should immediately scan the full subdomain space to identify which assets may be exposed or exploitable.

AReview the system logs.

Reviewing system logs is a reactive investigative step appropriate after a breach is confirmed, not the immediate priority when an external exposure has just been discovered on a public site.

BScan *.company.com for vulnerabilities.Correct

Data found on a public pastebin often includes credentials, subdomain lists, API keys, or configuration details that reveal the company's external attack surface. Scanning all *.company.com subdomains allows the analyst to identify which systems are vulnerable before a threat actor can act on the exposed information. This proactive enumeration and vulnerability assessment step is essential to understanding the scope of exposure and prioritizing remediation.

CBegin a root cause analysis.

Root cause analysis is performed after an incident has been scoped and contained, not as the first action when the full extent of the potential compromise is still unknown.

DChange the password to the MySQL database.

Changing the MySQL database password is a narrow targeted remediation that presumes the database is the only asset at risk, whereas the analyst must first assess the full scope of what was exposed before taking isolated remediation actions.

Concept tested: Open source intelligence response and subdomain attack surface scanning

Source: https://owasp.org/www-project-web-security-testing-guide/v42/4-Web_Application_Security_Testing/01-Information_Gathering/02-Fingerprint_Web_Server

Topics

#OSINT#attack surface#vulnerability assessment#pastebin reconnaissance

Community Discussion

No community discussion yet for this question.

Full CAS-003 Practice