TMAegis
Više pravila za aix

IBM AIX

TMA-AIX-4.6.1.4

Ensure dtspc is not available

SrednjaNivo 1Automatskaaix

Opis

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.

Kako se proverava

Metod provere: Komanda ljuske

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
Očekivani izlaz
compliant

Kako se ispravlja

Metod ispravke: Smernica ili zakrpa infrastrukture

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

Svojstva

Operativni sistemi
Bilo koji
Oznake
aixhardening
Referenca
CIS IBM AIX 7 Benchmark v1.2.0 - 4.6.1.4 Ensure dtspc is not available

Proverite ovaj računar

Pokrenite ovo na računaru za koji imate dozvolu za proveru. Skeniranje radi u režimu samo za čitanje.

shell
tmaegis scan --target aix