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 Hexnode

In this document
  • Step 1: Download Required Files
  • Step 2: Create the Common Policy
    • Assign Policy Targets
  • Step 3: Create the Customer Configuration Policy
    • Assign Policy Targets
  • Step 4: Uninstalling DefensX

This guide covers deploying the DefensX Agent to macOS devices managed by Hexnode MDM. The process involves three policies:

  • A common policy, installs the agent and pushes shared configurations (CA certificate, DNS Proxy extension)

  • A customer/deployment specific policy, pushes the deployment key and browser settings per customer

  • An optional uninstall policy, removes the agent when needed

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: Create the Common Policy

Most installation and configuration steps are identical across customers. Creating a shared common policy avoids repetition.

  • Log in to Hexnode MDM, click Policies, then click New Policy.

hexnode new policy
  • Select Create a full custom policy.

  • Enter a descriptive name, e.g. DefensX Common Install & Configurations.

  • Go to the macOS tab → Configurations → Scripts, then click Configure.

  • Click Choose Scripts, upload DefensX-installer.sh, then click Configure.

hexnode upload installer script

Adjust script execution options if needed, then click Add.

  • Under Configurations, click Deploy Custom Configuration → Configure.

  • Click Choose File and upload DefensX-CA.mobileconfig.

  • Click Upload and upload DefensX-DNSProxy-Extension.mobileconfig.

    Your screen should now show both files. Click Ok to continue.

    hexnode common profiles

Assign Policy Targets

  • Click the Policy Targets tab.

  • Add devices by Device, Device Groups, User Groups, or any supported attribute.

  • Click Save (top right), then click Yes to confirm the association.

    hexnode policy targets

The DefensX Agent will install on associated devices according to the script execution settings. With default settings, the script runs on each logon, log out and back in to trigger it, then wait a few minutes.

Once installed, a gray tray icon appears in the menu bar. This is expected:

  • The agent is installed and running

  • No deployment key or browser settings have been applied yet

  • The agent is inactive until the customer-specific policy is pushed

hexnode after install

Step 3: Create the Customer Configuration Policy

Each DefensX deployment has a unique Deployment Key, embedded in the per-customer mobileconfig file downloaded in Step 1. This policy delivers that configuration to the target devices.

  • In Hexnode MDM, click Policies → New Policy.

  • Select Create a full custom policy.

  • Enter a descriptive name, e.g. DefensX Agent Configuration [Customer Name].

  • Go to the macOS tab → Configurations → Deploy Custom Configuration, then click Configure.

  • Click Choose File and upload the DefensX-[deployment].mobileconfig file (the mobileconfig from Step 1).

    The other two profiles from the common policy will appear unchecked, leave them as is. Click Ok to continue.

    hexnode agent config profile

Assign Policy Targets

  • Click the Policy Targets tab.

  • Add the target devices.

  • Click Save, then click Yes to confirm.

Once the configuration is received by client devices, the DefensX tray icon changes from gray to its normal state, and a corresponding agent record appears in the DefensX backend under the relevant customer and deployment.

Step 4: Uninstalling DefensX

To remove DefensX from devices you need to remove the devices from both policy targets (common policy and customer configuration policy) before running the uninstall script. Otherwise the MDM will continue reinstalling the agent and reapplying configurations.

To create the uninstall policy:

  • Click Policies → New Policy.

  • Select Create a full custom policy.

  • Enter a name, e.g. DefensX Uninstall Script.

  • Go to macOS tab → Configurations → Scripts, then click Configure.

  • Click Choose Scripts, upload DefensX-uninstaller.sh, then click Configure.

  • Adjust execution options if needed, then click Add.

  • Click the Policy Targets tab, add the devices to uninstall from, then click Save.

The uninstall script will execute based on the configured trigger (by default, on the next logon).

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