TMAegisBeta
More rules for macos

macOS

TMA-MACOS15-4.1

Ensure Bonjour Advertising Services Is Disabled

LowLevel 2Automatedmacos

Description

Bonjour is an auto-discovery mechanism for TCP/IP devices which enumerates devices and services within a local subnet. DNS on macOS is integrated with Bonjour and should not be turned off, but the Bonjour advertising service can be disabled.

How it is checked

Audit method: Shell command

shell
/usr/bin/osascript -l JavaScript <<'EOS'
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.mDNSResponder').objectForKey('NoMulticastAdvertisements').js
EOS
Expected output
true

How it is fixed

Fix method: Guidance or infrastructure patch

Profile (preferred): com.apple.mDNSResponder NoMulticastAdvertisements. Terminal: sudo /usr/bin/defaults write /Library/Preferences/com.apple.mDNSResponder.plist NoMulticastAdvertisements -bool true.

Properties

Operating systems
macos-15
Tags
macosnetwork
Reference
CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 4.1 Ensure Bonjour Advertising Services Is Disabled

Check this host

Run this on a machine you are allowed to audit. The scan is read-only.

shell
tmaegis scan --target macos --level 2