Back
Id9b784b65-2d16-4c9f-9f59-2a5d4c659f42
RulenameFilewall - Blocked emails
DescriptionIdentifies emails blocked by Filewall for Microsoft 365 (Exchange).
SeverityHigh
TacticsExfiltration
TechniquesT1048
Required data connectorsFilewallM365
KindScheduled
Query frequency5m
Query period5m
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Filewall%20for%20Microsoft%20365/Analytic%20Rules/BlockedEmails.yaml
Version1.0.0
Arm template9b784b65-2d16-4c9f-9f59-2a5d4c659f42.json
Deploy To Azure
FilewallM365ExchangeEvent()
| where EventVendor == 'ODI-X' and EventProduct == 'Filewall for Microsoft 365'
| where EventType == 'ThreatInfo' and EventResult == 'Blocked'
incidentConfiguration:
  groupingConfiguration:
    lookbackDuration: PT1H
    reopenClosedIncident: false
    matchingMethod: AllEntities
    enabled: false
  createIncident: true
kind: Scheduled
name: Filewall - Blocked emails
triggerOperator: gt
query: |
  FilewallM365ExchangeEvent()
  | where EventVendor == 'ODI-X' and EventProduct == 'Filewall for Microsoft 365'
  | where EventType == 'ThreatInfo' and EventResult == 'Blocked'
queryFrequency: 5m
description: Identifies emails blocked by Filewall for Microsoft 365 (Exchange).
id: 9b784b65-2d16-4c9f-9f59-2a5d4c659f42
triggerThreshold: 0
version: 1.0.0
queryPeriod: 5m
status: Available
relevantTechniques:
- T1048
eventGroupingSettings:
  aggregationKind: AlertPerResult
severity: High
requiredDataConnectors:
- connectorId: FilewallM365
  dataTypes:
  - FilewallExchange_CL
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Filewall%20for%20Microsoft%20365/Analytic%20Rules/BlockedEmails.yaml
tactics:
- Exfiltration
entityMappings:
- fieldMappings:
  - identifier: FullName
    columnName: ActorUsername
  entityType: Account
- fieldMappings:
  - identifier: Recipient
    columnName: EmailRecipientTo
  - identifier: Subject
    columnName: EmailSubject
  - identifier: Sender
    columnName: EmailSenderFrom
  entityType: MailMessage
{
  "$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/9b784b65-2d16-4c9f-9f59-2a5d4c659f42')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/9b784b65-2d16-4c9f-9f59-2a5d4c659f42')]",
      "properties": {
        "alertRuleTemplateName": "9b784b65-2d16-4c9f-9f59-2a5d4c659f42",
        "customDetails": null,
        "description": "Identifies emails blocked by Filewall for Microsoft 365 (Exchange).",
        "displayName": "Filewall - Blocked emails",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Account",
            "fieldMappings": [
              {
                "columnName": "ActorUsername",
                "identifier": "FullName"
              }
            ]
          },
          {
            "entityType": "MailMessage",
            "fieldMappings": [
              {
                "columnName": "EmailRecipientTo",
                "identifier": "Recipient"
              },
              {
                "columnName": "EmailSubject",
                "identifier": "Subject"
              },
              {
                "columnName": "EmailSenderFrom",
                "identifier": "Sender"
              }
            ]
          }
        ],
        "eventGroupingSettings": {
          "aggregationKind": "AlertPerResult"
        },
        "incidentConfiguration": {
          "createIncident": true,
          "groupingConfiguration": {
            "enabled": false,
            "lookbackDuration": "PT1H",
            "matchingMethod": "AllEntities",
            "reopenClosedIncident": false
          }
        },
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Filewall%20for%20Microsoft%20365/Analytic%20Rules/BlockedEmails.yaml",
        "query": "FilewallM365ExchangeEvent()\n| where EventVendor == 'ODI-X' and EventProduct == 'Filewall for Microsoft 365'\n| where EventType == 'ThreatInfo' and EventResult == 'Blocked'\n",
        "queryFrequency": "PT5M",
        "queryPeriod": "PT5M",
        "severity": "High",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "Exfiltration"
        ],
        "techniques": [
          "T1048"
        ],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}