TMAegisBeta
Mais regras para aix

IBM AIX

TMA-AIX-4.6.1.4

Ensure dtspc is not available

MédiaNível 1Automatizadaaix

Descrição

This entry starts the dtspc service when required. This service is used in response to a CDE client request. The dtspc service deals with the CDE interface of the X11 daemon. It is started automatically by the inetd daemon in response to a CDE client requesting a process to be started on the daemon's host. Audit: the dtspc entry in /etc/inetd.conf must be commented out.

Como é verificado

Método de auditoria: Comando shell

shell
command -v grep >/dev/null 2>&1 || exit 1; [ -e /etc/inetd.conf ] || { echo compliant; exit 0; }; out=$( { grep -E "^[[:blank:]]*dtspc[[:blank:]]" /etc/inetd.conf ; } 2>/dev/null ); [ -z "$out" ] && echo compliant || printf '%s\n' "$out" | head -n 20
Saída esperada
compliant

Como é corrigido

Método de correção: Orientação ou patch de infraestrutura

In /etc/inetd.conf, comment out the dtspc entry: chsubserver -r inetd -C /etc/inetd.conf -d -v 'dtspc' -p 'tcp'

Propriedades

Sistemas operacionais
Qualquer
Tags
aixhardening
Referência
CIS IBM AIX 7 Benchmark v1.2.0 - 4.6.1.4 Ensure dtspc is not available

Verificar este host

Execute isto em uma máquina que você tenha permissão para auditar. A varredura é somente leitura.

shell
tmaegis scan --target aix