Hi,
can somebody help me with a script to disable LaunchDaemons?
I need to push this out to all systems and wanted to see if I could do it without the need to go to each system for OSX 10 AND 11.
NSA Identified Exploit Vectors Disable each with “sudo launchctl unload –w ${LOCATION}”
/System/Library/LaunchDaemons/com.apple.dashboard.advisory.fetch.plist ;
/System/Library/LaunchDaemons/com.apple.UserNoticationCenter.plist ;
/System/Library/LaunchDaemons/com.apple.RemoteDesktop.PrivilegeProxy.plist ;
/System/Library/LaunchDaemons/com.apple.IIDCAssistant.plist ;
/System/Library/LaunchDaemons/com.apple.blued.plist ;
/System/Library/LaunchDaemons/com.apple.bluetoothReporter.plist ;
/System/Library/LaunchDaemons/com.apple.bluetoothaudiod.plist ;
/System/Library/LaunchAgents/com.apple.RemoteUI.plist ;
/System/Library/LaunchAgents/com.apple.RemoteDesktop.plist ;
/System/Library/LaunchAgents/com.apple.bluetoothUIServer.plist ;
Necessary Services
(usually enabled by default – may be enabled with “launchctl –w load …”)
sudo launchctl load -w
/System/Library/LaunchDaemons/com.apple.mDNSResponder.plist ;
sudo launchctl load -w
/System/Library/LaunchDaemons/com.apple.mDNSResponderHelper.plist ;
