↳ GitHub sourceAnalytics ruleMedium

Ubiquiti - Connection to known malicious IP or C2

Description

'Detects allowed connections to IP addresses which are in TI list and are known to be malicious.'
Rule type
Scheduled
Version
1.0.2
Declared status
Available
Query frequency
1h
Query period
14d
Trigger
gt 0

Declared MITRE coverage

Declared sources

Metadata from the source file. No dependencies inferred from KQL.

Connectors

Data types

KQL query

Original query, unchanged.

let malicious_ips =
ThreatIntelligenceIndicator
| where isnotempty(NetworkIP)
| summarize make_list(NetworkIP);
UbiquitiAuditEvent
| where EventCategory =~ 'firewall'
| where ipv4_is_private(SrcIpAddr)
| where ipv4_is_private(DstIpAddr) == 'False'
| where DstIpAddr in (malicious_ips)
| where DvcAction =~ 'Accepted' or DvcAction =~ 'Other'
| extend IPCustomEntity = SrcIpAddr

Declared entities

IP

Related content

Links established from declared identifiers and solution manifests.

Source provenance

GitHub

Displayed values come from files in Azure/Azure-Sentinel. They describe the published template, not your workspace configuration.

Source identifier
db60ca0b-b668-439b-b889-b63b57ef20fb
Additional source files 2Solutions/Ubiquiti UniFi/Analytic Rules/UbiquitiDestinationInTiList.yamlsource ↗Solutions/Ubiquiti UniFi/Data/Solution_Ubiquiti UniFi.jsonsolution-membership ↗
GSTEP / CATALOG TRACKING

Added to catalog : 16 Sept 2026 · 05:49 UTC
Last change observed : 16 Sept 2026 · 05:49 UTC

GSTEP sync dates, separate from the source content’s publication dates.