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

SlackAudit - Multiple archived files uploaded in short period of time

Back
Id3db0cb83-5fa4-4310-a8a0-d8d66183f0bd
RulenameSlackAudit - Multiple archived files uploaded in short period of time
DescriptionThis query helps to detect when a user uploads multiple archived files in short period of time.
SeverityLow
TacticsExfiltration
TechniquesT1567
Required data connectorsSlackAuditAPI
KindScheduled
Query frequency1d
Query period1d
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SlackAudit/Analytic Rules/SlackAuditMultipleArchivedFilesUploadedInShortTimePeriod.yaml
Version1.0.0
Arm template3db0cb83-5fa4-4310-a8a0-d8d66183f0bd.json
Deploy To Azure
let threshold = 10;
SlackAudit
| where DvcAction =~ 'file_uploaded'
| extend FE = extract(@'.*\.(.*)$', 1, EntityFileName)
| where FE in~ ('tar', 'bz2', 'gz', 'tgz', 'Z', 'tbz2', 'zst', 'zip', 'zipx', '7z', 'rar', 'sfx')
| summarize count() by SrcUserName, bucket = bin(TimeGenerated, 15m)
| where count_ > threshold
| extend AccountCustomEntity = SrcUserName
name: SlackAudit - Multiple archived files uploaded in short period of time
id: 3db0cb83-5fa4-4310-a8a0-d8d66183f0bd
description: |
    'This query helps to detect when a user uploads multiple archived files in short period of time.'
triggerThreshold: 0
entityMappings:
- fieldMappings:
  - columnName: AccountCustomEntity
    identifier: FullName
  entityType: Account
version: 1.0.0
triggerOperator: gt
query: |
  let threshold = 10;
  SlackAudit
  | where DvcAction =~ 'file_uploaded'
  | extend FE = extract(@'.*\.(.*)$', 1, EntityFileName)
  | where FE in~ ('tar', 'bz2', 'gz', 'tgz', 'Z', 'tbz2', 'zst', 'zip', 'zipx', '7z', 'rar', 'sfx')
  | summarize count() by SrcUserName, bucket = bin(TimeGenerated, 15m)
  | where count_ > threshold
  | extend AccountCustomEntity = SrcUserName  
tactics:
- Exfiltration
kind: Scheduled
queryFrequency: 1d
severity: Low
queryPeriod: 1d
requiredDataConnectors:
- dataTypes:
  - SlackAudit_CL
  connectorId: SlackAuditAPI
status: Available
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/SlackAudit/Analytic Rules/SlackAuditMultipleArchivedFilesUploadedInShortTimePeriod.yaml
relevantTechniques:
- T1567