Oracle Solaris
TMA-SOLARIS-8.5
Check that the Banner Setting for telnet is Null
Описание
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. Audit: pattern match on /etc/default/telnetd as described in the CIS audit procedure.
Как проверяется
Метод проверки: Шаблон в файле
- Файл
/etc/default/telnetd- Шаблон
(?m)^BANNER=\s*$
Как исправляется
Метод исправления: Рекомендация или патч инфраструктуры
Perform the following to implement the recommended state: # cd /etc/default # awk '/^BANNER=/ { $1 = "BANNER=" }; { print }' telnetd > telnetd.CIS # mv telnetd.CIS telnetd
Свойства
- Операционные системы
- Любая
- Теги
- solarisnetwork
- Источник
- CIS Oracle Solaris 11.4 Benchmark v1.1.0 - 8.5 Check that the Banner Setting for telnet is Null
Проверить этот хост
Выполните команду на компьютере, аудит которого вам разрешён. Сканирование работает только на чтение.
tmaegis scan --target solaris