APPL-11-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_macOS_11_V1R5_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7a., CAT|II, CCI|CCI-000381, Rule-ID|SV-230788r599842_rule, STIG-ID|APPL-11-002003, Vuln-ID|V-230788

Plugin: Unix

Control ID: d34e2a89ce20ab8c74d9050dccb81bd6cdba8fb3b50aec742881ee4e3ad05528