TMAegisBeta
Más reglas para aix

IBM AIX

TMA-AIX-4.4.1.2

Ensure NFS server services are not in use

MediaNivel 1Automatizadaaix

Descripción

De-install NFS server if the server does not act as an NFS server to remote clients. An expected exception is a system configured as a NIM server. NFS is frequently exploited to gain unauthorized access to file and directories. Unless the server needs to act as an NFS server or client, the filesets should be de-installed. Audit: automated read-only check derived from the CIS audit procedure; it prints "compliant" when the control is met.

Cómo se verifica

Método de auditoría: Comando de shell

shell
command -v lslpp >/dev/null 2>&1 || exit 1; lslpp -L >/dev/null 2>&1 || exit 1; out=$( { lslpp -L | grep -i 'bos.net.nfs.server' ; } 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

Ensure that there are no current NFS exports: cat /etc/exports The above command should yield no output. Or the file should not exist. De-install the NFS sever software: installp -u bos.net.nfs.server If there was an empty /etc/exports file, remove it: rm /etc/exports

Propiedades

Sistemas operativos
Cualquiera
Etiquetas
aixnetwork
Referencia
CIS IBM AIX 7 Benchmark v1.2.0 - 4.4.1.2 Ensure NFS server services are 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