11 KiB
title, description, keywords, search.product, search.appverid, ms.prod, ms.mktglfcycl, ms.sitesec, ms.pagetype, ms.author, author, ms.localizationpriority, manager, audience, ms.collection, ms.topic
title | description | keywords | search.product | search.appverid | ms.prod | ms.mktglfcycl | ms.sitesec | ms.pagetype | ms.author | author | ms.localizationpriority | manager | audience | ms.collection | ms.topic |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Configure HP ArcSight to pull Microsoft Defender ATP detections | Configure HP ArcSight to receive and pull detections from Microsoft Defender Security Center | configure hp arcsight, security information and events management tools, arcsight | eADQiWindows 10XVcnh | met150 | w10 | deploy | library | security | macapara | mjcaparas | medium | dansimp | ITPro | M365-security-compliance | article |
Configure HP ArcSight to pull Microsoft Defender ATP detections
Applies to:
Want to experience Microsoft Defender ATP? Sign up for a free trial.
You'll need to install and configure some files and tools to use HP ArcSight so that it can pull Microsoft Defender ATP detections.
Note
- Microsoft Defender ATP Alert is composed from one or more detections
- Microsoft Defender ATP Detection is composed from the suspicious event occurred on the Machine and its related Alert details.
Before you begin
Configuring the HP ArcSight Connector tool requires several configuration files for it to pull and parse detections from your Azure Active Directory (AAD) application.
This section guides you in getting the necessary information to set and use the required configuration files correctly.
-
Make sure you have enabled the SIEM integration feature from the Settings menu. For more information, see Enable SIEM integration in Microsoft Defender ATP.
-
Have the file you saved from enabling the SIEM integration feature ready. You'll need to get the following values:
- OAuth 2.0 Token refresh URL
- OAuth 2.0 Client ID
- OAuth 2.0 Client secret
-
Have the following configuration files ready:
-
WDATP-connector.properties
-
WDATP-connector.jsonparser.properties
You would have saved a .zip file which contains these two files when you chose HP ArcSight as the SIEM type you use in your organization.
-
-
Make sure you generate the following tokens and have them ready:
- Access token
- Refresh token
You can generate these tokens from the SIEM integration setup section of the portal.
Install and configure HP ArcSight FlexConnector
The following steps assume that you have completed all the required steps in Before you begin.
-
Install the latest 32-bit Windows FlexConnector installer. You can find this in the HPE Software center. The tool is typically installed in the following default location:
C:\Program Files\ArcSightFlexConnectors\current\bin
.
You can choose where to save the tool, for example C:\folder_location\current\bin where folder_location represents the installation location. -
Follow the installation wizard through the following tasks:
- Introduction
- Choose Install Folder
- Choose Install Set
- Choose Shortcut Folder
- Pre-Installation Summary
- Installing...
You can keep the default values for each of these tasks or modify the selection to suit your requirements.
-
Open File Explorer and locate the two configuration files you saved when you enabled the SIEM integration feature. Put the two files in the FlexConnector installation location, for example:
-
WDATP-connector.jsonparser.properties: C:\folder_location\current\user\agent\flexagent\
-
WDATP-connector.properties: C:\folder_location\current\user\agent\flexagent\
NOTE: You must put the configuration files in this location, where folder_location represents the location where you installed the tool.
-
-
After the installation of the core connector completes, the Connector Setup window opens. In the Connector Setup window, select Add a Connector.
-
Select Type: ArcSight FlexConnector REST and click Next.
-
Type the following information in the parameter details form. All other values in the form are optional and can be left blank.
Field Value Configuration File Type in the name of the client property file. The name must match the file provided in the .zip that you downloaded. For example, if the configuration file in "flexagent" directory is named "WDATP-Connector.jsonparser.properties", you must type "WDATP-Connector" as the name of the client property file. Events URL Depending on the location of your datacenter, select either the EU or the US URL:
For EU: https://wdatp-alertexporter-eu.windows.com/api/alerts/?sinceTimeUtc=$START_AT_TIME
For US: https://wdatp-alertexporter-us.windows.com/api/alerts/?sinceTimeUtc=$START_AT_TIME
For UK: https://wdatp-alertexporter-uk.windows.com/api/alerts/?sinceTimeUtc=$START_AT_TIMEAuthentication Type OAuth 2 OAuth 2 Client Properties file Browse to the location of the wdatp-connector.properties file. The name must match the file provided in the .zip that you downloaded. Refresh Token You can obtain a refresh token in two ways: by generating a refresh token from the SIEM settings page or using the restutil tool.
For more information on generating a refresh token from the Preferences setup , see Enable SIEM integration in Microsoft Defender ATP.
Get your refresh token using the restutil tool:
a. Open a command prompt. Navigate to C:\folder_location\current\bin where folder_location represents the location where you installed the tool.
b. Type:arcsight restutil token -config
from the bin directory.For example: arcsight restutil boxtoken -proxy proxy.location.hp.com:8080 A Web browser window will open.
c. Type in your credentials then click on the password field to let the page redirect. In the login prompt, enter your credentials.
d. A refresh token is shown in the command prompt.
e. Copy and paste it into the Refresh Token field.
7. A browser window is opened by the connector. Login with your application credentials. After you log in, you'll be asked to give permission to your OAuth2 Client. You must give permission to your OAuth 2 Client so that the connector configuration can authenticate.
If theredirect_uri
is a https URL, you'll be redirected to a URL on the local host. You'll see a page that requests for you to trust the certificate supplied by the connector running on the local host. You'll need to trust this certificate if the redirect_uri is a https.
If however you specify a http URL for the redirect_uri, you do not need to provide consent in trusting the certificate. -
Continue with the connector setup by returning to the HP ArcSight Connector Setup window.
-
Select the ArcSight Manager (encrypted) as the destination and click Next.
-
Type in the destination IP/hostname in Manager Hostname and your credentials in the parameters form. All other values in the form should be retained with the default values. Click Next.
-
Type in a name for the connector in the connector details form. All other values in the form are optional and can be left blank. Click Next.
-
The ESM Manager import certificate window is shown. Select Import the certificate to connector from destination and click Next. The Add connector Summary window is displayed and the certificate is imported.
-
Verify that the details in the Add connector Summary window is correct, then click Next.
-
Select Install as a service and click Next.
-
Type a name in the Service Internal Name field. All other values in the form can be retained with the default values or left blank . Click Next.
-
Type in the service parameters and click Next. A window with the Install Service Summary is shown. Click Next.
-
Finish the installation by selecting Exit and Next.
Install and configure the HP ArcSight console
-
Follow the installation wizard through the following tasks:
- Introduction
- License Agreement
- Special Notice
- Choose ArcSight installation directory
- Choose Shortcut Folder
- Pre-Installation Summary
-
Click Install. After the installation completes, the ArcSight Console Configuration Wizard opens.
-
Type localhost in Manager Host Name and 8443 in Manager Port then click Next.
-
Select Use direct connection, then click Next.
-
Select Password Based Authentication, then click Next.
-
Select This is a single user installation. (Recommended), then click Next.
-
Click Done to quit the installer.
-
Login to the HP ArcSight console.
-
Navigate to Active channel set > New Condition > Device > Device Product.
-
Set Device Product = Microsoft Defender ATP. When you've verified that events are flowing to the tool, stop the process again and go to Windows Services and start the ArcSight FlexConnector REST.
You can now run queries in the HP ArcSight console.
Microsoft Defender ATP detections will appear as discrete events, with "Microsoft” as the vendor and “Windows Defender ATP” as the device name.
Troubleshooting HP ArcSight connection
Problem: Failed to refresh the token. You can find the log located in C:\folder_location\current\logs where folder_location represents the location where you installed the tool. Open agent.log and look for ERROR/FATAL/WARN
.
Symptom: You get the following error message:
Failed to refresh the token. Set reauthenticate to true: com.arcsight.common.al.e: Failed to refresh access token: status=HTTP/1.1 400 Bad Request FATAL EXCEPTION: Could not refresh the access token
Solution:
-
Stop the process by clicking Ctrl + C on the Connector window. Click Y when asked "Terminate batch job Y/N?".
-
Navigate to the folder where you stored the WDATP-connector.properties file and edit it to add the following value:
reauthenticate=true
. -
Restart the connector by running the following command:
arcsight.bat connectors
.A browser window appears. Allow it to run, it should disappear, and the connector should now be running.
Note
Verify that the connector is running by stopping the process again. Then start the connector again, and no browser window should appear.