Configure Intune to deploy Microsoft Defender ATP for macOS

Since this summer Defender Advanced Threat Protection supports also macOS. Now I had time to review the functionality and share my experience in this blog.

First of all, my starting position is a MacBook Air, which is enrolled to Microsoft Intune and is able to retrieve Configuration Profiles. The device is connected to the internet without a proxy server, therefore all the connection tests can be executed successfully.

Onboarding

Navigate to the Security Center at https://securitycenter.windows.com and choose in the settings section the Onboarding link.
Choose «Linux, macOS, iOS and Android» from the OS selection dropdown. Then select in the next dropdown «Mobile Device Management». Then you are able to download the installation package and the onboarding package.
Now you have to download the IntuneAppUtil which is required to create an app which can be deployed with Intune. You can retrieve the binaries directly from the following url: https://docs.microsoft.com/intune/lob-apps-macos

If you have extracted all the files in the same folder, it should look like on the screenshot.

Now we are ready and you can start the Terminal to executed various commands.

As soon you have the terminal started, navigate to the folder where your files are. For windows users, you can use “cd” like in the cmd console ;).

First we have to mark the IntuneAppUtil as executable:

chmod +x IntuneAppUtil

Then we can extract the zip file:

unzip WindowsDefenderATPOnboardingPackage.zip

Next, we can create the intunemac file with the following command:

./IntuneAppUtil -c wdav.pkg -o . -i "com.microsoft.wdav" -n "1.0.0"
After executing the commands in the last step, you got the new intunemac file in the same folder which we can then upload to Intune in the next step.
Open the Intune Portal and navigate to Device Configuration.
Then click on Profile…
… and then on Create Profile.
Give the profile a name and choose macOS and custom as the profile. Upload the kext.xml file which can be found in the Intune folder of the zip file.

Assign the profile to a group or to all devices.

Create an additional Profile with the content of the WindowsDefenderATPOnboarding.xml file and assign it to the same group.
Then create an additional custom profile (tcc.xml) with the content which can be found in the following manual from Microsoft:

https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-atp/mac-install-with-intune#create-system-configuration-profiles

Lastly you must create another profile to configure the correct notification settings. You can download the correct file from Microsoft and create the .mobileconfig.

Again, assign the profile to your devices.

Go back to the main page of the Intune Portal and navigate to Client Apps.
In the Client Apps section, we have to go to Apps.
Now we see all our applications and can add a new one by clicking on Add in the top bar of the table.
Select «Line-of-business app» and then upload the generated intunemac file in the App package file.
Then specify the metadata in the App information blade. I chose as minimum operating system Catalina.
Now, you have to wait until the application is completely provisioned in Intune. As soon the application is ready to be assigned, assign it like the profiles.

Result

After a few minutes we can see, that all profiles are applied successfully to the devices and also the app was deployed successfully.

On the device the MDATP console is also displayed and I can see that the patterns are up-to-date and start a Quick Scan of my machine:

And even better, I can now see my MacBook Air also in the Defender Security Center which enables me to see all device events from all my devices in a single console. I was really surprised how fast an alert is displayed in the console. For example, as I downloaded the Eicar test file, I looked one second later to my other pc and saw already the alert in the console!

So, as you can see it’s easy to deploy this new capability and use MDATP to protect your Apple device like the Windows machines.

Thomas Kurth

Thomas Kurth

I’m a consultant, trainer and architect for modern workplace and enterprise mobility projects with Microsoft Technologies in the past eight years. I love to push and design the modern workplace based on Windows 10, EM&S and O365 for my customers which is the only answer for the current security threats, agile world and the fast-changing business requirements of my customers. Important for me is to simplify and automate the operational processes, because there are the highest costs.

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe
Hosting sponsored by:
Archive