Knowledge Base
Browse Docs
  • Introduction
    1. DefensX
    2. DNS & Web Filtering
    3. Zero Trust Files
    4. Zero Trust Credentials
    5. ADWare Protection
    6. Remote Browser Isolation
    7. Secure Browser Extension
    8. Secure Mobile Browser
    9. System & Browser Requirements
  • Management
    1. Role-Based Access Control
    2. Message Templates
    3. AI Protections
    4. LLM Prompt Logger
  • Deployment
    1. Deployment via RMM
    2. Operating System Agent
    3. Deployment via GPO
    4. Deployment via Intune
    5. VDI and Terminal Servers
    6. Windows Manual Deployment
    7. Mac MDM Deployment
    8. Mac Manual Deployment
    9. Network Deployment
    10. Secure Mobile Browser
    11. Bypass Option
    12. SaaS Restrictions
    13. Bookmark Manager
    14. Remote Uninstall
  • Integrations
    1. Azure AD
    2. Identity Providers
    3. SIEM
  • Policy Management
    1. Configuring Policies
    2. Configuring Consents
    3. PII Protection
    4. Time-Based Policy
    5. Malvertising Protection
  • Secure Access (ZTNA)
    1. Introduction to ZTNA
    2. Configuration
  • Nexi AI
    1. Nexi AI
    2. Nexi AI for MSPs
    3. Nexi AI for End Users
    4. Bookmark Prompts and Schedule Reports in Nexi AI
  • Auto Pilot
    1. Auto Pilot
  • Training Videos
    1. Onboarding Videos
    2. Attack Scenarios
    3. MSP Admin Training Series
  • Questions & Answers
    1. Licensing
    2. Incognito Mode
    3. Onboarding
    4. Active Directory
    5. Group Synchronization
    6. Agent
    7. Conflicting Softwares
    8. Reporting
    9. Virtual Desktops
    10. Using the Backend
    11. DNS & Web Filtering
    12. Managing AI Tool Access
  • MSP Automation
    1. Overview
    2. External Notifications
    3. Integrations
    4. Partner API
ONLINE DOCUMENTATION

Deployment via ManageEngine

In this document
  • Step 1: Download Required Files
  • Step 2: Add Scripts to the Script Repository
  • Step 3: Create the Agent Install Configuration
  • Step 4: Create the CA Certificate Configuration
  • Step 5: Create the DNS Proxy Extension Configuration
  • Step 6: Create the Customer-Specific Configuration
  • Uninstalling DefensX

This guide covers deploying the DefensX Agent to macOS devices managed by ManageEngine Endpoint Central. The process uses shared scripts and configurations applicable to all customers, plus a separate customer-specific configuration that delivers the unique deployment key and browser settings.

Step 1: Download Required Files

Log in to the DefensX backend and navigate to Policies & Groups. Under the Deployments section, locate your deployment and click the RMM button.

mac deployments rmm required files

In the RMM dialog, click Mac MDM and download the following files:

File How to Download

DefensX-installer.sh

Click Download Installer Script

DefensX-CA.mobileconfig

Click Download DefensX-CA Certificate → As mobileconfig

DefensX-DNSProxy-Extension.mobileconfig

Click DNS Proxy Extension mobileconfig

DefensX-[deployment].mobileconfig

Click Download mobileconfig

DefensX-uninstaller.sh

Click Download Uninstaller Script

Keep all files available, they are needed in the steps below.

Step 2: Add Scripts to the Script Repository

Before creating policies, add both scripts to the Endpoint Central Script Repository. The scripts contain no customer-specific information, so they only need to be added once and can be reused across all customers.

  • In Endpoint Central, navigate to Configurations → Script Repository and click + Add Script.

  • Upload DefensX-installer.sh.

  • Set the Specify the exit codes field to 0.

  • Select Mac as the platform, then click Add.

    me script repository
  • Repeat the same steps to add DefensX-uninstaller.sh.

Step 3: Create the Agent Install Configuration

  • Navigate to Configurations → Add Configuration → Mac.

  • Find Custom Script and click the Computer Configuration icon.

    me custom script
  • In the Name field, enter a descriptive name like DefensX Agent Install Policy.

  • Under Execute Script from / Run, select Repository and choose DefensX-installer.sh from the Script Name list.

  • Set the Specify the exit code(s) field to 0.

  • Select the desired execution frequency.

  • In the Define Target section, select target computers by Domain, Device Groups, or other available criteria.

  • Click Deploy to complete the configuration.

    me agent install configuration

Step 4: Create the CA Certificate Configuration

This configuration deploys the DefensX Root CA certificate to managed devices.

  • Navigate to Configurations → Add Configuration → Mac.

  • Find Custom Configuration and click the Computer Configuration icon.

    me custom configuration
  • In the Name field, enter a descriptive name like DefensX CA Profile.

  • In the Custom Configuration profile field, upload DefensX-CA.mobileconfig.

  • In the Define Target section, select the target computers.

  • Click Deploy to complete the configuration.

Step 5: Create the DNS Proxy Extension Configuration

This configuration grants the DefensX DNS Proxy Network Extension the permissions it needs to operate without prompting users for approval. It enables DNS policy enforcement without modifying system-level DNS settings.

  • Navigate to Configurations → Add Configuration → Mac.

  • Find Custom Configuration and click the Computer Configuration icon.

  • n the Name field, enter a descriptive name like DefensX DNSProxy Extension.

  • In the Custom Configuration profile field, upload DefensX-DNSProxy-Extension.mobileconfig.

  • In the Define Target section, select the target computers.

  • Click Deploy to complete the configuration.

Step 6: Create the Customer-Specific Configuration

Each DefensX deployment has a unique Deployment Key embedded in its mobileconfig file. This step pushes that key along with any deployment-specific browser settings to the target devices.

  • Navigate to Configurations → Add Configuration → Mac.

  • Find Custom Configuration and click the Computer Configuration icon.

  • In the Name field, enter a name that identifies both the customer and the deployment, e.g. DefensX [Customer Name] Default Settings.

  • In the Custom Configuration profile field, upload the DefensX-[deployment].mobileconfig file downloaded in Step 1.

  • In the Define Target section, select the target computers.

  • Click Deploy to complete the configuration.

To speed up the initial rollout, open the ManageEngine tray icon on any target Mac and click Apply Configurations — this immediately triggers script execution and profile delivery without waiting for the next scheduled check-in.

me apply configuration

Uninstalling DefensX

Important
Before running the uninstall script, exclude the target devices from all configurations created in Steps 3, 4, 5, and 6. If devices remain in those configurations, the MDM will continue reinstalling the agent and reapplying profiles.

To exclude devices from the existing configurations:

  • Navigate to Configurations → Views → All Configurations.

  • Click on each configuration created in Steps 3, 4, 5, and 6.

  • Click Modify and select Targets.

  • Under Exclude Target, add the criteria that identify the devices you want to remove DefensX from.

    me exclude target

Once all exclusions are in place, create the uninstall policy:

  • Navigate to Configurations → Add Configuration → Mac.

  • Find Custom Script and click the Computer Configuration icon.

  • In the Name field, enter a name like DefensX Agent Uninstall Policy.

  • Under Execute Script from / Run, select Repository and choose DefensX-uninstaller.sh from the Script Name list.

  • Set the Specify the exit code(s) field to 0.

  • Select the desired execution frequency.

  • In the Define Target section, select the devices to uninstall from.

  • Click Deploy to complete the configuration.

The uninstall script will run on the next scheduled trigger, or immediately by clicking Apply Configurations from the ManageEngine tray icon on the target Mac.

www.defensx.com
Secure Industries, Inc 101 Avenue of The Americas, Floor 9 New York, NY 10013