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)
relevantTechniques:
- T1204
- T0853
name: Egress Defend - Dangerous Link Click
requiredDataConnectors:
- dataTypes:
- EgressDefend_CL
connectorId: EgressDefend
entityMappings:
- fieldMappings:
- identifier: FullName
columnName: Account_0_FullName
entityType: Account
- fieldMappings:
- identifier: Address
columnName: SenderIP
entityType: IP
- fieldMappings:
- identifier: Url
columnName: Url
entityType: URL
- fieldMappings:
- identifier: MailboxPrimaryAddress
columnName: Account_0_FullName
entityType: Mailbox
triggerThreshold: 0
id: a896123e-03a5-4a4d-a7e3-fd814846dfb2
tactics:
- Execution
version: 1.0.0
customDetails:
timesClicked: LinksClicked
DefendSenderIP: SenderIP
DefendSender: From
alertDetailsOverride:
alertDisplayNameFormat: Alert - {{Account_0_FullName}} as clicked a suspicious link.
queryPeriod: 30m
kind: Scheduled
tags:
- Defend
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Egress Defend/Analytic Rules/DangerousLinksClicked.yaml
queryFrequency: 30m
severity: Medium
status: Available
description: |
'Defend has detected a user has clicked a dangerous link in their mailbox.'
query: |
DefendAuditData
| where LinksClicked > 0
| where ThreatLevel == "dangerous" or ThreatLevel == "suspicious"
| extend Account_0_FullName = trim(@"[^@.\w]+",Recipients)
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/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"
}
]
}