Elastic medium stable kql

Azure Storage Blob Retrieval via AzCopy

Identifies successful GetBlob operations on Azure Storage Accounts using AzCopy user agent with SAS token authentication. AzCopy is a command-line utility for copying data to and from Azure Storage. While legitimate for data migration, adversaries may abuse AzCopy with compromised SAS tokens to exfiltrate data from Azure Storage Accounts. This rule detects the first occurrence of GetBlob operations from a specific storage account using this pattern.

View Source

Detection Logic

data_stream.dataset: azure.platformlogs and
    event.action: GetBlob and
    azure.platformlogs.identity.type: SAS and
    azure.platformlogs.properties.userAgentHeader: AzCopy* and
    azure.platformlogs.statusCode: 200

False Positives

  • Legitimate data migration or backup operations using AzCopy with SAS tokens may trigger this rule.
  • Automated scripts or processes that use AzCopy for routine data transfers from Azure Storage Accounts.
  • DevOps or IT teams performing authorized data transfers or downloads from Azure Storage using AzCopy.

Field Validations

Loading…

Comments (0)

Loading comments...