Mimecast API 2.0 - Email Security Cloud Gateway Integration Guide🔗
Use the following instructions to configure Mimecast API 2.0 for log ingestion into Secureworks® Taegis™ XDR. XDR supports Mimecast API 2.0 integrations for:
- SIEM Logs
- Targeted Threat Protection (TTP)
Data Provided from Integration🔗
The following Mimecast Logs and Statistics API Endpoints are supported by XDR.
- Get SIEM Logs
- Get TTP Attachment Protection Logs
- Get TTP Impersonation Protect Logs
- Get TTP URL Logs
Normalized Data | Out-of-the-Box Detections | Vendor-Specific Detections | |
---|---|---|---|
Mimecast | HTTP |
Note
XDR detectors are not guaranteed to be triggered, even if a data source's logs are normalized to a schema associated with a given detector. However, you can create Custom Alert Rules to generate alerts based on normalized data from a data source.
Prerequisites🔗
Create a Role With the Required Permissions🔗
In the Mimecast Administrator Console:
- Go to Account → Roles.
- Click New Role and enter a name. For example,
Taegis Integration Role
. -
In Application Permissions, select the following permissions:
- Monitoring Menu → Attachment Protection → Read
- Monitoring Menu → URL Protection → Read
- Monitoring Menu → Impersonation Protection Logs → Read
- Security Events and Data Retrieval → Threat and security events (SIEM) → Read
- Security Events and Data Retrieval → Threat and security statistics → Read
-
Click Save and Exit.
Turn On Logging in Mimecast🔗
To turn on logging in Mimecast, do as follows:
In the Mimecast Administrator Console:
- Go to Administration → Account → Account Settings.
-
In Enhanced Logging, choose the following logging types:
- Inbound
- Outbound
- Internal
-
Click Save.
Mimecast Platform Configuration🔗
Follow the instructions in the Mimecast documentation, API & Integrations - Managing API 2.0 for Cloud Gateway, to create an API 2.0 application for the XDR integration.
- In the Application Details section, enter the following values:
- Application Name. For example,
Taegis Integration
. - Category, select XDR Integration.
- Products, choose Select All.
- Application Role, select the role created previously.
- Application Name. For example,
- In the Notification Settings section, provide email contact details in case Mimecast needs to speak to you about the use of this API.
- Review the summary and click Add and Generate Keys.
- Your Client ID and Client Secret keys are shown. Copy the keys to a safe place. They will be used to complete the integration.
Important
Record your keys at the time of creation as they cannot be viewed or retrieved again after this point. If lost, you must generate new ones.
Add Integration in XDR🔗
Note
Separate integrations for Mimecast TTP and SIEM logs have been implemented to maximize the efficiency of ingestion given the difference between the way the API endpoints deliver log messages to Taegis.
-
From the Taegis Menu, select Integrations → Cloud APIs.
-
Select Add an Integration from the top of the page.
-
From the Optimized tab, select Mimecast 2.0 SIEM.
-
Enter the following values:
- Taegis Integration Name — This serves as a unique name for your integration; it can include any valid values up to 100 characters.
- Mimecast Client ID
- Mimecast Client Secret
-
Select Done. The Cloud API Integrations page is displayed with the successfully added Mimecast integration.
-
Repeat steps 1-5 for the Mimecast 2.0 TTP integration. The same Client ID/Secret created for the SIEM Logs inetgration can be used for the TTP integration.
Once the above steps are completed, Mimecast integration details are available on the Cloud APIs page. From the Taegis Menu, select Integrations → Cloud APIs.
Searching for Events and Alerts in XDR🔗
The Sensor Type is Mimecast
. Mimecast 1.0 and 2.0 events and alerts can be differentiated using the API integration name.
For example, if you named the integration Mimecast2.0Demo
, the following query can be used in Advanced Search.
WHERE sensor_type = 'mimecast' AND ingest.integration_id = 'mimecast2.0demo'
Advanced Search using the Query Language🔗
Example Query Language Searches🔗
To search for Mimecast email
events from the last 24 hours:
FROM email WHERE sensor_type = 'Mimecast' and EARLIEST=-24h
To search for Mimecast email
events classified as "Delivered":
FROM email WHERE sensor_type = 'Mimecast' AND status = 'delivered'
To search for Mimecast email
events that were NOT blocked:
FROM email WHERE sensor_type = 'Mimecast' AND original_data CONTAINS 'virus'