AOSX-09-000141 - The NFS daemon must be disabled.

Information

If the system does not require access to NFS (Network File System) file shares or is not acting as an NFS server, then 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 NFS, run the following command:

sudo defaults write /private/var/db/launchd.db/com.apple.launchd/overrides.plist 'com.apple.nfsd' -dict Disabled -bool true

See Also

http://iasecontent.disa.mil/stigs/zip/U_Apple_OS_X_10-9_Workstation_V1R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7, CAT|II, CCI|CCI-000381, CSCv6|9.1, Group-ID|V-58299, Rule-ID|SV-72729r1_rule, STIG-ID|AOSX-09-000141

Plugin: Unix

Control ID: 7439b332578d389a6e2014a163e27e213ac0496a5dc8cc7856e92d6ee9bcf04e