Detection rules › Kusto

Filewall - Blocked emails

Status
available
Severity
high
Time window
5m
Source
github.com/Azure/Azure-Sentinel

Identifies emails blocked by Filewall for Microsoft 365 (Exchange).

MITRE ATT&CK coverage

Rule body kusto

id: 9b784b65-2d16-4c9f-9f59-2a5d4c659f42
name: Filewall - Blocked emails
description: Identifies emails blocked by Filewall for Microsoft 365 (Exchange).
severity: High
status: Available
kind: Scheduled
query: | 
  FilewallM365ExchangeEvent()
  | where EventVendor == 'ODI-X' and EventProduct == 'Filewall for Microsoft 365'
  | where EventType == 'ThreatInfo' and EventResult == 'Blocked'
queryFrequency: 5m
queryPeriod: 5m
triggerOperator: gt
triggerThreshold: 0
relevantTechniques:
- T1048
tactics:
- Exfiltration
eventGroupingSettings:
  aggregationKind: AlertPerResult
incidentConfiguration:
  createIncident: true
  groupingConfiguration:
    matchingMethod: AllEntities
    reopenClosedIncident: false
    enabled: false
    lookbackDuration: PT1H
entityMappings:
- entityType: Account
  fieldMappings:
  - identifier: FullName
    columnName: ActorUsername
- entityType: MailMessage
  fieldMappings:
  - identifier: Recipient
    columnName: EmailRecipientTo
  - identifier: Subject
    columnName: EmailSubject
  - identifier: Sender
    columnName: EmailSenderFrom
requiredDataConnectors:
- dataTypes:
  - FilewallExchange_CL
  connectorId: FilewallM365
version: 1.0.0

Stages and Predicates

Stage 1: source

FilewallM365ExchangeEvent()

Stage 2: where

| where EventVendor == 'ODI-X' and EventProduct == 'Filewall for Microsoft 365'

Stage 3: where

| where EventType == 'ThreatInfo' and EventResult == 'Blocked'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
EventProducteq
  • Filewall for Microsoft 365 transforms: cased
EventResulteq
  • Blocked transforms: cased
EventTypeeq
  • ThreatInfo transforms: cased
EventVendoreq
  • ODI-X transforms: cased