Egress Defend - Dangerous Link Click
Id | a896123e-03a5-4a4d-a7e3-fd814846dfb2 |
Rulename | Egress Defend - Dangerous Link Click |
Description | Defend has detected a user has clicked a dangerous link in their mailbox. |
Severity | Medium |
Tactics | Execution |
Techniques | T1204 T0853 |
Required data connectors | EgressDefend |
Kind | Scheduled |
Query frequency | 30m |
Query period | 30m |
Trigger threshold | 0 |
Trigger operator | gt |
Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Egress Defend/Analytic Rules/DangerousLinksClicked.yaml |
Version | 1.0.0 |
Arm template | a896123e-03a5-4a4d-a7e3-fd814846dfb2.json |
DefendAuditData
| where LinksClicked > 0
| where ThreatLevel == "dangerous" or ThreatLevel == "suspicious"
| extend Account_0_FullName = trim(@"[^@.\w]+",Recipients)
kind: Scheduled
relevantTechniques:
- T1204
- T0853
description: |
'Defend has detected a user has clicked a dangerous link in their mailbox.'
queryPeriod: 30m
queryFrequency: 30m
alertDetailsOverride:
alertDisplayNameFormat: Alert - {{Account_0_FullName}} as clicked a suspicious link.
tactics:
- Execution
name: Egress Defend - Dangerous Link Click
requiredDataConnectors:
- connectorId: EgressDefend
dataTypes:
- EgressDefend_CL
customDetails:
timesClicked: LinksClicked
DefendSender: From
DefendSenderIP: SenderIP
entityMappings:
- entityType: Account
fieldMappings:
- identifier: FullName
columnName: Account_0_FullName
- entityType: IP
fieldMappings:
- identifier: Address
columnName: SenderIP
- entityType: URL
fieldMappings:
- identifier: Url
columnName: Url
- entityType: Mailbox
fieldMappings:
- identifier: MailboxPrimaryAddress
columnName: Account_0_FullName
triggerThreshold: 0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Egress Defend/Analytic Rules/DangerousLinksClicked.yaml
version: 1.0.0
id: a896123e-03a5-4a4d-a7e3-fd814846dfb2
query: |
DefendAuditData
| where LinksClicked > 0
| where ThreatLevel == "dangerous" or ThreatLevel == "suspicious"
| extend Account_0_FullName = trim(@"[^@.\w]+",Recipients)
status: Available
triggerOperator: gt
tags:
- Defend
severity: Medium
{
"$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/a896123e-03a5-4a4d-a7e3-fd814846dfb2')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/a896123e-03a5-4a4d-a7e3-fd814846dfb2')]",
"properties": {
"alertDetailsOverride": {
"alertDisplayNameFormat": "Alert - {{Account_0_FullName}} as clicked a suspicious link."
},
"alertRuleTemplateName": "a896123e-03a5-4a4d-a7e3-fd814846dfb2",
"customDetails": {
"DefendSender": "From",
"DefendSenderIP": "SenderIP",
"timesClicked": "LinksClicked"
},
"description": "'Defend has detected a user has clicked a dangerous link in their mailbox.'\n",
"displayName": "Egress Defend - Dangerous Link Click",
"enabled": true,
"entityMappings": [
{
"entityType": "Account",
"fieldMappings": [
{
"columnName": "Account_0_FullName",
"identifier": "FullName"
}
]
},
{
"entityType": "IP",
"fieldMappings": [
{
"columnName": "SenderIP",
"identifier": "Address"
}
]
},
{
"entityType": "URL",
"fieldMappings": [
{
"columnName": "Url",
"identifier": "Url"
}
]
},
{
"entityType": "Mailbox",
"fieldMappings": [
{
"columnName": "Account_0_FullName",
"identifier": "MailboxPrimaryAddress"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Egress Defend/Analytic Rules/DangerousLinksClicked.yaml",
"query": "DefendAuditData\n| where LinksClicked > 0\n| where ThreatLevel == \"dangerous\" or ThreatLevel == \"suspicious\"\n| extend Account_0_FullName = trim(@\"[^@.\\w]+\",Recipients)\n",
"queryFrequency": "PT30M",
"queryPeriod": "PT30M",
"severity": "Medium",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"Execution"
],
"tags": [
"Defend"
],
"techniques": [
"T1204"
],
"templateVersion": "1.0.0",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}