4.6 Ensure nfs server is not running

Information

Mac OS X can act as an NFS fileserver. NFS sharing could be enabled to allow someone on another computer to mount shares and gain access to information from the user's computer. File sharing from a user endpoint has long been considered questionable and Apple has removed that capability from the GUI. NFSD is still part of the Operating System and can be easily turned on to export shares and provide remote connectivity to an end user computer. File serving should not be done from a user desktop, dedicated servers should be used. Open ports make it easier to exploit the computer.

Solution

Ensure that the NFS Server is not running and is not set to start at boot Stop the NFS Server sudo nfsd disable Remove the exported Directory listing rm /etc/export Impact: The nfs server is both a point of attack for the system and a means for unauthorized file transfers.

See Also

https://workbench.cisecurity.org/files/299

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7b.

Plugin: Unix

Control ID: 4db880985b960583d8e2e50ef94b97391be3524f57ed999213af21efd87c5218