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