Connection from external IP to OMI related Ports
This query detects attempts to exploit OMI vulnerability (CVE-2021-38647) by identifying external IP connections to management ports (5985,5986,1270). It uses the imNetworkSession schema and other logs for this purpose.
Detection logic
Detection requirements
- Platform
- ContainersESXiIaaSLinuxmacOSNetwork DevicesPREWindows
The rule states no platform. This is derived from the 2 ATT&CK techniques it maps to.
- Log source product
- azurefirewallazuremonitor_vminsightsazurenetworkwatcher
- Log source service
- azurediagnosticsazurenetworkanalytics_clvmconnection
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
No references are available for this detection.
From the source
- At source
- Open at source
- Upstream identifier
- 767b8f6d-8029-4c92-afe1-282167d9d49a
- Tagged by the source as
- InitialAccessReconnaissance
Licence
- Published under
- MIT LicenseRead the licence
- Attribution
- Required
- Obtained under
- MITRead the origin licence
Authorship
- Published
- Sep 1, 2026
- Version
- 1