Detection rules › Kusto

Corelight - Multiple files sent over HTTP with abnormal requests

Status
available
Severity
medium
Time window
15m
Group by
id_orig_h, uri
Source
github.com/Azure/Azure-Sentinel

'Detects sources sending multiple compressed files greater than 10MBs sent over HTTP in a short amount of time.'

MITRE ATT&CK coverage

TacticTechniques
ExfiltrationT1030 Data Transfer Size Limits

Rule body kusto

id: 7226d37b-50ee-4e3b-9f80-5b74080d8f2c
name: Corelight - Multiple files sent over HTTP with abnormal requests
description: |
  'Detects sources sending multiple compressed files greater than 10MBs sent over HTTP in a short amount of time.'
severity: Medium
status: Available
requiredDataConnectors:
  - connectorId: Corelight
    dataTypes:
      - Corelight_v2_http
      - corelight_http
queryFrequency: 1h
queryPeriod: 1h
triggerOperator: gt
triggerThreshold: 0
tactics:
  - Exfiltration
relevantTechniques:
  - T1030
query: |
  let threshold = 25;
  let fl_size_threshold = 10000000;
  corelight_http
  | where method in~ ('POST', 'PUT')
  | where isempty(referrer)
  | where tolong(request_body_len) > fl_size_threshold
  | summarize count() by uri, id_orig_h, bin(TimeGenerated, 15m)
  | where count_ > threshold
entityMappings:
  - entityType: IP
    fieldMappings:
      - identifier: Address
        columnName: id_orig_h
version: 2.1.0
kind: Scheduled

Stages and Predicates

Parameters

let threshold = 25;
let fl_size_threshold = 10000000;

Stage 1: source

corelight_http

Stage 2: where

| where method in~ ('POST', 'PUT')

Stage 3: where

| where isempty(referrer)

Stage 4: where

| where tolong(request_body_len) > fl_size_threshold

Stage 5: summarize

| summarize count() by uri, id_orig_h, bin(TimeGenerated, 15m)

Stage 6: where

| where count_ > threshold

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
count_gt
  • 25 transforms: cased
methodin
  • POST
  • PUT
referreris_null
  • (no value, null check)
request_body_lengt
  • 10000000 transforms: tolong, 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
id_orig_hsummarize
urisummarize