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
Graphical Method:
Perform the following steps to disable Internet Sharing:
Open System Preferences
Select Sharing
Set Internet Sharing to disabled
Terminal Method:
Run the following command to turn off Internet Sharing:
$ usr/bin/sudo /usr/bin/defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict Enabled -int 0
Note: Using the Terminal Method will not be reflected in the GUI, but will disable the underlying service.
Profile Method:
Create or edit a configuration profile with the following information:
The PayloadType string is com.apple.MCX
The key to include is forceInternetSharingOff
The key must be set to <true/>
Item Details
Category: CONFIGURATION MANAGEMENT, SYSTEM AND SERVICES ACQUISITION
References: 800-53|CM-1, 800-53|CM-2, 800-53|CM-6, 800-53|CM-7, 800-53|CM-7(1), 800-53|CM-9, 800-53|SA-3, 800-53|SA-8, 800-53|SA-10, CSCv7|5.1, CSCv7|9.2
Control ID: 664127a6d4858c2f8873ab75c884559cd02395b3349fc68cb0a4cf4e941175cb