Back
Id86e7f6fd-5c29-4a3a-bced-3eca3fb0c621
RulenameFilewall - Blocked files
DescriptionIdentifies files blocked by Filewall for Microsoft 365 (SharePoint/OneDrive/Teams).
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/BlockedFiles.yaml
Version1.0.0
Arm template86e7f6fd-5c29-4a3a-bced-3eca3fb0c621.json
Deploy To Azure
FilewallM365FileEvent()
| where EventVendor == 'ODI-X' and EventProduct == 'Filewall for Microsoft 365'
| where EventType == 'FileBlocked'
incidentConfiguration:
  groupingConfiguration:
    lookbackDuration: PT1H
    reopenClosedIncident: false
    matchingMethod: AllEntities
    enabled: false
  createIncident: true
kind: Scheduled
name: Filewall - Blocked files
triggerOperator: gt
query: |
  FilewallM365FileEvent()
  | where EventVendor == 'ODI-X' and EventProduct == 'Filewall for Microsoft 365'
  | where EventType == 'FileBlocked'
queryFrequency: 5m
description: Identifies files blocked by Filewall for Microsoft 365 (SharePoint/OneDrive/Teams).
id: 86e7f6fd-5c29-4a3a-bced-3eca3fb0c621
triggerThreshold: 0
version: 1.0.0
queryPeriod: 5m
status: Available
relevantTechniques:
- T1048
eventGroupingSettings:
  aggregationKind: AlertPerResult
severity: High
requiredDataConnectors:
- connectorId: FilewallM365
  dataTypes:
  - FilewallFile_CL
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Filewall%20for%20Microsoft%20365/Analytic%20Rules/BlockedFiles.yaml
tactics:
- Exfiltration
entityMappings:
- fieldMappings:
  - identifier: FullName
    columnName: ActorUsername
  entityType: Account
- fieldMappings:
  - identifier: Name
    columnName: TargetFileName
  - identifier: Directory
    columnName: TargetFilePath
  entityType: File
{
  "$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/86e7f6fd-5c29-4a3a-bced-3eca3fb0c621')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/86e7f6fd-5c29-4a3a-bced-3eca3fb0c621')]",
      "properties": {
        "alertRuleTemplateName": "86e7f6fd-5c29-4a3a-bced-3eca3fb0c621",
        "customDetails": null,
        "description": "Identifies files blocked by Filewall for Microsoft 365 (SharePoint/OneDrive/Teams).",
        "displayName": "Filewall - Blocked files",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Account",
            "fieldMappings": [
              {
                "columnName": "ActorUsername",
                "identifier": "FullName"
              }
            ]
          },
          {
            "entityType": "File",
            "fieldMappings": [
              {
                "columnName": "TargetFileName",
                "identifier": "Name"
              },
              {
                "columnName": "TargetFilePath",
                "identifier": "Directory"
              }
            ]
          }
        ],
        "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/BlockedFiles.yaml",
        "query": "FilewallM365FileEvent()\n| where EventVendor == 'ODI-X' and EventProduct == 'Filewall for Microsoft 365'\n| where EventType == 'FileBlocked'\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"
    }
  ]
}