Back
Id51c6ba55-fecd-4be0-9064-1aafc4d3e8d6
RulenameAbnormal Security - User-reported email judged malicious
DescriptionCreates an incident when an email a user reported to the Abnormal Security Abuse

Mailbox is judged malicious. Surfaces the reporter, the original recipient, and the

campaign so analysts can scope and remediate look-alike messages. Spam- and safe-judged

reports are intentionally excluded.
SeverityMedium
TacticsInitialAccess
TechniquesT1566
Required data connectorsAbnormalSecurityPush
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/AbnormalSecurity/Analytic%20Rules/AbnormalSecurity_AbuseMailboxMalicious.yaml
Version1.0.0
Arm template51c6ba55-fecd-4be0-9064-1aafc4d3e8d6.json
Deploy To Azure
ABNORMAL_SECURITY_ABUSE_MAILBOX_CL
| where abx_body_abx_body_reported_b == true
| where tolower(abx_body_abx_body_judgement_s) == "malicious"
| extend
    ReporterEmail = abx_body_abx_body_reporter_address_s,
    RecipientEmail = abx_body_abx_body_recipient_address_s,
    Subject = abx_body_abx_body_subject_s,
    Judgement = abx_body_abx_body_judgement_s,
    MessageId = abx_body_abx_body_internet_message_id_s,
    CampaignId = abx_body_abx_body_campaign_id_g
| project TimeGenerated, ReporterEmail, RecipientEmail, Subject, Judgement, MessageId, CampaignId
entityMappings:
- entityType: Account
  fieldMappings:
  - identifier: FullName
    columnName: ReporterEmail
- entityType: MailMessage
  fieldMappings:
  - identifier: Recipient
    columnName: RecipientEmail
  - identifier: Subject
    columnName: Subject
  - identifier: NetworkMessageId
    columnName: MessageId
name: Abnormal Security - User-reported email judged malicious
kind: Scheduled
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/AbnormalSecurity/Analytic%20Rules/AbnormalSecurity_AbuseMailboxMalicious.yaml
triggerOperator: gt
status: Available
suppressionDuration: PT5H
queryPeriod: 1h
requiredDataConnectors:
- connectorId: AbnormalSecurityPush
  dataTypes:
  - ABNORMAL_SECURITY_ABUSE_MAILBOX_CL
tactics:
- InitialAccess
query: |
  ABNORMAL_SECURITY_ABUSE_MAILBOX_CL
  | where abx_body_abx_body_reported_b == true
  | where tolower(abx_body_abx_body_judgement_s) == "malicious"
  | extend
      ReporterEmail = abx_body_abx_body_reporter_address_s,
      RecipientEmail = abx_body_abx_body_recipient_address_s,
      Subject = abx_body_abx_body_subject_s,
      Judgement = abx_body_abx_body_judgement_s,
      MessageId = abx_body_abx_body_internet_message_id_s,
      CampaignId = abx_body_abx_body_campaign_id_g
  | project TimeGenerated, ReporterEmail, RecipientEmail, Subject, Judgement, MessageId, CampaignId
description: |
  'Creates an incident when an email a user reported to the Abnormal Security Abuse
  Mailbox is judged malicious. Surfaces the reporter, the original recipient, and the
  campaign so analysts can scope and remediate look-alike messages. Spam- and safe-judged
  reports are intentionally excluded.'
severity: Medium
incidentConfiguration:
  groupingConfiguration:
    lookbackDuration: PT5H
    enabled: true
    reopenClosedIncident: false
    matchingMethod: AllEntities
  createIncident: true
id: 51c6ba55-fecd-4be0-9064-1aafc4d3e8d6
customDetails:
  CampaignId: CampaignId
  Judgement: Judgement
suppressionEnabled: false
triggerThreshold: 0
queryFrequency: 1h
eventGroupingSettings:
  aggregationKind: AlertPerResult
alertDetailsOverride:
  alertDescriptionFormat: 'An email reported by {{ReporterEmail}} was judged {{Judgement}} by Abnormal Security. Original recipient: {{RecipientEmail}}.'
  alertDisplayNameFormat: 'Abnormal Security: user-reported {{Judgement}} email ({{Subject}})'
version: 1.0.0
relevantTechniques:
- T1566
{
  "$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/51c6ba55-fecd-4be0-9064-1aafc4d3e8d6')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/51c6ba55-fecd-4be0-9064-1aafc4d3e8d6')]",
      "properties": {
        "alertDetailsOverride": {
          "alertDescriptionFormat": "An email reported by {{ReporterEmail}} was judged {{Judgement}} by Abnormal Security. Original recipient: {{RecipientEmail}}.",
          "alertDisplayNameFormat": "Abnormal Security: user-reported {{Judgement}} email ({{Subject}})"
        },
        "alertRuleTemplateName": "51c6ba55-fecd-4be0-9064-1aafc4d3e8d6",
        "customDetails": {
          "CampaignId": "CampaignId",
          "Judgement": "Judgement"
        },
        "description": "'Creates an incident when an email a user reported to the Abnormal Security Abuse\nMailbox is judged malicious. Surfaces the reporter, the original recipient, and the\ncampaign so analysts can scope and remediate look-alike messages. Spam- and safe-judged\nreports are intentionally excluded.'\n",
        "displayName": "Abnormal Security - User-reported email judged malicious",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Account",
            "fieldMappings": [
              {
                "columnName": "ReporterEmail",
                "identifier": "FullName"
              }
            ]
          },
          {
            "entityType": "MailMessage",
            "fieldMappings": [
              {
                "columnName": "RecipientEmail",
                "identifier": "Recipient"
              },
              {
                "columnName": "Subject",
                "identifier": "Subject"
              },
              {
                "columnName": "MessageId",
                "identifier": "NetworkMessageId"
              }
            ]
          }
        ],
        "eventGroupingSettings": {
          "aggregationKind": "AlertPerResult"
        },
        "incidentConfiguration": {
          "createIncident": true,
          "groupingConfiguration": {
            "enabled": true,
            "lookbackDuration": "PT5H",
            "matchingMethod": "AllEntities",
            "reopenClosedIncident": false
          }
        },
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/AbnormalSecurity/Analytic%20Rules/AbnormalSecurity_AbuseMailboxMalicious.yaml",
        "query": "ABNORMAL_SECURITY_ABUSE_MAILBOX_CL\n| where abx_body_abx_body_reported_b == true\n| where tolower(abx_body_abx_body_judgement_s) == \"malicious\"\n| extend\n    ReporterEmail = abx_body_abx_body_reporter_address_s,\n    RecipientEmail = abx_body_abx_body_recipient_address_s,\n    Subject = abx_body_abx_body_subject_s,\n    Judgement = abx_body_abx_body_judgement_s,\n    MessageId = abx_body_abx_body_internet_message_id_s,\n    CampaignId = abx_body_abx_body_campaign_id_g\n| project TimeGenerated, ReporterEmail, RecipientEmail, Subject, Judgement, MessageId, CampaignId\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "severity": "Medium",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT5H",
        "suppressionEnabled": false,
        "tactics": [
          "InitialAccess"
        ],
        "techniques": [
          "T1566"
        ],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}