TMAegisBeta
More rules for aix

IBM AIX

TMA-AIX-4.6.1.4

Ensure dtspc is not available

MediumLevel 1Automatedaix

Description

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.

How it is checked

Audit method: Shell command

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
Expected output
compliant

How it is fixed

Fix method: Guidance or infrastructure patch

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

Properties

Operating systems
Any
Tags
aixhardening
Reference
CIS IBM AIX 7 Benchmark v1.2.0 - 4.6.1.4 Ensure dtspc is not available

Check this host

Run this on a machine you are allowed to audit. The scan is read-only.

shell
tmaegis scan --target aix