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
queryPeriod: 1h
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
name: Awake Security - Model With Multiple Destinations
entityMappings:
- fieldMappings:
- columnName: SourceHostName
identifier: HostName
entityType: Host
- fieldMappings:
- columnName: SourceIPs
identifier: Address
entityType: IP
eventGroupingSettings:
aggregationKind: AlertPerResult
queryFrequency: 1h
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:
requiredDataConnectors:
- connectorId: CefAma
dataTypes:
- CommonSecurityLog
description: This query searches for devices with multiple possibly malicious destinations.
kind: Scheduled
incidentConfiguration:
groupingConfiguration:
matchingMethod: Selected
reopenClosedIncident: true
groupByEntities:
- Host
groupByAlertDetails: []
lookbackDuration: 3d
groupByCustomDetails:
- Device
enabled: true
createIncident: true
version: 1.0.2
status: Available
severity: Medium
relevantTechniques: []
triggerOperator: gt
triggerThreshold: 0
customDetails:
Device: SourceHostName
Matches_Dest_IPs: DestinationIPs
Matches_ASP_URLs: ASPMatchURLs
Matched_Models: Models
Matches_Count: ModelMatchCount
Matches_Max_Severity: MaxSeverity
tactics: []
id: dfa3ec92-bdae-410f-b675-fe1814e4d43e