AOSX-13-000141 - 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-13_V2R5_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7a., CAT|II, CCI|CCI-000381, Rule-ID|SV-214825r609363_rule, STIG-ID|AOSX-13-000141, STIG-Legacy|SV-96225, STIG-Legacy|V-81511, Vuln-ID|V-214825

Plugin: Unix

Control ID: 976aeefa9c1b354af5827dd1944d325e0856a4e6e1a4925689b40bfa1da85152