Nmap has supported Mac OS X since 2001, and our support has only improved over time. While Mac users can compile Nmap themselves, we also offer an executable installer. Nmap makes use of Jhbuild and gtk-mac-bundler which are used to build other projects for Mac OS X, such as OpenSSL, libapr, libsvn... Nmap is also available through systems such as MacPorts and Fink which package Unix software for Mac OS X.

The easiest way to install Nmap and Zenmap on Mac OS X is to useour installer. TheMac OS X section ofthe Nmap download page provides a file namednmap-<version>.dmg, where<version> is the version number of the mostrecent release. The.dmgfile is known as adisk image. Installation instructions follow:

  1. Download the filenmap-<version>.dmg.Double-click the icon to open it. (Depending on how you downloaded thefile, it may be opened automatically.)

  2. The contents of the disk image will be displayed. One ofthe files will be a Mac meta-package file namednmap-<version>.mpkg.Open it to start the installer.

    On OS X 10.8 and later, you may see a dialog likeFigure 2.2.

    Figure 2.2. Apple Gatekeeper block screen


    If this happens, it is necessary to right-click or control-click on the.mpkg and select Open,as shown inFigure 2.3.

    Figure 2.3. Apple Gatekeeper Open menu


    A dialog similar to the first will appear, this time having anOpen button (shown inFigure 2.4).Click the button to continue.

    Figure 2.4. Apple Gatekeeper Open screen


  3. Follow the instructions in theinstaller. You will be asked for your password since Nmap installs in a system directory.

  4. Once the installer is finished, eject the disk image bycontrol-clicking on its icon and selectingEject. The disk image may now be placed inthe trash.

See the instructions in the section called “Executing Nmap on Mac OS X” forhelp on running Nmap and Zenmap after they are installed.

The programs installed by the installer will run on Intel Mac OS X 10.5(Leopard) or later. Users of earlier versions will have to compile fromsource or use a third-party package. Instructions for PowerPC (PPC) Mac systems (which Apple ceased selling in 2006) are available on our wiki.

Compiling Nmap from source on Mac OS X is no more difficult thanon other platforms once a proper build environment is in place.

Compiling Nmap on Mac OS X requiresXcode,Apple's developer tools that include GCC and the rest of the usual buildsystem. Xcode is not installed by default, but can be downloaded free ofcharge from the Mac AppStore. After installing Xcode, openPreferences, select theDownloads tab, and click theInstall next to Command LineTools.

  1. Nov 29, 2017 If you succeed in downloading the OS installation, your next step is to create a bootable USB or DVD and then reinstall the OS on your computer. How to download older Mac OS X versions via the App Store. If you once had purchased an old version of Mac OS X from the App Store, open it and go to the Purchased tab.
  2. Mac OS X package You can deploy your java application on the Mac OS X. All the Java products can be embedded in a package to be deployed on the Mac OS X. This package will be a ZIP archive that contains for every Java Product a folder with a special structure.
The Package. Mac OSPackage.

What is a package? Packages can be used to deliver a variety of assets to any number of Macs, but this tutorial will concentrate on building a distributable that installs a macOS app onto a Mac, MacBook Pro, MacBook Air, etc. So, in essence, a package (.pkg) is an app that installs another app — plus a few optional dependencies. Mac OS X package You can deploy your java application on the Mac OS X. All the Java products can be embedded in a package to be deployed on the Mac OS X. This package will be a ZIP archive that contains for every Java Product a folder with a special structure. This directory contains binaries for a base distribution and packages to run on Mac OS X (release 10.6 and above). Mac OS 8.6 to 9.2 (and Mac OS X 10.1) are no longer supported but you can find the last supported release of R for these systems (which is R 1.7.1) here.Releases for old Mac OS X systems (through Mac OS X 10.5) and PowerPC Macs can be found in the old directory.

Xcode installations don't always include the command line tools. You can install them by opening Xcode from the Applications folder, opening Preferencechoosing the Download header icon and clicking the Install button next to Command Line Tools.

Once you have installed Xcode and the command-line tools, follow the compilation instructions found in the section called “Linux/Unix Compilation and Installation from Source Code”. Note that on some older versions of Mac OS X, you may have to replace the command ./configure with ./configure CPP=/usr/bin/cpp. Also, on some newer Mac OS X versions, the libpcap version of the library provided by Apple may be too old. You may have to configure Nmap with the command ./configure --with-libpcap=included in order to use the compatible version included in Nmap, or you should update the libpcap installed on your machine.

Zenmap depends on some external libraries that do not come withMac OS X, including GTK+ and PyGTK. These libraries have many dependenciesof their own. A convenient way to install all of them is to use athird-party packaging system as described inSection . Once the dependencies areinstalled, follow the instructions in the section called “Linux/Unix Compilation and Installation from Source Code” toinstall Zenmap as usual.

Another option for installing Nmap is to use a systemwhich packages Unix software for Mac OS X. The two discussed here areFink andMacPorts. See therespective projects' web sites for how to install the packagemanagers.

To install using Fink, run the command fink installnmap. Nmap will be installed as/sw/bin/nmap. To uninstall use the commandfink remove nmap.

To install using MacPorts, run sudo portinstall nmap. Nmap will be installed as/opt/local/bin/nmap. To uninstall, runsudo port uninstall nmap.

These systems install the nmapexecutable outside the global PATH. To enable Zenmap tofind it, set the nmap_command_path variable inzenmap.conf to /sw/bin/nmap or/opt/local/bin/nmap as described inthe section called “The nmap Executable”.

The terminal emulator in Mac OS X is calledTerminal, and is located in the directory/Applications/Utilities. Open it and aterminal window appears. This is where you will type your commands.

By default the root user is disabled on Mac OS X. To run a scan withroot privileges prefix the command name withsudo,asin sudo nmap -sS <target>.You will be asked for a password, which is just your normal loginpassword. Only users with administrator privileges can do this.

Zenmap requires the X11 application tobe installed. If it was not installed by default it may be available asan optional install on the Mac OS X installation discs.

When Zenmap is started, a dialog is displayed requesting that youtype your password. Users withadministrator privilegesmay enter theirpassword to allow Zenmap to run as the root user and run more advancedscans. To run Zenmap in unprivileged mode, select theCancel button on this authentication dialog.

-->

Note

This documentation explains the legacy method for deploying and configuring Microsoft Defender for Endpoint on macOS devices. The native experience is now available in the MEM console. The release of the native UI in the MEM console provide admins with a much simpler way to configure and deploy the application and send it down to macOS devices.
The blog post MEM simplifies deployment of Microsoft Defender for Endpoint for macOS explains the new features. To configure the app, go to Settings for Microsoft Defender for Endpoint on macOS in Microsoft InTune. To deploy the app, go to Add Microsoft Defender for Endpoint to macOS devices using Microsoft Intune.

See More Results

Applies to:

This topic describes how to deploy Microsoft Defender for Endpoint on macOS through Intune. A successful deployment requires the completion of all of the following steps:

Mac Os Package Manager

Prerequisites and system requirements

Before you get started, see the main Microsoft Defender for Endpoint on macOS page for a description of prerequisites and system requirements for the current software version.

Overview

The following table summarizes the steps you would need to take to deploy and manage Microsoft Defender for Endpoint on Macs, via Intune. More detailed steps are available below.

StepSample file namesBundleIdentifier
Download installation and onboarding packagesWindowsDefenderATPOnboarding__MDATP_wdav.atp.xmlcom.microsoft.wdav.atp
Approve System Extension for Microsoft Defender for EndpointMDATP_SysExt.xmlN/A
Approve Kernel Extension for Microsoft Defender for EndpointMDATP_KExt.xmlN/A
Grant full disk access to Microsoft Defender for EndpointMDATP_tcc_Catalina_or_newer.xmlcom.microsoft.wdav.tcc
Network Extension policyMDATP_NetExt.xmlN/A
Configure Microsoft AutoUpdate (MAU)MDATP_Microsoft_AutoUpdate.xmlcom.microsoft.autoupdate2
Microsoft Defender for Endpoint configuration settings
Note: If you're planning to run a third-party AV for macOS, set passiveMode to true.
MDATP_WDAV_and_exclusion_settings_Preferences.xmlcom.microsoft.wdav
Configure Microsoft Defender for Endpoint and MS AutoUpdate (MAU) notificationsMDATP_MDAV_Tray_and_AutoUpdate2.mobileconfigcom.microsoft.autoupdate2 or com.microsoft.wdav.tray

Download installation and onboarding packages

Download the installation and onboarding packages from Microsoft Defender Security Center:

  1. In Microsoft Defender Security Center, go to Settings > Device Management > Onboarding.

  2. Set the operating system to macOS and the deployment method to Mobile Device Management / Microsoft Intune.

  3. Select Download installation package. Save it as wdav.pkg to a local directory.

  4. Select Download onboarding package. Save it as WindowsDefenderATPOnboardingPackage.zip to the same directory.

  5. Download IntuneAppUtil from https://docs.microsoft.com/intune/lob-apps-macos.

  6. From a command prompt, verify that you have the three files.

  7. Extract the contents of the .zip files:

  8. Make IntuneAppUtil an executable:

  9. Create the wdav.pkg.intunemac package from wdav.pkg:

Client device setup

You don't need any special provisioning for a Mac device beyond a standard Company Portal installation.

  1. Confirm device management.

    Select Open System Preferences, locate Management Profile on the list, and select Approve.... Your Management Profile would be displayed as Verified:

  2. Select Continue and complete the enrollment.

    You may now enroll more devices. You can also enroll them later, after you have finished provisioning system configuration and application packages.

  3. In Intune, open Manage > Devices > All devices. Here you can see your device among those listed:

Approve System Extensions

To approve the system extensions:

  1. In Intune, open Manage > Device configuration. Select Manage > Profiles > Create Profile.

  2. Choose a name for the profile. Change Platform=macOS to Profile type=Extensions. Select Create.

  3. In the Basics tab, give a name to this new profile.

  4. In the Configuration settings tab, add the following entries in the Allowed system extensions section:

    Bundle identifierTeam identifier
    com.microsoft.wdav.epsextUBF8T346G9
    com.microsoft.wdav.netextUBF8T346G9
  5. In the Assignments tab, assign this profile to All Users & All devices.

  6. Review and create this configuration profile.

Create System Configuration profiles

  1. In Intune, open Manage > Device configuration. Select Manage > Profiles > Create Profile.

  2. Choose a name for the profile. Change Platform=macOS to Profile type=Custom. Select Configure.

  3. Open the configuration profile and upload intune/kext.xml. This file was created in one of the preceding sections.

  4. Select OK.

  5. Select Manage > Assignments. In the Include tab, select Assign to All Users & All devices.

  6. Repeat steps 1 through 5 for more profiles.

  7. Create another profile, give it a name, and upload the intune/WindowsDefenderATPOnboarding.xml file.

  8. Download fulldisk.mobileconfig from our GitHub repository and save it as tcc.xml. Create another profile, give it any name and upload this file to it.

    Caution

    macOS 10.15 (Catalina) contains new security and privacy enhancements. Beginning with this version, by default, applications are not able to access certain locations on disk (such as Documents, Downloads, Desktop, etc.) without explicit consent. In the absence of this consent, Microsoft Defender for Endpoint is not able to fully protect your device.

    This configuration profile grants Full Disk Access to Microsoft Defender for Endpoint. If you previously configured Microsoft Defender for Endpoint through Intune, we recommend you update the deployment with this configuration profile.

  9. As part of the Endpoint Detection and Response capabilities, Microsoft Defender for Endpoint on macOS inspects socket traffic and reports this information to the Microsoft Defender Security Center portal. The following policy allows the network extension to perform this functionality. Download netfilter.mobileconfig from our GitHub repository, save it as netext.xml and deploy it using the same steps as in the previous sections.

  10. To allow Microsoft Defender for Endpoint on macOS and Microsoft Auto Update to display notifications in UI on macOS 10.15 (Catalina), download notif.mobileconfig from our GitHub repository and import it as a custom payload.

  11. Select Manage > Assignments. In the Include tab, select Assign to All Users & All devices.

Once the Intune changes are propagated to the enrolled devices, you can see them listed under Monitor > Device status:

Publish application

  1. In Intune, open the Manage > Client apps blade. Select Apps > Add.

  2. Select App type=Other/Line-of-business app.

  3. Select file=wdav.pkg.intunemac. Select OK to upload.

  4. Select Configure and add the required information.

  5. Use macOS High Sierra 10.14 as the minimum OS.

  6. Set Ignore app version to Yes. Other settings can be any arbitrary value.

    Caution

    Setting Ignore app version to No impacts the ability of the application to receive updates through Microsoft AutoUpdate. See Deploy updates for Microsoft Defender for Endpoint on macOS for additional information about how the product is updated.

    If the version uploaded by Intune is lower than the version on the device, then the lower version will be installed, effectively downgrading Microsoft Defender for Endpoint. This could result in a non-functioning application. See Deploy updates for Microsoft Defender for Endpoint on macOS for additional information about how the product is updated. If you deployed Microsoft Defender for Endpoint with Ignore app version set to No, please change it to Yes. If Microsoft Defender for Endpoint still cannot be installed on a client device, then uninstall Microsoft Defender for Endpoint and push the updated policy.

  7. Select OK and Add.

  8. It may take a few moments to upload the package. After it's done, select the package from the list and go to Assignments and Add group.

  9. Change Assignment type to Required.

  10. Select Included Groups. Select Make this app required for all devices=Yes. Select Select group to include and add a group that contains the users you want to target. Select OK and Save.

  11. After some time the application will be published to all enrolled devices. You can see it listed in Monitor > Device, under Device install status:

Verify client device state

  1. After the configuration profiles are deployed to your devices, open System Preferences > Profiles on your Mac device.


  2. Verify that the following configuration profiles are present and installed. The Management Profile should be the Intune system profile. Wdav-config and wdav-kext are system configuration profiles that were added in Intune:

  3. You should also see the Microsoft Defender icon in the top-right corner:

Troubleshooting

Issue: No license found

Solution: Follow the steps above to create a device profile using WindowsDefenderATPOnboarding.xml

Logging installation issues

For more information on how to find the automatically generated log that is created by the installer when an error occurs, see Logging installation issues.

Uninstallation

See Uninstalling for details on how to remove Microsoft Defender for Endpoint on macOS from client devices.