Nightfall macOS Agent Deployment: JAMF MDM
This document explains the process of installing the Nightfall AI agent using JAMF.
The JAMF installation consists of the following steps.
Prerequisites
Target macOS devices are onboarded.
On your Nightfall console, navigate to https://app.nightfall.ai/endpoint and click the Download Package button on the top right corner of the page. Click Download Package for macOS and unpack the contents of the downloaded file.
mdm_pre_installation_script.sh
The script is used by MDMs to ensure that a macOS machine is in a clean state before installing the Nightfall Agent. It wipes any existing Nightfall installation and prepares a clean environment for a new install, including:
Loading API keys
Rebuilding folders
Resetting launch daemons
NightfallAI_Profile_with_Browser_Extension.mobileconfig
This profile is designed to pre-authorize and enable what the Nightfall Endpoint Agent requires on a macOS machine without needing user prompts.
Silently installs/enables the Nightfall browser extension
Allows the extension to run without prompts
Authorizes required permissions (content inspection, file uploads, scanning)
Grants macOS Privacy Permissions required by Nightfall:
Full Disk Access (FDA)
System Events/Automation Permissions
Application Control Permissions
Configures the payloads for browser + system integration
Prevents users from tampering with the security controls
Step 1 - Upload The Nightfall MDM Profile of your choice to Jamf Pro
In the downloaded folder, locate the README.md under /Profiles to learn about the various MDM profiles available.
Choose
NightfallAI_Profile_with_Browser_Extensions.mobileconfig.
Log in to your Jamf Pro account.
Navigate to Computers > Configuration Profiles.
Click the Upload button.
Click the Upload button and upload
NightfallAI_Profile_with_Browser_Extensions.mobileconfig.In the Scope tab, add the target devices or device groups to which this profile should be deployed.
Click Save.
Once assigned, profiles will be automatically deployed as part of the next Jamf inventory cycle.
The MDM profile has to be deployed on target machines prior to deploying additional payload. In Jamf, you can enforce this requirement through the creation of a Smart Group in which you can set the presence of the profile created above as a pre-requisite for any other payload targeting the group.
Step 2 - Upload and Add Pre-Installation Check Script
This script checks if the required profiles are installed and that the endpoint agent is at the desired version.
Unpack the zip file provided and locate the
mdm_pre_install_check_script.shfile under the.\\mdm_scripts\\folderOn Jamf Pro, navigate to Computers > Scripts.
Click the New button.
Enter a display name for the script (e.g., "Nightfall AI Pre-Installation Check").
Click on the Script tab
Paste the contents of
mdm_pre_install_check_script.shinto the script editor.Click Save.
Step 3 - Upload and Add the Pre-Installation Script
This script configures the target machine and prepares it to connect to your Nightfall instance once the package is deployed.
Locate the
mdm_pre_installation_script.shfile under the.\\mdm_scripts\\folderOn Jamf Pro, navigate to Computers > Scripts.
Click the New button.
Enter a display name for the script (e.g., "Nightfall AI Pre-Installation Script").
Paste the contents of
mdm_pre_installation_script.shinto the script editor.Click Save.
Step 5 - Create a Policy and Add scripts and package
Navigate to Computers > Policies.
Click the New button.
Enter a display name for the policy (e.g., "Deploy Nightfall AI").
Click General from the left pane & configure the Trigger and Execution Frequency as needed.
Click Package from the left pane & click on configure
Add
Nightfall AI AgentpackageClick on Scripts from the left pane & click on configure
Add
Pre-Install Check ScriptandPre-Install Script. Ensure the Priority isBeforeand the sequence is [ The scripts must be run once & in sequence to prepare the machine for the package install. ] -Pre-Install Check Script
Pre-Install Script
Click on Scope and determine the Target, Limitations, and Exclusions per need.
Click Save.
Last updated
Was this helpful?