TMAegis
More rules for solaris

TMA-SOLARIS-2.4

Disable RPC Encryption Key

HighLevel 1Automatedsolaris

Description

The keyserv service is only required for sites that are using the Secure RPC mechanism. The most common use for Secure RPC on Solaris machines is "secure NFS", which uses the Secure RPC mechanism to provide higher levels of security than the standard NFS protocols. ("Secure NFS" is unrelated to Kerberos authentication as a mechanism for providing higher levels of NFS security. Audit: `svcs -Ho state` must report disabled; a service that is not installed is compliant.

How it is checked

Audit method: Shell command

shell
command -v svcs >/dev/null 2>&1 || exit 1; r=compliant; for f in svc:/network/rpc/keyserv; do st=$(svcs -Ho state "$f" 2>/dev/null); case "$st" in ''|disabled) ;; *) r="$f: $st";; esac; done; echo "$r"
Expected output
compliant

How it is fixed

Fix method: Guidance or infrastructure patch

svcadm disable svc:/network/rpc/keyserv

Properties

Operating systems
Any
Tags
solarisnetwork
Reference
CIS Oracle Solaris 11.4 Benchmark v1.1.0 - 2.4 Disable RPC Encryption Key

Check this host

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

shell
tmaegis scan --target solaris