Mimecast Secure Email Gateway - URL Protect
| Id | 80f244cd-b0d6-404e-9aed-37f7a66eda9f | 
| Rulename | Mimecast Secure Email Gateway - URL Protect | 
| Description | Detect threat when potentially malicious url found. | 
| Severity | High | 
| Tactics | InitialAccess Discovery Execution  | 
| Techniques | T1566 | 
| Required data connectors | MimecastSEGAPI | 
| Kind | Scheduled | 
| Query frequency | 15m | 
| Query period | 15m | 
| Trigger threshold | 0 | 
| Trigger operator | gt | 
| Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Mimecast/Analytic Rules/MimecastSEG/MimecastCG_Url_Protect.yaml | 
| Version | 1.0.0 | 
| Arm template | 80f244cd-b0d6-404e-9aed-37f7a66eda9f.json | 
MimecastCG
| where Type == "email_ttp_url"
| extend  SenderEnvelope = ['Sender Envelope']
kind: Scheduled
eventGroupingSettings:
  aggregationKind: AlertPerResult
suppressionDuration: 5h
entityMappings:
- entityType: MailMessage
  fieldMappings:
  - columnName: SenderEnvelope
    identifier: Sender
  - columnName: Recipients
    identifier: Recipient
  - columnName: Subject
    identifier: Subject
description: |
    'Detect threat when potentially malicious url found.'
severity: High
queryFrequency: 15m
incidentConfiguration:
  groupingConfiguration:
    reopenClosedIncident: false
    matchingMethod: AllEntities
    lookbackDuration: P7D
    enabled: true
  createIncident: true
triggerThreshold: 0
relevantTechniques:
- T1566
suppressionEnabled: false
status: Available
tactics:
- InitialAccess
- Discovery
- Execution
name: Mimecast Secure Email Gateway - URL Protect
id: 80f244cd-b0d6-404e-9aed-37f7a66eda9f
query: |
  MimecastCG
  | where Type == "email_ttp_url"
  | extend  SenderEnvelope = ['Sender Envelope']  
requiredDataConnectors:
- dataTypes:
  - MimecastCG
  connectorId: MimecastSEGAPI
version: 1.0.0
enabled: true
triggerOperator: gt
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Mimecast/Analytic Rules/MimecastSEG/MimecastCG_Url_Protect.yaml
queryPeriod: 15m
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2024-01-01-preview",
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/80f244cd-b0d6-404e-9aed-37f7a66eda9f')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/80f244cd-b0d6-404e-9aed-37f7a66eda9f')]",
      "properties": {
        "alertRuleTemplateName": "80f244cd-b0d6-404e-9aed-37f7a66eda9f",
        "customDetails": null,
        "description": "'Detect threat when potentially malicious url found.'\n",
        "displayName": "Mimecast Secure Email Gateway - URL Protect",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "MailMessage",
            "fieldMappings": [
              {
                "columnName": "SenderEnvelope",
                "identifier": "Sender"
              },
              {
                "columnName": "Recipients",
                "identifier": "Recipient"
              },
              {
                "columnName": "Subject",
                "identifier": "Subject"
              }
            ]
          }
        ],
        "eventGroupingSettings": {
          "aggregationKind": "AlertPerResult"
        },
        "incidentConfiguration": {
          "createIncident": true,
          "groupingConfiguration": {
            "enabled": true,
            "lookbackDuration": "P7D",
            "matchingMethod": "AllEntities",
            "reopenClosedIncident": false
          }
        },
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Mimecast/Analytic Rules/MimecastSEG/MimecastCG_Url_Protect.yaml",
        "query": "MimecastCG\n| where Type == \"email_ttp_url\"\n| extend  SenderEnvelope = ['Sender Envelope']\n",
        "queryFrequency": "PT15M",
        "queryPeriod": "PT15M",
        "severity": "High",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT5H",
        "suppressionEnabled": false,
        "tactics": [
          "Discovery",
          "Execution",
          "InitialAccess"
        ],
        "techniques": [
          "T1566"
        ],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}