CiscoISE - Device PostureStatus changed to non-compliant
| Id | 548a2eda-d3eb-46cc-8d4b-1601551629e4 |
| Rulename | CiscoISE - Device PostureStatus changed to non-compliant |
| Description | Detects when device changes PostureStatus from “Compliant”. |
| Severity | Medium |
| Tactics | PrivilegeEscalation Persistence |
| Techniques | T1098 |
| Required data connectors | SyslogAma |
| Kind | Scheduled |
| Query frequency | 15m |
| Query period | 15m |
| Trigger threshold | 0 |
| Trigger operator | gt |
| Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cisco ISE/Analytic Rules/CiscoISEDevicePostureStatusChanged.yaml |
| Version | 1.0.3 |
| Arm template | 548a2eda-d3eb-46cc-8d4b-1601551629e4.json |
let lbtime_48h = 48h;
let lbtime_24h = 24h;
let lbtime_now = now();
let compliantIPs = CiscoISEEvent
| where TimeGenerated between (ago(lbtime_48h) .. ago(lbtime_24h))
| where PostureStatus == 'Compliant'
| summarize makelist(DstIpAddr)
;
CiscoISEEvent
| where TimeGenerated between (ago(lbtime_24h) .. lbtime_now)
| where PostureStatus != 'Compliant'
| where DstIpAddr in (compliantIPs)
| project DstIpAddr
| extend IPCustomEntity = DstIpAddr
name: CiscoISE - Device PostureStatus changed to non-compliant
id: 548a2eda-d3eb-46cc-8d4b-1601551629e4
description: |
'Detects when device changes PostureStatus from "Compliant".'
triggerThreshold: 0
entityMappings:
- fieldMappings:
- columnName: IPCustomEntity
identifier: Address
entityType: IP
version: 1.0.3
triggerOperator: gt
query: |
let lbtime_48h = 48h;
let lbtime_24h = 24h;
let lbtime_now = now();
let compliantIPs = CiscoISEEvent
| where TimeGenerated between (ago(lbtime_48h) .. ago(lbtime_24h))
| where PostureStatus == 'Compliant'
| summarize makelist(DstIpAddr)
;
CiscoISEEvent
| where TimeGenerated between (ago(lbtime_24h) .. lbtime_now)
| where PostureStatus != 'Compliant'
| where DstIpAddr in (compliantIPs)
| project DstIpAddr
| extend IPCustomEntity = DstIpAddr
tactics:
- PrivilegeEscalation
- Persistence
kind: Scheduled
queryFrequency: 15m
severity: Medium
queryPeriod: 15m
requiredDataConnectors:
- datatypes:
- Syslog
connectorId: SyslogAma
status: Available
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cisco ISE/Analytic Rules/CiscoISEDevicePostureStatusChanged.yaml
relevantTechniques:
- T1098