2.4.2 Disable Internet Sharing

Information

Internet Sharing uses the open source natd process to share an internet connection with other computers and devices on a local network. This allows the Mac to function as a router and share the connection to other, possibly unauthorized, devices.

Rationale:

Disabling Internet Sharing reduces the remote attack surface of the system.

Impact:

Internet sharing allows the computer to function as a router and other computers to use it for access. This can expose both the computer itself and the networks it is accessing to unacceptable access from unapproved devices.

Solution

Perform the following to disable Internet Sharing:
Graphical Method:

Open System Preferences

Select Sharing

Uncheck Internet Sharing

Terminal Method:
Run the following command to turn off Internet Sharing:

$ sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict Enabled -int 0

Note: Using the Terminal Method will not uncheck the setting in System Preferences>Sharing but will disable the underlying service.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CSCv6|3.1

Plugin: Unix

Control ID: d78926d4bde4c5cdc58a08775ae9de94571353124cccb0e606cbd3ae00f8ea3c