TMA-AIX-4.4.1.7
Ensure secure RPC authentication is enabled
Descripción
To enhance server-client authentication ensure that the secure option is selected for every export. RPC is a protocol used by NFS to communicate requests between hosts. Secure NFS uses encryption (DES or Kerberos) to secure host authentication in RPC transactions. 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
command -v lsnfsexp >/dev/null 2>&1 || exit 1; out=$( { lsnfsexp | grep sec= | grep none; lsnfsexp | grep -v sec= ; } 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
Use chnfsexp to change/validate this value for all NFS exported filesystems: chnfsexp -d <fs> -S <sec> The available security method options are: sys - UNIX authentication dh - DES authentication none - Use the anonymous ID if it has a value other than -1 krb5 - Kerberos. Authentication only krb5i - Kerberos. Authentication and integrity krb5p - Authentication, integrity, and privacy Once all exported filesystems have been successfully validated or changed, re-export the filesystems and directories to activate the new options: exportfs -a
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- aixnetwork
- Referencia
- CIS IBM AIX 7 Benchmark v1.2.0 - 4.4.1.7 Ensure secure RPC authentication is enabled
Verificar este host
Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.
tmaegis scan --target aix --level 2