Detection rules › Kusto

Illumio VEN Deactivated Detection Rule

Status
available
Severity
high
Time window
1h
Source
github.com/Azure/Azure-Sentinel

'Create Microsoft Sentinel Incident When Ven Goes Into Deactivated state'

MITRE ATT&CK coverage

TacticTechniques
Defense Impairment

Rule body

id: c18bd8c2-50f0-4aa2-8122-d449243627d7
name: Illumio VEN Deactivated Detection Rule
description: |
  'Create Microsoft Sentinel Incident When Ven Goes Into Deactivated state'
severity: High
status: Available
requiredDataConnectors: 
  - connectorId: IllumioSaaSDataConnector
    dataTypes:
      - Illumio_Auditable_Events_CL
  - connectorId: SyslogAma
    datatypes:
      - Syslog      
queryFrequency: 60m
queryPeriod: 60m
triggerOperator: gt
triggerThreshold: 0
tactics:
- DefenseEvasion
relevantTechniques:
- T1562
query: |
  Illumio_Auditable_Events_CL
  | union IllumioSyslogAuditEvents  
  | where event_type has 'agent.deactivate'
  | mv-expand resource_changes
  | extend hostname = resource_changes['resource']['workload']['hostname'],
      workload_href = resource_changes['resource']['workload']['href'],
      workload_labels = resource_changes['resource']['workload']['labels']
  | extend ipaddress = action.src_ip,       
        ven_href = created_by.ven.href
  | project-away resource_changes, action, version 
eventGroupingSettings:
  aggregationKind: SingleAlert
entityMappings:
  - entityType: Host
    fieldMappings:
      - identifier: HostName
        columnName: hostname
  - entityType: IP
    fieldMappings:
      - identifier: Address
        columnName: ipaddress            
alertDetailsOverride:
  alertDisplayNameFormat: | 
    Illumio VEN Deactivated Incident
  alertDescriptionFormat: | 
    Illumio VEN Deactivated Incident generated at {{TimeGenerated}}
version: 1.0.6
kind: Scheduled

Stages and Predicates

Stage 1: source

Illumio_Auditable_Events_CL

Stage 2: union

| union IllumioSyslogAuditEvents

Stage 3: source

IllumioSyslogAuditEvents

Stage 4: where

| where event_type has 'agent.deactivate'

Stage 5: mv-expand

| mv-expand resource_changes

Stage 6: extend

| extend hostname = resource_changes['resource']['workload']['hostname'],
    workload_href = resource_changes['resource']['workload']['href'],
    workload_labels = resource_changes['resource']['workload']['labels']

Stage 7: extend

| extend ipaddress = action.src_ip,       
      ven_href = created_by.ven.href

Stage 8: project-away

| project-away resource_changes, action, version

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
event_typematch
  • agent.deactivate transforms: term
field:"event_type" kind:match value:"agent.deactivate"

Output fields

These fields are emitted when the rule matches.

FieldSource
hostnameextend
workload_hrefextend
workload_labelsextend
ipaddressextend
ven_hrefextend