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

Box - Many items deleted by user

Back
Id1b212329-6f2c-46ca-9071-de3464f3d88d
RulenameBox - Many items deleted by user
DescriptionDetects when a user deletes many items in short period of time.
SeverityMedium
TacticsImpact
TechniquesT1485
Required data connectorsBoxDataConnector
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Box/Analytic Rules/BoxMultipleItemsDeletedByUser.yaml
Version1.0.0
Arm template1b212329-6f2c-46ca-9071-de3464f3d88d.json
Deploy To Azure
let threshold = 100;
BoxEvents
| where EventType =~ 'DELETE'
| summarize deleted_items = dcount(SourceItemName) by SrcUserName, bin(TimeGenerated, 5m)
| where deleted_items > threshold
| extend AccountCustomEntity = SrcUserName
relevantTechniques:
- T1485
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Box/Analytic Rules/BoxMultipleItemsDeletedByUser.yaml
triggerOperator: gt
kind: Scheduled
entityMappings:
- fieldMappings:
  - columnName: AccountCustomEntity
    identifier: FullName
  entityType: Account
requiredDataConnectors:
- dataTypes:
  - BoxEvents_CL
  connectorId: BoxDataConnector
queryPeriod: 1h
query: |
  let threshold = 100;
  BoxEvents
  | where EventType =~ 'DELETE'
  | summarize deleted_items = dcount(SourceItemName) by SrcUserName, bin(TimeGenerated, 5m)
  | where deleted_items > threshold
  | extend AccountCustomEntity = SrcUserName  
version: 1.0.0
description: |
    'Detects when a user deletes many items in short period of time.'
tactics:
- Impact
severity: Medium
name: Box - Many items deleted by user
queryFrequency: 1h
triggerThreshold: 0
status: Available
id: 1b212329-6f2c-46ca-9071-de3464f3d88d
{
  "$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/1b212329-6f2c-46ca-9071-de3464f3d88d')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/1b212329-6f2c-46ca-9071-de3464f3d88d')]",
      "properties": {
        "alertRuleTemplateName": "1b212329-6f2c-46ca-9071-de3464f3d88d",
        "customDetails": null,
        "description": "'Detects when a user deletes many items in short period of time.'\n",
        "displayName": "Box - Many items deleted by user",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Account",
            "fieldMappings": [
              {
                "columnName": "AccountCustomEntity",
                "identifier": "FullName"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Box/Analytic Rules/BoxMultipleItemsDeletedByUser.yaml",
        "query": "let threshold = 100;\nBoxEvents\n| where EventType =~ 'DELETE'\n| summarize deleted_items = dcount(SourceItemName) by SrcUserName, bin(TimeGenerated, 5m)\n| where deleted_items > threshold\n| extend AccountCustomEntity = SrcUserName\n",
        "queryFrequency": "PT1H",
        "queryPeriod": "PT1H",
        "severity": "Medium",
        "status": "Available",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "tactics": [
          "Impact"
        ],
        "techniques": [
          "T1485"
        ],
        "templateVersion": "1.0.0",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}