4.1 Disable Bonjour advertising service

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Bonjour can simplify device discovery from an internal rogue or compromised host. An attacker could use Bonjour's multicast DNS feature to discover a vulnerable or poorly-configured service or additional information to aid a targeted attack.

Solution

Perform the following to implement the prescribed state:
Make a backup copy of the mDNSResponder.plist file as a precaution.
Open the mDNSResponder.plist file in Terminal using your preferred text editor.
Below is a sample command:
sudo nano '/System/Library/LaunchDaemons/com.apple.mDNSResponder.plist'
Add <string>-NoMulticastAdvertisements</string> to the array in the
ProgramArguments section. For example, the following:
<key>ProgramArguments</key>
<array>
<string>/usr/sbin/mDNSResponder</string>
<string>-launchd</string>
</array>
becomes:
<key>ProgramArguments</key>
<array>
<string>/usr/sbin/mDNSResponder</string>
<string>-launchd</string>
<string>-NoMulticastAdvertisements</string>
</array>
Save the file.

See Also

https://benchmarks.cisecurity.org/tools2/osx/CIS_Apple_OSX_10.9_Benchmark_v1.0.0.pdf

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7, CSCv6|9.1

Plugin: Unix

Control ID: fd31de370b80d52339baf82a2ad53d60270c741297529c8fa6c294c78417b3df