Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

CiscoISE - Device PostureStatus changed to non-compliant

Back
Id548a2eda-d3eb-46cc-8d4b-1601551629e4
RulenameCiscoISE - Device PostureStatus changed to non-compliant
DescriptionDetects when device changes PostureStatus from “Compliant”.
SeverityMedium
TacticsPrivilegeEscalation
Persistence
TechniquesT1098
Required data connectorsSyslogAma
KindScheduled
Query frequency15m
Query period15m
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cisco ISE/Analytic Rules/CiscoISEDevicePostureStatusChanged.yaml
Version1.0.3
Arm template548a2eda-d3eb-46cc-8d4b-1601551629e4.json
Deploy To Azure
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