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

Corelight - Multiple files sent over HTTP with abnormal requests

Back
Id7226d37b-50ee-4e3b-9f80-5b74080d8f2c
RulenameCorelight - Multiple files sent over HTTP with abnormal requests
DescriptionDetects sources sending multiple compressed files greater than 10MBs sent over HTTP in a short amount of time.
SeverityMedium
TacticsExfiltration
TechniquesT1030
Required data connectorsCorelight
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Corelight/Analytic Rules/CorelightMultipleFilesSentOverHTTPAbnormalRequests.yaml
Version2.1.0
Arm template7226d37b-50ee-4e3b-9f80-5b74080d8f2c.json
Deploy To Azure
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
id: 7226d37b-50ee-4e3b-9f80-5b74080d8f2c
requiredDataConnectors:
- dataTypes:
  - Corelight_v2_http
  - corelight_http
  connectorId: Corelight
triggerOperator: gt
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Corelight/Analytic Rules/CorelightMultipleFilesSentOverHTTPAbnormalRequests.yaml
relevantTechniques:
- T1030
kind: Scheduled
name: Corelight - Multiple files sent over HTTP with abnormal requests
queryFrequency: 1h
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  
severity: Medium
triggerThreshold: 0
tactics:
- Exfiltration
entityMappings:
- fieldMappings:
  - columnName: id_orig_h
    identifier: Address
  entityType: IP
version: 2.1.0
queryPeriod: 1h
description: |
    'Detects sources sending multiple compressed files greater than 10MBs sent over HTTP in a short amount of time.'
status: Available
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2023-02-01-preview",
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/7226d37b-50ee-4e3b-9f80-5b74080d8f2c')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/7226d37b-50ee-4e3b-9f80-5b74080d8f2c')]",
      "properties": {
        "alertRuleTemplateName": "7226d37b-50ee-4e3b-9f80-5b74080d8f2c",
        "customDetails": null,
        "description": "'Detects sources sending multiple compressed files greater than 10MBs sent over HTTP in a short amount of time.'\n",
        "displayName": "Corelight - Multiple files sent over HTTP with abnormal requests",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "IP",
            "fieldMappings": [
              {
                "columnName": "id_orig_h",
                "identifier": "Address"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Corelight/Analytic Rules/CorelightMultipleFilesSentOverHTTPAbnormalRequests.yaml",
        "query": "let threshold = 25;\nlet fl_size_threshold = 10000000;\ncorelight_http\n| where method in~ ('POST', 'PUT')\n| where isempty(referrer)\n| where tolong(request_body_len) > fl_size_threshold\n| summarize count() by uri, id_orig_h, bin(TimeGenerated, 15m)\n| where count_ > threshold\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "severity": "Medium",
        "status": "Available",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "Exfiltration"
        ],
        "techniques": [
          "T1030"
        ],
        "templateVersion": "2.1.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}