Hey everyone! Struggling a bit with deploying Sophos via Hexnode. I have been at it for a while now, and I could really use some help.
How to deploy Sophos using Hexnode?Solved
Replies (5)
Hi @skyler! Thanks for reaching out.
Could you let us know which platform you’re deploying on? Also, have you already started the setup, or are you unsure where to begin?
Oh right, should’ve mentioned, it’s on macOS Sequoia. I’ve gone through a few steps, but I’m not sure I’m following the right deployment flow. Feels like I’m missing something.
No worries @skyler, we’ve got you! Let me walk you through the steps of deploying Sophos via Hexnode.
Before proceeding, ensure your macOS device is enrolled in Hexnode UEM and that you have a valid Sophos Central account with the required subscription. Additionally, verify that your macOS version is supported by referring to the Sophos Supported OS Builds documentation.
Deployment Steps:
- On your Hexnode UEM console, navigate to Policies > New Policy > macOS.
- From the left-hand menu, select Scripts and click Configure.
- Click on Choose Scripts and choose the Sophos installation script (provided below). Within the script, replace the placeholder URL with the actual download link obtained from the Sophos Central portal. This link should point to the location of the Sophos installation package.
- To retrieve the correct URL, log in to Sophos Central, go to Devices > Installer > Endpoint, and download either the full macOS installer or the specific components required for your deployment.
Following is the installation script:
Install Sophos on macOS devices1234567891011121314151617#!/bin/bashSOPHOS_DIR=$(mktemp -d -t Sophos_Install) trap 'rm -rf "$SOPHOS_DIR"' EXIT cd "$SOPHOS_DIR" || exit 1#Downloading Sophos installercurl -L -O “https://your-sophos-download-url/SophosInstall.zip” ||{echo "Download failed"exit 1}unzip SophosInstall.zip ||{echo "Unzip failed"exit 1}chmod a+x "$SOPHOS_DIR/Sophos Installer.app/Contents/MacOS/Sophos Installer"chmod a+x "$SOPHOS_DIR/Sophos Installer.app/Contents/MacOS/tools/com.sophos.bootstrap.helper""$SOPHOS_DIR/Sophos Installer.app/Contents/MacOS/Sophos Installer" --quietexit 0 - Once the script has been added, a configuration window will appear, allowing you to adjust the installation settings according to your deployment requirements.
- Next, navigate to the Deploy Custom Configuration policy. Click Configure and select the appropriate configuration file to be deployed.
- Click on Save and associate the policy with the target device.
Following is the configuration profile for macOS Sequoia:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 |
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1"> <dict> <key>PayloadUUID</key> <string>55DAC425-CF3B-4B80-877F-0DAA1C9009B7</string> <key>PayloadType</key> <string>Configuration</string> <key>PayloadOrganization</key> <string>Sophos</string> <key>PayloadIdentifier</key> <string>55DAC425-CF3B-4B80-877F-0DAA1C9009B7</string> <key>PayloadDisplayName</key> <string>Sophos Endpoint Sequoia v3.1</string> <key>PayloadDescription</key> <string>Allow full disk access, system extensions, transparent proxy, background item management and notifications for Sophos Endpoint.</string> <key>PayloadVersion</key> <integer>1</integer> <key>PayloadEnabled</key> <true></true> <key>PayloadRemovalDisallowed</key> <true></true> <key>PayloadScope</key> <string>System</string> <key>PayloadContent</key> <array> <dict> <key>PayloadUUID</key> <string>E1748B27-CAFB-4ED1-8F84-638C83C304D0</string> <key>PayloadType</key> <string>com.apple.TCC.configuration-profile-policy</string> <key>PayloadOrganization</key> <string>Sophos</string> <key>PayloadIdentifier</key> <string>E1748B27-CAFB-4ED1-8F84-638C83C304D0</string> <key>PayloadDisplayName</key> <string>Privacy Preferences Policy Control</string> <key>PayloadDescription</key> <string></string> <key>PayloadVersion</key> <integer>1</integer> <key>PayloadEnabled</key> <true></true> <key>Services</key> </dict><dict> <key>SystemPolicyAllFiles</key> <array> <dict> <key>Identifier</key> <string>com.sophos.macendpoint.Sophos-Installer</string> <key>CodeRequirement</key> <string>identifier "com.sophos.macendpoint.Sophos-Installer" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "2H5GFH3774"</string> <key>IdentifierType</key> <string>bundleID</string> <key>StaticCode</key> <integer>0</integer> <key>Allowed</key> <integer>1</integer> </dict> <dict> <key>Identifier</key> <string>com.sophos.updater</string> <key>CodeRequirement</key> <string>identifier "com.sophos.updater" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "2H5GFH3774"</string> <key>IdentifierType</key> <string>bundleID</string> <key>StaticCode</key> <integer>0</integer> <key>Allowed</key> <integer>1</integer> </dict> <dict> <key>Identifier</key> <string>com.sophos.endpoint.scanextension</string> <key>CodeRequirement</key> <string>identifier "com.sophos.endpoint.scanextension" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "2H5GFH3774"</string> <key>IdentifierType</key> <string>bundleID</string> <key>StaticCode</key> <integer>0</integer> <key>Allowed</key> <integer>1</integer> </dict> <dict> <key>Identifier</key> <string>com.sophos.liveresponse</string> <key>CodeRequirement</key> <string>identifier "com.sophos.liveresponse" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "2H5GFH3774"</string> <key>IdentifierType</key> <string>bundleID</string> <key>StaticCode</key> <integer>0</integer> <key>Allowed</key> <integer>1</integer> </dict> <dict> <key>Identifier</key> <string>/Library/Sophos Managed Detection and Response/SophosMDR</string> <key>CodeRequirement</key> <string>identifier SophosMDR and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "2H5GFH3774"</string> <key>IdentifierType</key> <string>bundleID</string> <key>StaticCode</key> <integer>0</integer> <key>Allowed</key> <integer>1</integer> </dict> <dict> <key>Identifier</key> <string>com.sophos.autoupdate</string> <key>CodeRequirement</key> <string>identifier "com.sophos.autoupdate" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "2H5GFH3774"</string> <key>IdentifierType</key> <string>bundleID</string> <key>StaticCode</key> <integer>0</integer> <key>Allowed</key> <integer>1</integer> </dict> <dict> <key>Identifier</key> <string>com.sophos.macendpoint.CleanD</string> <key>CodeRequirement</key> <string>identifier "com.sophos.macendpoint.CleanD" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "2H5GFH3774"</string> <key>IdentifierType</key> <string>bundleID</string> <key>StaticCode</key> <integer>0</integer> <key>Allowed</key> <integer>1</integer> </dict> <dict> <key>Identifier</key> <string>com.sophos.SophosScanAgent</string> <key>CodeRequirement</key> <string>identifier "com.sophos.SophosScanAgent" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "2H5GFH3774"</string> <key>IdentifierType</key> <string>bundleID</string> <key>StaticCode</key> <integer>0</integer> <key>Allowed</key> <integer>1</integer> </dict> <dict> <key>Identifier</key> <string>com.sophos.macendpoint.SophosServiceManager</string> <key>CodeRequirement</key> <string>identifier "com.sophos.macendpoint.SophosServiceManager" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "2H5GFH3774"</string> <key>IdentifierType</key> <string>bundleID</string> <key>StaticCode</key> <integer>0</integer> <key>Allowed</key> <integer>1</integer> </dict> <dict> <key>Identifier</key> <string>com.sophos.endpoint.uiserver</string> <key>CodeRequirement</key> <string>identifier "com.sophos.endpoint.uiserver" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "2H5GFH3774"</string> <key>IdentifierType</key> <string>bundleID</string> <key>StaticCode</key> <integer>0</integer> <key>Allowed</key> <integer>1</integer> </dict> <dict> <key>Identifier</key> <string>com.sophos.SDU4OSX</string> <key>CodeRequirement</key> <string>identifier "com.sophos.SDU4OSX" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "2H5GFH3774"</string> <key>IdentifierType</key> <string>bundleID</string> <key>StaticCode</key> <integer>0</integer> <key>Allowed</key> <integer>1</integer> </dict> <dict> <key>Identifier</key> <string>com.sophos.endpoint.SophosAgent</string> <key>CodeRequirement</key> <string>identifier "com.sophos.endpoint.SophosAgent" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "2H5GFH3774"</string> <key>IdentifierType</key> <string>bundleID</string> <key>StaticCode</key> <integer>0</integer> <key>Allowed</key> <integer>1</integer> </dict> <dict> <key>Identifier</key> <string>com.sophos.SophosAntivirus</string> <key>CodeRequirement</key> <string>identifier "com.sophos.SophosAntiVirus" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "2H5GFH3774"</string> <key>IdentifierType</key> <string>bundleID</string> <key>StaticCode</key> <integer>0</integer> <key>Allowed</key> <integer>1</integer> </dict> <dict> <key>Identifier</key> <string>com.Sophos.macendpoint.SophosSXLD</string> <key>CodeRequirement</key> <string>identifier "com.Sophos.macendpoint.SophosSXLD" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "2H5GFH3774"</string> <key>IdentifierType</key> <string>bundleID</string> <key>StaticCode</key> <integer>0</integer> <key>Allowed</key> <integer>1</integer> </dict> </array> </dict> </array></dict> <dict> <key>PayloadUUID</key> <string>6CC8DE25-7E97-4CC6-9CA3-FDA5F7C80F26</string> <key>PayloadType</key> <string>com.apple.system-extension-policy</string> <key>PayloadOrganization</key> <string>Sophos</string> <key>PayloadIdentifier</key> <string>6CC8DE25-7E97-4CC6-9CA3-FDA5F7C80F26</string> <key>PayloadDisplayName</key> <string>System Extensions</string> <key>PayloadDescription</key> <string></string> <key>PayloadVersion</key> <integer>1</integer> <key>PayloadEnabled</key> <true></true> <key>AllowUserOverrides</key> <true></true> <key>NonRemovableFromUISystemExtensions</key> </dict><dict> <key>2H5GFH3774</key> <array> <string>com.sophos.endpoint.networkextension</string> <string>com.sophos.endpoint.scanextension</string> </array> </dict> <dict> <key>FilterPacketProviderBundleIdentifier</key> <string>com.sophos.endpoint.networkextension</string> <key>FilterPacketProviderDesignatedRequirement</key> <string>identifier "com.sophos.endpoint.networkextension" and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "2H5GFH3774"</string> <key>FilterPackets</key> <true></true> <key>FilterSockets</key> <false></false> <key>FilterType</key> <string>Plugin</string> <key>PayloadDisplayName</key> <string>Web Content Filter Payload</string> <key>PayloadIdentifier</key> <string>52E8016D-1FAD-4176-9EFD-E78CE300D6EE</string> <key>PayloadOrganization</key> <string>Sophos</string> <key>PayloadType</key> <string>com.apple.webcontent-filter</string> <key>PayloadUUID</key> <string>52E8016D-1FAD-4176-9EFD-E78CE300D6EE</string> <key>PayloadVersion</key> <integer>1</integer> <key>PluginBundleID</key> <string>com.sophos.endpoint.network</string> <key>UserDefinedName</key> <string>SophosWebNetworkExtension</string> </dict> <dict> <key>PayloadDisplayName</key> <string>Notifications Payload</string> <key>PayloadIdentifier</key> <string>9256FF89-EF40-403C-A46D-095CA3498BA3</string> <key>PayloadOrganization</key> <string>Sophos</string> <key>PayloadType</key> <string>com.apple.notificationsettings</string> <key>PayloadUUID</key> <string>9256FF89-EF40-403C-A46D-095CA3498BA3</string> <key>PayloadVersion</key> <integer>1</integer> <key>NotificationSettings</key> <array> <dict> <key>AlertType</key> <integer>2</integer> <key>BundleIdentifier</key> <string>com.sophos.endpoint.uiserver</string> <key>CriticalAlertEnabled</key> <true></true> <key>NotificationsEnabled</key> <true></true> <key>ShowInNotificationCenter</key> <true></true> <key>SoundsEnabled</key> <true></true> </dict> <dict> <key>BundleIdentifier</key> <string>com.sophos.enc.sophos-encryption-agent</string> <key>CriticalAlertEnabled</key> <true></true> <key>NotificationsEnabled</key> <true></true> <key>ShowInNotificationCenter</key> <true></true> <key>SoundsEnabled</key> <true></true> </dict> </array> </dict> <dict> <key>PayloadDescription</key> <string>Payload for Background Item Management</string> <key>PayloadDisplayName</key> <string>Background Item Management</string> <key>PayloadIdentifier</key> <string>9FB5E80F-7972-4E5D-8684-B89728888272</string> <key>PayloadUUID</key> <string>9FB5E80F-7972-4E5D-8684-B89728888272</string> <key>PayloadType</key> <string>com.apple.servicemanagement</string> <key>PayloadOrganization</key> <string>Sophos</string> <key>Rules</key> <array> <dict> <key>RuleType</key> <string>TeamIdentifier</string> <key>RuleValue</key> <string>2H5GFH3774</string> <key>Comment</key> <string>Sophos Developer Team ID</string> </dict> </array> </dict> </plist> |
Once the policy is applied, Sophos system extensions are added to the device’s login items, and various Sophos applications are installed. After successful deployment, the device will appear in the Sophos Central portal under Devices > Computers and Servers.
Disclaimer:
- The information provided here is vendor-specific and may be subject to change. Please refer to the official Sophos website for more information or technical support.
- Hexnode is not responsible for any issues resulting from the installation or use of third-party software.
- It is strongly recommended to test the deployment script and configuration profile on a limited number of devices before proceeding with bulk deployment to avoid potential issues.
Thanks for the detailed walkthrough! I’ll go ahead and proceed with the setup now.
You’re welcome! Feel free to reach out if you have any questions along the way.