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

Cisco SEG - Multiple suspiciuos attachments received

Back
Iddfdb9a73-4335-4bb4-b29b-eb713bce61a6
RulenameCisco SEG - Multiple suspiciuos attachments received
DescriptionDetects possibly phishing emails.
SeverityHigh
TacticsInitialAccess
TechniquesT1566
Required data connectorsCefAma
CiscoSEG
CiscoSEGAma
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoSEG/Analytic Rules/CiscoSEGMultipleSuspiciousEmails.yaml
Version1.0.2
Arm templatedfdb9a73-4335-4bb4-b29b-eb713bce61a6.json
Deploy To Azure
let r_threshold = 5;
CiscoSEGEvent
| where NetworkDirection =~ 'Incoming'
| where isnotempty(EventMessage)
| where strlen(EventMessage) < 20
| summarize rec=makeset(DstUserName) by EventMessage, bin(TimeGenerated, 10m)
| where array_length(rec) > r_threshold
| extend AccountCustomEntity = rec
status: Available
queryFrequency: 1h
description: |
    'Detects possibly phishing emails.'
severity: High
version: 1.0.2
relevantTechniques:
- T1566
name: Cisco SEG - Multiple suspiciuos attachments received
triggerThreshold: 0
kind: Scheduled
query: |
  let r_threshold = 5;
  CiscoSEGEvent
  | where NetworkDirection =~ 'Incoming'
  | where isnotempty(EventMessage)
  | where strlen(EventMessage) < 20
  | summarize rec=makeset(DstUserName) by EventMessage, bin(TimeGenerated, 10m)
  | where array_length(rec) > r_threshold
  | extend AccountCustomEntity = rec  
triggerOperator: gt
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoSEG/Analytic Rules/CiscoSEGMultipleSuspiciousEmails.yaml
requiredDataConnectors:
- connectorId: CiscoSEG
  dataTypes:
  - CiscoSEGEvent
- connectorId: CiscoSEGAma
  dataTypes:
  - CiscoSEGEvent
- connectorId: CefAma
  dataTypes:
  - CommonSecurityLog
tactics:
- InitialAccess
id: dfdb9a73-4335-4bb4-b29b-eb713bce61a6
queryPeriod: 1h
entityMappings:
- fieldMappings:
  - columnName: AccountCustomEntity
    identifier: Name
  entityType: Account
{
  "$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/dfdb9a73-4335-4bb4-b29b-eb713bce61a6')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/dfdb9a73-4335-4bb4-b29b-eb713bce61a6')]",
      "properties": {
        "alertRuleTemplateName": "dfdb9a73-4335-4bb4-b29b-eb713bce61a6",
        "customDetails": null,
        "description": "'Detects possibly phishing emails.'\n",
        "displayName": "Cisco SEG - Multiple suspiciuos attachments received",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Account",
            "fieldMappings": [
              {
                "columnName": "AccountCustomEntity",
                "identifier": "Name"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CiscoSEG/Analytic Rules/CiscoSEGMultipleSuspiciousEmails.yaml",
        "query": "let r_threshold = 5;\nCiscoSEGEvent\n| where NetworkDirection =~ 'Incoming'\n| where isnotempty(EventMessage)\n| where strlen(EventMessage) < 20\n| summarize rec=makeset(DstUserName) by EventMessage, bin(TimeGenerated, 10m)\n| where array_length(rec) > r_threshold\n| extend AccountCustomEntity = rec\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "severity": "High",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "InitialAccess"
        ],
        "techniques": [
          "T1566"
        ],
        "templateVersion": "1.0.2",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}