nerdexam
GIAC

GSEC · Question #308

Which services will have listening ports on a hardened Linux log server?

The correct answer is C. SSH and syslog. A hardened Linux log server should expose only the minimum necessary services - SSH for secure remote administration and syslog for log collection.

Linux and Cryptography

Question

Which services will have listening ports on a hardened Linux log server?

Options

  • ARPC and SMTP
  • BTFTP and telnet
  • CSSH and syslog
  • DHTTP and SFTP

How the community answered

(31 responses)
  • A
    16% (5)
  • B
    3% (1)
  • C
    71% (22)
  • D
    10% (3)

Why each option

A hardened Linux log server should expose only the minimum necessary services - SSH for secure remote administration and syslog for log collection.

ARPC and SMTP

RPC exposes unneeded remote procedure call endpoints and SMTP is a mail transfer service, neither of which is required on a dedicated log collection server.

BTFTP and telnet

TFTP transmits data in cleartext with no authentication and Telnet provides unencrypted remote shell access, both of which are explicitly prohibited on a hardened system.

CSSH and syslogCorrect

SSH provides encrypted, strongly authenticated remote administration and is the accepted secure replacement for plaintext protocols such as Telnet. Syslog (default port UDP/TCP 514) is the core service of a log server, used to receive log messages from network devices and systems across the environment. Together these two services fulfill the operational requirements of a dedicated log server while keeping the attack surface minimal in accordance with server hardening principles.

DHTTP and SFTP

HTTP transmits data without encryption and is not needed for log collection, while SFTP is a file transfer service that is not a standard component of a syslog server.

Concept tested: Minimum necessary services on a hardened Linux log server

Source: https://csrc.nist.gov/publications/detail/sp/800-123/final

Topics

#Linux hardening#syslog#SSH#attack surface reduction

Community Discussion

No community discussion yet for this question.

Full GSEC Practice