let lbtime_48h = 48h;
let lbtime_24h = 24h;
CiscoISEEvent
| where TimeGenerated between (ago(lbtime_48h) .. ago(lbtime_24h))
| where notempty(DvcIpAddr) and notempty(DvcHostname)
| summarize knownIPs = make_set(DvcIpAddr) by DvcHostname
| join (CiscoISEEvent
| where TimeGenerated > ago(lbtime_24h)
| where notempty(DvcIpAddr) and notempty(DvcHostname)
| summarize evts = count() by DvcHostname, DvcIpAddr
| project-away evts) on DvcHostname
| project-away DvcHostname1
| where knownIPs !contains DvcIpAddr
| extend HostCustomEntity = DvcHostname
| extend IPCustomEntity = DvcIpAddr
tactics:
- CommandAndControl
query: |
let lbtime_48h = 48h;
let lbtime_24h = 24h;
CiscoISEEvent
| where TimeGenerated between (ago(lbtime_48h) .. ago(lbtime_24h))
| where notempty(DvcIpAddr) and notempty(DvcHostname)
| summarize knownIPs = make_set(DvcIpAddr) by DvcHostname
| join (CiscoISEEvent
| where TimeGenerated > ago(lbtime_24h)
| where notempty(DvcIpAddr) and notempty(DvcHostname)
| summarize evts = count() by DvcHostname, DvcIpAddr
| project-away evts) on DvcHostname
| project-away DvcHostname1
| where knownIPs !contains DvcIpAddr
| extend HostCustomEntity = DvcHostname
| extend IPCustomEntity = DvcIpAddr
requiredDataConnectors:
- datatypes:
- Syslog
connectorId: SyslogAma
name: CiscoISE - Device changed IP in last 24 hours
kind: Scheduled
queryPeriod: 1h
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cisco ISE/Analytic Rules/CiscoISEDeviceChangedIP.yaml
triggerThreshold: 0
description: |
'Detects when device changes IP address in last 24 hours.'
version: 1.0.3
status: Available
queryFrequency: 1h
severity: Medium
entityMappings:
- entityType: Host
fieldMappings:
- identifier: FullName
columnName: HostCustomEntity
- entityType: IP
fieldMappings:
- identifier: Address
columnName: IPCustomEntity
triggerOperator: gt
id: 0c509e9b-121e-4951-9f9b-43722e052b4f
relevantTechniques:
- T1568