8.5 Check that the Banner Setting for telnet is Null - BANNER =

Information

The BANNER variable in the file /etc/default/telnetd can be used to display text before the telnet login prompt. Traditionally, it has been used to display the OS level of the target system.

The warning banner provides information that can be used in reconnaissance for an attack.
By default, this file is distributed with the BANNER variable set to null. It is not necessary to create a separate warning banner for telnet if a warning is set in the /etc/issue file. As telnet is an insecure protocol, it is strongly recommend that it be disabled and all remote administrative/user connections take place by Secure Shell.

Solution

Perform the following to implement the recommended state:
# cd /etc/default
# awk '/^BANNER=/ { $1 = "BANNER=" }; { print }' telnetd > telnetd.CIS
# mv telnetd.CIS telnetd

See Also

https://workbench.cisecurity.org/files/611

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-8a.

Plugin: Unix

Control ID: 913f00e83c3c20d78a874b4e59499f2cb86abb990119debc45fc7d5aa4384e15