Skip to main content

Netskope Help

Microsoft Defender for Endpoint Plugin for Threat Exchange

This document explains how to configure the Microsoft Defender ATP integration with the Threat Exchange module of the Netskope Cloud Exchange platform. This integration allows for sharing of file hashes with Netskope.

  • Fetched indicator types: URL, MD5, SHA256

  • Shared indicator types: URL, MD5, SHA256

High-level use cases:

  • Indicators of the types IP, Domains, and URL from Microsoft Defender for Endpoint will be fetched as URLs in Netskope Cloud Exchange.

  • Indicators of the type URL will be differentiated as IP, URL, or Domain, and then ingested to Microsoft Defender for Endpoint.

Action mappings for plugin version v1.1.0 and plugin version v1.2.0

Actions in plugin v1.1.0

Action in plugin v1.2.0

unknown

Audit

allow

Allowed

block

Block

alert

Alert

Warn

AlertandBlock

BlockandRemediate

Note

For Actions Audit, Alert, and AlertandBlock, select the Generate Alert checkbox in Microsoft Defender for Endpoint and Alerts to be generated.

Prerequisites

To complete this configuration, you need:

  • A Netskope Tenant (or multiple, for example, production and development/test instances).

  • A Secure Web Gateway subscription for URL sharing.

  • A Netskope Cloud Exchange with the Threat Exchange module already configured.

  • A Microsoft Defender for Endpoint account.

  • Your Microsoft Azure Tenant ID, Client ID, and Client Secret.

  • A Microsoft Azure Application with the Ti.ReadWrite.All Permission. For more information, go to this article.

Connectivity to these Hosts are RequiredWorkflow
  1. Create a custom File Profile.

  2. Get your Directory Tenant ID, Application Client ID, and Client Secret.

  3. Configure the Microsoft Defenderfor Endpoint Plugin.

  4. Configure sharing between Netskope and Microsoft Defender for Endpoint.

  5. Validate the Microsoft Defenderfor Endpoint Plugin.

Click play to watch a video.

 
  1. In the Netskope UI, go to Policies , select File , and click New File Profile.

    image3.jpeg
  2. Click File Hash in the left panel, select SHA256 from the File Hash dropdown list.

    image4.jpeg
  3. Enter a temporary value in the text field. Netskope does not support progressing without having a value in this field, and recommends entering a string of 64 characters that consists of the character f. For example, ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff. This will have a very low possibility of matching a valid file format.

    image5.jpeg
  4. Click Next.

  5. Enter a Profile Name and a Description. We recommend not having blank spaces in your profile name; use underscores for spaces.

    image6.jpeg
  6. Click Save.

  7. To publish this profile into the tenant, click Apply Changes in the top right.

  1. Log in to Azure with an account that has the Global Administrator role.

  2. Go to Azure Active Directory > App registrations.

    image3.png
  3. In the registration form, enter a name for your application, and then click Register.

  4. Copy your Directory (tenant) ID and Application (client) ID from the application page.

    image4.png
  5. Click Add a certificate or secret and then click New client secret to generate a Client secret. Add description and an expire time, and the. click Add.

  6. Copy the Secret Value; it will be displayed only once.

    image5.png
  7. To enable your app to access Defender for Endpoint, on your application page, select API Permissions > Add permission > APIs my organization uses , enter WindowsDefenderATP, and then select WindowsDefenderATP.

    image6.png
  8. On the Application Permission tab, select Ti from the permissions list, enable the Ti.ReadWrite.All checkbox on the basis of your requirement, and click Add permissions.

    image7.png
  9. Select Grant admin consent for your application, and click Yes for confirmation.

    image8.png
  1. In Cloud Exchange, go to Settings and click Plugins.

  2. Search for and select the Microsoft Defender for Endpoint Plugin box to open the plugin creation pages.

  3. Enter and select the Basic Information on the first page:

    • Configuration Name: Enter a name appropriate for your integration.

    • Poll Interval: Adjust to environment needs. We recommend not to go below 5 minutes for production environments.

    • Aging Criteria: Leave the default.

    • Override Reputation: Leave the default.

    • Enable SSL Verification: Leave the default.

    image9.png
  4. Click Next.

  5. Enter and select the Configuration Parameters on the second page:

    • Tenant ID: Enter your Directory (Tenant) ID.

    • App ID: Enter your Application (Client) ID.

    • App Secret: Enter your Client Secret values.

    • Region: Select the appropriate region.

    • IoC Source: Enter what to use in the description field while sharing IOCs to Defender.

    • Initial Range (in days): Leave the default.

    image10.png
  6. Click Save. Go to Threat Exchange > Plugins to see your new Defender for Endpoint plugin.

    image11.png

First create sharing from Microsoft Defender for Endpoint to Netskope, and then from Netskope to Microsoft Defender for Endpoint.

Sharing from Microsoft Defender for Endpoint to Netskope
  1. In Threat Exchange go to Sharing.

    image12.png
  2. Click Add Sharing Configuration.

  3. For Source Configuration, select the Microsoft Defender plugin you created earlier.

  4. Select a Business Rule, and then select Netskope for the Destination Configuration. Sharing configurations are unidirectional. data obtained from one plugin is shared with another plugin. To achieve bi- or multi-directional sharing, configure each separately.

    image13.png
  5. Select a Target from the dropdown. The next two steps explain how to use a URL or a Hash List.

  6. If you Select Add URL List for Target, then enter these parameters:

    • Select the List Name

    • Enter a List Size.

    • Enter the Default URL.

    • Click Save.

    image14.png
  7. If you Select Add File Hash List for Target, enter these parameters:

    • Enter a List Name.

    • Enter a List Size.

    • Enter the Default File Hash.

    • Click Save.

    image15.png
  8. After saving your sharing configuration, click the Sync icon.

    image16.png
  9. Enter a Time Period for how long you want to share data. Enable All time to share all the data from the source plugin. Click Fetch, and then click Sync.

    image17.png
Sharing from Netskope to Microsoft Defender for Endpoint
  1. For the Source Configuration, select the Netskope plugin.

  2. Select a Business Rule, and then select your Microsoft Defender for the Destination Configuration.

  3. For Target, select Perform Action

  4. Select an appropriate Action.

  5. Choose if you want to Allow Existing Indicators to be deleted, If Yes is selected, existing IoCs on Microsoft Defender will be deleted for ingesting new IOCs to the platform.

  6. Click Save.

    image18.png
  7. After saving the sharing configuration, click the Sync icon.

    image19.png
  8. Enter a Time Period for how long you want to share data. Enable All time to share all the data from the source plugin. Click Fetch, and then click Sync.

    image20.png

Adding a new sharing configuration on the active source poll will share the existing IoCs of the source configuration to the destination configuration. Whenever a new sharing configuration is built, all the active IoCs will also be considered for sharing if they match the source/destination combination.

Note

Plugins that do not have API for ingesting data cannot receive threat data. This is true of the installed plugin API Source, which provides a bucket associated with an API endpoint for remote 3rd-party systems to push data to. Once a Sharing policy has been added, it takes effect.

After a sharing configuration has been created, the sharing table will show the rule being invoked, the source system providing the potential IoC matches, the destination system that will receive matching IoC, and the target applicable to that rule. Multiple Sharing configurations can be made to support mapping certain IoC to multiple targets even on the system destination system.

Modify, Test, or Delete a Sharing Configuration

Each configuration supports 3 actions:

image10.png
  • Edit the rule by clicking on the pencil icon.

  • Test the rule by clicking on the synchronization icon. This tests how many IoC will actually be sent to the destination system based on the timeframe and the rule.

  • Delete the rule by clicking on the garbage can icon.

In order to validate the workflow you must have alerts generated on Microsoft Defender for Endpoint. Defender polling intervals are defined during plugin configuration.

Pulling of Indicators
  1. In Threat Exchange, go to Threat IoCs. This will show the pulled IoCs.

    image21.png
  2. In your Netskope Tenant, go to Policies > File (Profile) and click New File Profile.

    image22.png
Sharing of Indicators
Sharing from Defender to Netskope
  1. Verify sharing of indicators from Threat Exchange > Threat IoCs. Expand one of the Source plugin IoCs and check the status of Shared with Parameter.

    image23.png
  2. Log in to your Netskope tenant and go to Policies > File, and then locate your File Hash list and verify the Indicators shared.

    image24.png
Sharing from Netskope to Defender
  1. Log in to Microsoft Defender and go to Settings > Endpoints > Indicators.

  2. Select File Hashes tab to verify the md5 hashes shared from Netskope to Defender for Endpoint.

    image25.png
  3. If data is not being brokered between the platforms, look at the logs in Cloud Exchange. In Threat Exchange, go to Logging

    image26.png

    Look through the logs for errors. If unable to successfully troubleshoot, open a Support ticket with Netskope.

    image27.png