Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

VIP Mailbox manipulation

Back
Id5170c3c4-b8c9-485c-910d-a21d965ee181
RulenameVIP Mailbox manipulation
DescriptionAlert if a cmdlet that can be translated to data exfiltration or mailbox access is executed on a VIP Mailbox.
SeverityLow
TacticsExfiltration
Persistence
Collection
TechniquesT1020
T1098
T1114
Required data connectorsESI-ExchangeAdminAuditLogEvents
KindScheduled
Query frequency30m
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Microsoft Exchange Security - Exchange On-Premises/Analytic Rules/CriticalCmdletsUsageDetection.yaml
Version1.0.1
Arm template5170c3c4-b8c9-485c-910d-a21d965ee181.json
Deploy To Azure
ExchangeAdminAuditLogs
| where ingestion_time() > ago(30m)
| where IsSensitive == true
| where UserOriented =~ 'Yes'
| where IsVIP == true
severity: Low
queryFrequency: 30m
relevantTechniques:
- T1020
- T1098
- T1114
tactics:
- Exfiltration
- Persistence
- Collection
kind: Scheduled
query: |
  ExchangeAdminAuditLogs
  | where ingestion_time() > ago(30m)
  | where IsSensitive == true
  | where UserOriented =~ 'Yes'
  | where IsVIP == true  
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Microsoft Exchange Security - Exchange On-Premises/Analytic Rules/CriticalCmdletsUsageDetection.yaml
queryPeriod: 1h
status: Available
version: 1.0.1
name: VIP Mailbox manipulation
requiredDataConnectors:
- dataTypes:
  - Event
  connectorId: ESI-ExchangeAdminAuditLogEvents
triggerOperator: gt
entityMappings:
- entityType: Mailbox
  fieldMappings:
  - identifier: MailboxPrimaryAddress
    columnName: TargetObject
- entityType: Host
  fieldMappings:
  - identifier: FullName
    columnName: Computer
- entityType: Account
  fieldMappings:
  - identifier: Sid
    columnName: TargetObject
  - identifier: ObjectGuid
    columnName: TargetObject
  - identifier: FullName
    columnName: TargetObject
- entityType: Account
  fieldMappings:
  - identifier: Name
    columnName: Caller
id: 5170c3c4-b8c9-485c-910d-a21d965ee181
description: |
    'Alert if a cmdlet that can be translated to data exfiltration or mailbox access is executed on a VIP Mailbox.'
triggerThreshold: 0
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/5170c3c4-b8c9-485c-910d-a21d965ee181')]",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/5170c3c4-b8c9-485c-910d-a21d965ee181')]",
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules",
      "kind": "Scheduled",
      "apiVersion": "2022-11-01-preview",
      "properties": {
        "displayName": "VIP Mailbox manipulation",
        "description": "'Alert if a cmdlet that can be translated to data exfiltration or mailbox access is executed on a VIP Mailbox.'\n",
        "severity": "Low",
        "enabled": true,
        "query": "ExchangeAdminAuditLogs\n| where ingestion_time() > ago(30m)\n| where IsSensitive == true\n| where UserOriented =~ 'Yes'\n| where IsVIP == true\n",
        "queryFrequency": "PT30M",
        "queryPeriod": "PT1H",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0,
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "Exfiltration",
          "Persistence",
          "Collection"
        ],
        "techniques": [
          "T1020",
          "T1098",
          "T1114"
        ],
        "alertRuleTemplateName": "5170c3c4-b8c9-485c-910d-a21d965ee181",
        "customDetails": null,
        "entityMappings": [
          {
            "fieldMappings": [
              {
                "columnName": "TargetObject",
                "identifier": "MailboxPrimaryAddress"
              }
            ],
            "entityType": "Mailbox"
          },
          {
            "fieldMappings": [
              {
                "columnName": "Computer",
                "identifier": "FullName"
              }
            ],
            "entityType": "Host"
          },
          {
            "fieldMappings": [
              {
                "columnName": "TargetObject",
                "identifier": "Sid"
              },
              {
                "columnName": "TargetObject",
                "identifier": "ObjectGuid"
              },
              {
                "columnName": "TargetObject",
                "identifier": "FullName"
              }
            ],
            "entityType": "Account"
          },
          {
            "fieldMappings": [
              {
                "columnName": "Caller",
                "identifier": "Name"
              }
            ],
            "entityType": "Account"
          }
        ],
        "templateVersion": "1.0.1",
        "status": "Available",
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Microsoft Exchange Security - Exchange On-Premises/Analytic Rules/CriticalCmdletsUsageDetection.yaml"
      }
    }
  ]
}