Deploying ThreatLocker to MAC with the Addigy MDM
Below, you will find the steps for MAC deployment through Addigy MDM.
Step 1: Create a new smart software to deploy ThreatLocker.



Locate your GroupKey and replace it in the code below.
Script: (Copy Below)

#!/bin/bash
GroupKey="xxxxxxxxxxxxxxxxxxxxxxxxxxx"
#install
if [ ! -d /Applications/Threatlocker.app ]
then
curl --output-dir "/Applications" -O https://updates.threatlocker.com/repository/mac/1.0/Threatlocker.app.zip
echo "Downloading Threatlocker"
open /Applications/Threatlocker.app.zip
sleep 5
osascript -e 'quit app "Finder"'
rm -d /Applications/Threatlocker.app.zip
if [ ! -d /Applications/Threatlocker.app ]
then
echo "Not able to download the file"
exit 1
else
open /Applications/ThreatLocker.app --args -groupKey $GroupKey
echo "Installing Threatlocker"
sleep 15
echo "Verifying Group Key"
sleep 15
if [ ! -d /Library/Application\ Support/Threatlocker ]
then
echo "GroupKey is Invalid"
exit 1
else
echo "Threatlocker Installed"
exit 0
fi
fi
fi
if [ -d /Applications/ThreatLocker.app ]
then
echo "Threatlocker is already installed"
exit 1
fi
Step 2: Make a MDM profile to allow the ThreatLocker System Extension to be installed.

�


Team Identifier:
MSY54GN4KF
Step 3: Add the Smart Software and the MDM profile to a policy so it can be deployed.


Step 4: After the application is successfully installed on the machine, the end user will need to allow the ThreatLocker Network extension.
