TMAegisBeta
Mais regras para aix

IBM AIX

TMA-AIX-4.3.2.9

Ensure portmap is not in use

MédiaNível 1Automatizadaaix

Descrição

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).

Como é verificado

Método de auditoria: Comando 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
Saída esperada
compliant

Como é corrigido

Método de correção: Orientação ou patch de infraestrutura

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

Propriedades

Sistemas operacionais
Qualquer
Tags
aixhardening
Referência
CIS IBM AIX 7 Benchmark v1.2.0 - 4.3.2.9 Ensure portmap is not in use

Verificar este host

Execute isto em uma máquina que você tenha permissão para auditar. A varredura é somente leitura.

shell
tmaegis scan --target aix