UbiquitiAuditEvent
| where EventCategory =~ 'firewall'
| where DstPortNumber in ('80', '443')
| where NetworkProtocol !~ 'TCP'
| extend IPCustomEntity = SrcIpAddr
kind: Scheduled
queryFrequency: 1h
queryPeriod: 1h
status: Available
tactics:
- CommandAndControl
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Ubiquiti UniFi/Analytic Rules/UbiquitiUnusualTraffic.yaml
version: 1.0.3
triggerThreshold: 0
description: |
'Detects unusual traffic masking as HTTP(S).'
severity: Medium
relevantTechniques:
- T1573
id: 31e868c0-91d3-40eb-accc-3fa73aa96f8e
name: Ubiquiti - Unusual traffic
requiredDataConnectors:
- dataTypes:
- Ubiquiti_CL
connectorId: CustomLogsAma
query: |
UbiquitiAuditEvent
| where EventCategory =~ 'firewall'
| where DstPortNumber in ('80', '443')
| where NetworkProtocol !~ 'TCP'
| extend IPCustomEntity = SrcIpAddr
entityMappings:
- fieldMappings:
- identifier: Address
columnName: IPCustomEntity
entityType: IP
triggerOperator: gt