nerdexam
CompTIA

CAS-003 · Question #347

Company.org has requested a black-box security assessment be performed on key cyber terrain. On area of concern is the company's SMTP services. The security assessor wants to run reconnaissance…

The correct answer is A. dnsrecon -d company.org -t SOA. During black-box SMTP reconnaissance, querying the SOA record via dnsrecon establishes the authoritative nameserver context needed to enumerate DNS records including mail infrastructure.

Enterprise Security Operations

Question

Company.org has requested a black-box security assessment be performed on key cyber terrain. On area of concern is the company's SMTP services. The security assessor wants to run reconnaissance before taking any additional action and wishes to determine which SMTP server is Internet-facing. Which of the following commands should the assessor use to determine this information?

Options

  • Adnsrecon -d company.org -t SOA
  • Bdig company.org mx
  • Cnc -v company.org
  • Dwhois company.org

How the community answered

(26 responses)
  • A
    73% (19)
  • B
    4% (1)
  • C
    15% (4)
  • D
    8% (2)

Why each option

During black-box SMTP reconnaissance, querying the SOA record via dnsrecon establishes the authoritative nameserver context needed to enumerate DNS records including mail infrastructure.

Adnsrecon -d company.org -t SOACorrect

The dnsrecon tool with -t SOA queries the Start of Authority record, identifying the primary authoritative nameserver for the domain. In a black-box engagement this is the appropriate first reconnaissance step because it establishes the authoritative DNS source from which all subsequent zone enumeration - including MX and A records for SMTP services - can be performed reliably without relying on potentially cached resolver responses.

Bdig company.org mx

While 'dig company.org mx' directly returns MX records, it relies on recursive resolvers and does not establish the authoritative source needed for thorough black-box DNS reconnaissance.

Cnc -v company.org

nc -v company.org attempts a TCP connection to the host but performs no DNS enumeration and does not identify which SMTP server is Internet-facing.

Dwhois company.org

whois company.org returns registrar and administrative contact information, not DNS mail exchange or SMTP server details.

Concept tested: DNS reconnaissance for SMTP server identification

Source: https://github.com/darkoperator/dnsrecon

Topics

#DNS reconnaissance#SMTP enumeration#black-box testing#dnsrecon

Community Discussion

No community discussion yet for this question.

Full CAS-003 Practice