MimecastCG
| where Type == "email_receipt" and isnotempty(['Virus Found'])
| extend SenderEnvelope = ['Sender Envelope']
relevantTechniques:
- T1053
incidentConfiguration:
createIncident: true
groupingConfiguration:
lookbackDuration: P7D
enabled: true
reopenClosedIncident: false
matchingMethod: AllEntities
name: Mimecast Secure Email Gateway - Virus
requiredDataConnectors:
- dataTypes:
- MimecastCG
connectorId: MimecastSEGAPI
entityMappings:
- fieldMappings:
- identifier: Sender
columnName: SenderEnvelope
- identifier: Recipient
columnName: Recipients
- identifier: Subject
columnName: Subject
entityType: MailMessage
triggerThreshold: 0
id: d78d7352-fa5a-47d4-b48f-cb2c3252c0eb
tactics:
- Execution
version: 1.0.0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Mimecast/Analytic Rules/MimecastSEG/MimecastCG_Virus.yaml
queryPeriod: 15m
kind: Scheduled
eventGroupingSettings:
aggregationKind: AlertPerResult
enabled: true
suppressionDuration: 5h
queryFrequency: 15m
severity: Informational
status: Available
suppressionEnabled: false
description: |
'Detect threat for virus from mail receipt virus event.'
query: |
MimecastCG
| where Type == "email_receipt" and isnotempty(['Virus Found'])
| extend SenderEnvelope = ['Sender Envelope']
triggerOperator: gt
{
"$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/d78d7352-fa5a-47d4-b48f-cb2c3252c0eb')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/d78d7352-fa5a-47d4-b48f-cb2c3252c0eb')]",
"properties": {
"alertRuleTemplateName": "d78d7352-fa5a-47d4-b48f-cb2c3252c0eb",
"customDetails": null,
"description": "'Detect threat for virus from mail receipt virus event.'\n",
"displayName": "Mimecast Secure Email Gateway - Virus",
"enabled": true,
"entityMappings": [
{
"entityType": "MailMessage",
"fieldMappings": [
{
"columnName": "SenderEnvelope",
"identifier": "Sender"
},
{
"columnName": "Recipients",
"identifier": "Recipient"
},
{
"columnName": "Subject",
"identifier": "Subject"
}
]
}
],
"eventGroupingSettings": {
"aggregationKind": "AlertPerResult"
},
"incidentConfiguration": {
"createIncident": true,
"groupingConfiguration": {
"enabled": true,
"lookbackDuration": "P7D",
"matchingMethod": "AllEntities",
"reopenClosedIncident": false
}
},
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Mimecast/Analytic Rules/MimecastSEG/MimecastCG_Virus.yaml",
"query": "MimecastCG\n| where Type == \"email_receipt\" and isnotempty(['Virus Found'])\n| extend SenderEnvelope = ['Sender Envelope']\n",
"queryFrequency": "PT15M",
"queryPeriod": "PT15M",
"severity": "Informational",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT5H",
"suppressionEnabled": false,
"tactics": [
"Execution"
],
"techniques": [
"T1053"
],
"templateVersion": "1.0.0",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}