AOSX-14-002003 - The macOS system must be configured to disable the Network File System (NFS) daemon unless it is required.

Information

If the system does not require access to NFS file shares or is not acting as an NFS server, support for NFS is non-essential and NFS services must be disabled. NFS is a network file system protocol supported by UNIX-like operating systems. Enabling any service increases the attack surface for an intruder. By disabling unnecessary services, the attack surface is minimized.

Solution

To disable the NFS daemon, run the following command:

/usr/bin/sudo /bin/launchctl disable system/com.apple.nfsd

The system may need to be restarted for the update to take effect.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Apple_OS_X_10-14_V2R6_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7a., CAT|II, CCI|CCI-000381, Rule-ID|SV-209568r610285_rule, STIG-ID|AOSX-14-002003, STIG-Legacy|SV-105007, STIG-Legacy|V-95869, Vuln-ID|V-209568

Plugin: Unix

Control ID: 62473b1416a74796053b7b564675bd2ee02e41ca7aa5d3c19066fd43c5e869f5