Detection rules › Kusto

Bitglass - Suspicious file uploads

Status
available
Severity
high
Time window
15m
Group by
User
Source
github.com/Azure/Azure-Sentinel

'Detects suspicious file upload activity.'

MITRE ATT&CK coverage

TacticTechniques
ExfiltrationT1567 Exfiltration Over Web Service

Rule body kusto

id: 4b272e82-19f1-40d1-bfdf-74fbb6353e8b
name: Bitglass - Suspicious file uploads
description: |
  'Detects suspicious file upload activity.'
severity: High
status: Available
requiredDataConnectors:
  - connectorId: Bitglass
    dataTypes:
      - Bitglass
queryFrequency: 1h
queryPeriod: 1h
triggerOperator: gt
triggerThreshold: 0
tactics:
  - Exfiltration
relevantTechniques:
  - T1567
query: |
  Bitglass
  | where EventType =~ 'swgwebdlp'
  | where HttpRequestMethod =~ 'POST'
  | where isnotempty(DlpPattern)
  | summarize count() by User, bin(TimeGenerated, 15m)
  | where count_ > 1
  | extend AccountCustomEntity = User
entityMappings:
  - entityType: Account
    fieldMappings:
      - identifier: Name
        columnName: AccountCustomEntity
version: 1.0.1
kind: Scheduled

Stages and Predicates

Stage 1: source

Bitglass

Stage 2: where

| where EventType =~ 'swgwebdlp'

Stage 3: where

| where HttpRequestMethod =~ 'POST'

Stage 4: where

| where isnotempty(DlpPattern)

Stage 5: summarize

| summarize count() by User, bin(TimeGenerated, 15m)

Stage 6: where

| where count_ > 1

Stage 7: extend

| extend AccountCustomEntity = User

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
DlpPatternis_not_null
  • (no value, null check)
EventTypeeq
  • swgwebdlp
HttpRequestMethodeq
  • POST
count_gt
  • 1 transforms: cased

Output fields

Fields the rule emits when it matches. Chronicle authors list these in the outcome block; they appear on the detection and $risk_score drives alerting. Sentinel / Defender XDR rules build them up through project / summarize / extend stages. Sentinel maps these into alert fields via entityMappings and customDetails; Defender XDR custom detections surface them as alert fields directly.

FieldSource
Usersummarize
AccountCustomEntityextend