Detection rules › Kusto

Cisco SEG - DLP policy violation

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

'Detects DLP policy violation.'

MITRE ATT&CK coverage

TacticTechniques
Exfiltration

Rule body

id: df5c34dd-e1e6-4e07-90b1-4309ebfe754c
name: Cisco SEG - DLP policy violation
description: |
  'Detects DLP policy violation.'
severity: Medium
status: Available
requiredDataConnectors:
  - connectorId: CefAma
    dataTypes:
      - CommonSecurityLog
queryFrequency: 1h
queryPeriod: 1h
triggerOperator: gt
triggerThreshold: 0
tactics:
  - Exfiltration
relevantTechniques:
  - T1030
query: |
  CiscoSEGEvent
  | where NetworkDirection =~ 'Outgoing'
  | where tostring(AdditionalFields) has 'ESADLPVerdict'
  | extend dlp_verdict = extract(@'ESADLPVerdict":"(NOT_EVALUATED|NO TRIGGER|VIOLATION|NO VIOLATION)"', 1, tostring(AdditionalFields))
  | where dlp_verdict =~ 'VIOLATION'
  | extend AccountCustomEntity = SrcUserName
entityMappings:
  - entityType: Account
    fieldMappings:
      - identifier: Name
        columnName: AccountCustomEntity
version: 1.0.3
kind: Scheduled

Stages and Predicates

Stage 1: source

CiscoSEGEvent

Stage 2: where

| where NetworkDirection =~ 'Outgoing'

Stage 3: where

| where tostring(AdditionalFields) has 'ESADLPVerdict'

Stage 4: extend

| extend dlp_verdict = extract(@'ESADLPVerdict":"(NOT_EVALUATED|NO TRIGGER|VIOLATION|NO VIOLATION)"', 1, tostring(AdditionalFields))

Stage 5: where

| where dlp_verdict =~ 'VIOLATION'

Stage 6: extend

| extend AccountCustomEntity = SrcUserName

Indicators

These rows show field, operator, and value matches.

Output fields

These fields are emitted when the rule matches.

FieldSource
dlp_verdictextend
AccountCustomEntityextend