CommonSecurityLog | where DeviceVendor == "Arista Networks" and DeviceProduct == "Awake Security"
| summarize StartTime=min(TimeGenerated), EndTime=max(TimeGenerated), Models=make_set(Activity), ASPMatchURLs=make_set(DeviceCustomString2), SourceIPs=make_set(SourceIP),
DestinationIPs=make_set(DestinationIP), ModelMatchCount=sum(EventCount), MaxSeverity=max(toint(LogSeverity)) by SourceHostName
| where array_length(DestinationIPs) > 1
customDetails:
Matches_Max_Severity: MaxSeverity
Matched_Models: Models
Matches_Dest_IPs: DestinationIPs
Device: SourceHostName
Matches_Count: ModelMatchCount
Matches_ASP_URLs: ASPMatchURLs
status: Available
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/AristaAwakeSecurity/Analytic Rules/ModelMatchesWithMultipleDestinationsByDevice.yaml
alertDetailsOverride:
alertDisplayNameFormat: Awake Security - Model Matches With Multiple Destinations On Device {{SourceHostName}}
alertDescriptionFormat: |
Device {{SourceHostName}} communicated with multiple possibly malicious destinations. The destination IPs were:
{{DestinationIPs}}
The associated with Awake model(s) were:
{{Models}}
alertTacticsColumnName:
alertSeverityColumnName:
query: |
CommonSecurityLog | where DeviceVendor == "Arista Networks" and DeviceProduct == "Awake Security"
| summarize StartTime=min(TimeGenerated), EndTime=max(TimeGenerated), Models=make_set(Activity), ASPMatchURLs=make_set(DeviceCustomString2), SourceIPs=make_set(SourceIP),
DestinationIPs=make_set(DestinationIP), ModelMatchCount=sum(EventCount), MaxSeverity=max(toint(LogSeverity)) by SourceHostName
| where array_length(DestinationIPs) > 1
requiredDataConnectors:
- dataTypes:
- CommonSecurityLog
connectorId: CefAma
incidentConfiguration:
groupingConfiguration:
groupByCustomDetails:
- Device
enabled: true
matchingMethod: Selected
groupByEntities:
- Host
lookbackDuration: 3d
groupByAlertDetails: []
reopenClosedIncident: true
createIncident: true
tactics: []
name: Awake Security - Model With Multiple Destinations
relevantTechniques: []
severity: Medium
entityMappings:
- fieldMappings:
- identifier: HostName
columnName: SourceHostName
entityType: Host
- fieldMappings:
- identifier: Address
columnName: SourceIPs
entityType: IP
kind: Scheduled
queryFrequency: 1h
description: This query searches for devices with multiple possibly malicious destinations.
eventGroupingSettings:
aggregationKind: AlertPerResult
triggerThreshold: 0
triggerOperator: gt
version: 1.0.2
queryPeriod: 1h
id: dfa3ec92-bdae-410f-b675-fe1814e4d43e