Skip to main content

Hi all,

 

I am trying to find the plist that I can target to restrict Nessus Agent from being clickable in System Prefs. Any ideas?

Also does anyone know the command to disable and enable or an existing config to target the disablement of it in the system prefs pane?


iMazing Profile Editor (https://imazing.com/profile-editor) has Nessus Built in as an option you can select under the restrictions payload to disable the preference pane


*edit* of course I find it seconds after I ask the question. Thanks for the the tip!@ljcacioppoI don't see it in that app anymore. Is this still true? If so, where did you find it?


*edit* of course I find it seconds after I ask the question. Thanks for the the tip!@ljcacioppoI don't see it in that app anymore. Is this still true? If so, where did you find it?


In the System Preferences Payload. When you click the dropdown for which to disable, its the second from the bottom

  


@ljcacioppo @tegus232  trying to do same, but when I tested in Ventura its not working. Any suggestion on this?


@ljcacioppo @tegus232  trying to do same, but when I tested in Ventura its not working. Any suggestion on this?


On Ventura, I am completely removing the prefpane after installing the Nessus Agent:

rm -rf "/Library/PreferencePanes/Nessus Agent Preferences.prefPane"

My only concern is that this prefpane might get reinstalled when tenable pushes an update to the clients. If that happens, I'm planning on adding an Extension Attribute to detect if the preference pane exists and to populate a smart group, and then run a script against that smart group to remove it. 


@ljcacioppo @tegus232  trying to do same, but when I tested in Ventura its not working. Any suggestion on this?


I forgot to mention that the reason that this no longer works on Ventura is because Apple deprecated this preference domain in macOS 13: https://developer.apple.com/documentation/devicemanagement/systempreferences

The only workaround I've found is deleting the preference pane. My org just started pushing the agent out, so I'm not sure if this has any long term negative impact. The Nessus Agent appears to continue to run fine without the preference pane, though.


Reply