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 an high important Cmdlet is executed on a VIP Mailbox as those Cmdlets can be used for data exfiltration or mailbox access.
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/Analytic Rules/CriticalCmdletsUsageDetection.yaml
Version1.0.0
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
triggerThreshold: 0
query: |
  ExchangeAdminAuditLogs
  | where ingestion_time() > ago(30m)
  | where IsSensitive == true
  | where UserOriented =~ 'Yes'
  | where IsVIP == true  
queryFrequency: 30m
requiredDataConnectors:
- connectorId: ESI-ExchangeAdminAuditLogEvents
  dataTypes:
  - Event
id: 5170c3c4-b8c9-485c-910d-a21d965ee181
version: 1.0.0
name: VIP Mailbox manipulation
kind: Scheduled
status: Available
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Microsoft Exchange Security/Analytic Rules/CriticalCmdletsUsageDetection.yaml
queryPeriod: 1h
relevantTechniques:
- T1020
- T1098
- T1114
triggerOperator: gt
tactics:
- Exfiltration
- Persistence
- Collection
description: |
    'Alert if an high important Cmdlet is executed on a VIP Mailbox as those Cmdlets can be used for data exfiltration or mailbox access.'
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
{
  "$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",
      "properties": {
        "displayName": "VIP Mailbox manipulation",
        "description": "'Alert if an high important Cmdlet is executed on a VIP Mailbox as those Cmdlets can be used for data exfiltration or mailbox access.'\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"
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Microsoft Exchange Security/Analytic Rules/CriticalCmdletsUsageDetection.yaml",
        "templateVersion": "1.0.0",
        "status": "Available"
      }
    }
  ]
}