TMAegis
Más reglas para aix

TMA-AIX-4.3.2.9

Ensure portmap is not in use

MediaNivel 1Automatizadaaix

Descripción

If all RPC services are disabled, disable the portmap daemon itself. The portmap daemon is required for the RPC service. It converts the RPC program numbers into Internet port numbers. The daemon may be disabled if the server is not: 1. An NFS server 2. A NIS (YP) or NIS+ server 3. Running the CDE GUI 4. Running a third-party software application that relies on RPC support Audit: no RPC programs other than portmap/status/nsm/pyramid may be registered (portmap not running is compliant).

Cómo se verifica

Método de auditoría: Comando de shell

shell
command -v rpcinfo >/dev/null 2>&1 || exit 1; out=$( { rpcinfo -p localhost | egrep -v "(portmap)|(status)|(nsm)|(pyramid)|(program)" ; } 2>/dev/null ); [ -z "$out" ] && echo compliant || printf '%s\n' "$out" | head -n 20
Salida esperada
compliant

Cómo se corrige

Método de corrección: Guía o parche de infraestructura

Review any active RPC services: rpcinfo -p localhost Run the program above (in Audit) with the argument fix check exit status (should be 0)

Propiedades

Sistemas operativos
Cualquiera
Etiquetas
aixhardening
Referencia
CIS IBM AIX 7 Benchmark v1.2.0 - 4.3.2.9 Ensure portmap is not in use

Verificar este host

Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.

shell
tmaegis scan --target aix