nerdexam
EC-Council

312-50V9 · Question #581

While examining audit logs, you discover that people are able to telnet into the SMTP server on port 25. You would like to block this, though you do not see any evidence of an attack or other wrong…

The correct answer is E. None of the above. None of the listed options can block telnet access to port 25 without also breaking legitimate SMTP email functionality, since SMTP itself is a text-based protocol that behaves identically to a telnet session on port 25.

Scanning Networks

Question

While examining audit logs, you discover that people are able to telnet into the SMTP server on port 25. You would like to block this, though you do not see any evidence of an attack or other wrong doing. However, you are concerned about affecting the normal functionality of the email server. From the following options choose how best you can achieve this objective?

Options

  • ABlock port 25 at the firewall.
  • BShut off the SMTP service on the server.
  • CForce all connections to use a username and password.
  • DSwitch from Windows Exchange to UNIX Sendmail.
  • ENone of the above.

How the community answered

(51 responses)
  • A
    12% (6)
  • B
    4% (2)
  • C
    2% (1)
  • D
    2% (1)
  • E
    80% (41)

Why each option

None of the listed options can block telnet access to port 25 without also breaking legitimate SMTP email functionality, since SMTP itself is a text-based protocol that behaves identically to a telnet session on port 25.

ABlock port 25 at the firewall.

Blocking port 25 at the firewall would drop all inbound SMTP connections, preventing legitimate email from reaching the server.

BShut off the SMTP service on the server.

Shutting off the SMTP service would completely disable email processing on the server, not just unauthorized interactive sessions.

CForce all connections to use a username and password.

Requiring credentials does not prevent a TCP connection from being established to port 25; it only adds an authentication step after the connection is already open.

DSwitch from Windows Exchange to UNIX Sendmail.

Switching from Exchange to Sendmail is irrelevant because both mail server platforms accept connections on port 25 using the same text-based SMTP protocol.

ENone of the above.Correct

SMTP operates on port 25 using a plain text, command-response protocol that is indistinguishable at the transport layer from a telnet session, so there is no way to block one without blocking the other. Option A would stop all inbound email delivery; Option B would shut down the mail service entirely; Option C adds authentication within the session but does not prevent the TCP connection itself; Option D is irrelevant because both Exchange and Sendmail use port 25 the same way. The real solution - such as restricting connecting IP addresses via an access control list - is not among the choices.

Concept tested: SMTP protocol behavior and port 25 access control limitations

Source: https://learn.microsoft.com/en-us/exchange/mail-flow/connectors/receive-connectors

Topics

#SMTP#port 25#firewall rules#email security

Community Discussion

No community discussion yet for this question.

Full 312-50V9 Practice