T1537 CrowdStrike LogScale · LogScale

Detect Transfer Data to Cloud Account in CrowdStrike LogScale

Adversaries may exfiltrate data by transferring it to another cloud account they control on the same service. This technique abuses native cloud APIs, storage sharing mechanisms, and CLI tools (such as AzCopy, megatools, or AWS CLI) to move data across cloud account boundaries while blending into normal cloud traffic. Detection is complicated because the traffic stays within the provider's internal network and may not trigger perimeter data loss controls. Common methods include: sharing VM disk snapshots or AMIs to attacker-controlled accounts, generating shared access signature (SAS) URIs or pre-signed S3 URLs for anonymous access, using AzCopy or AWS S3 sync to copy storage contents cross-account, and creating cloud instance backups then exporting them to external subscriptions.

MITRE ATT&CK

Tactic
Exfiltration
Technique
T1537 Transfer Data to Cloud Account
Canonical reference
https://attack.mitre.org/techniques/T1537/

LogScale Detection Query

CrowdStrike LogScale (LogScale)
cql
#event_simpleName = "ProcessRollup2"
| FileName = /(?i)azcopy(\.exe)?$/
  OR (
    FileName = /(?i)(powershell|pwsh|az\.cmd|aws|python3?)(\.exe)?$/ AND
    CommandLine = /(?i)(New-AzStorage(Blob|Container|Account)SASToken|az storage (blob|container|account) generate-sas|GenerateSasUri|generate-sas)/
  )
  OR (
    FileName = /(?i)(powershell|pwsh|az\.cmd|aws|python3?)(\.exe)?$/ AND
    CommandLine = /(?i)(az snapshot (create|grant-access)|az disk create|New-AzSnapshot|Grant-AzSnapshotAccess|ec2 (copy-snapshot|modify-snapshot-attribute|create-image|modify-image-attribute)|CreateSnapshot|CopySnapshot)/
  )
  OR FileName = /(?i)(megacopy|megaput|megals|MegaSync|megatools|megacmd|mega-put|mega-copy)(\.exe)?$/
  OR CommandLine = /(?i)(mega\.nz|megatools|megacopy|megaput|MegaSync)/
| eval SignalType = case(
    FileName matches /(?i)azcopy/ AND CommandLine matches /(?i)(blob\.core\.windows\.net|mega\.nz|megatools|s3\.amazonaws\.com)/,
    "AzCopy_Exfil",
    CommandLine matches /(?i)(New-AzStorage|generate-sas|GenerateSasUri)/,
    "SAS_Token_Generation",
    CommandLine matches /(?i)(az snapshot|New-AzSnapshot|Grant-AzSnapshotAccess|ec2 copy-snapshot|ec2 modify-snapshot|ec2 create-image|CreateSnapshot|CopySnapshot)/,
    "Snapshot_Export",
    FileName matches /(?i)(megacopy|megaput|MegaSync|megacmd|megatools)/ OR CommandLine matches /(?i)(mega\.nz|megatools)/,
    "Mega_Upload",
    true(),
    "Unknown"
  )
| eval ExternalDest = case(
    CommandLine matches /(?i)mega\.nz/ OR FileName matches /(?i)(megacopy|megaput|MegaSync|megacmd)/, "MEGA",
    CommandLine matches /(?i)blob\.core\.windows\.net/, "AzureBlob_External",
    CommandLine matches /(?i)s3\.amazonaws\.com/, "AWS_S3_External",
    SignalType = "SAS_Token_Generation", "AzureSAS",
    SignalType = "Snapshot_Export" AND CommandLine matches /(?i)(ec2|aws)/, "AWS_Snapshot",
    SignalType = "Snapshot_Export", "Azure_Snapshot",
    true(), "Unknown"
  )
| eval RiskScore = case(
    ExternalDest = "MEGA", 90,
    ExternalDest = "AzureBlob_External", 75,
    ExternalDest = "AWS_S3_External", 75,
    SignalType = "SAS_Token_Generation", 65,
    SignalType = "Snapshot_Export", 80,
    true(), 50
  )
| table([@timestamp, ComputerName, UserName, FileName, CommandLine, ParentBaseFileName, SignalType, ExternalDest, RiskScore])
| sort(@timestamp, order=desc)
high severity high confidence

CrowdStrike LogScale (Humio) CQL detection for T1537 using Falcon ProcessRollup2 events. Matches AzCopy execution with external cloud storage destinations, SAS token generation via PowerShell or Azure CLI, cloud snapshot export operations for Azure and AWS, and MEGA file transfer tool execution. Assigns a risk score per signal type to assist analyst prioritization. Requires Falcon Insight EDR with process telemetry enabled.

Data Sources

CrowdStrike Falcon Insight EDR (ProcessRollup2)CrowdStrike Falcon for IT Hygiene

Required Tables

#event_simpleName = ProcessRollup2

False Positives & Tuning

  • Authorized DevOps engineers using AzCopy within CI/CD pipelines that publish build artifacts or deployment packages to external partner blob storage accounts with documented firewall exceptions.
  • Cloud platform teams using AWS CLI to copy EC2 snapshots across accounts for disaster recovery testing, where source and destination accounts are both under organizational control.
  • IT operations staff using MEGA Sync as an approved shadow IT workaround for large file transfers pending rollout of an enterprise file sharing solution — high false positive rate in environments without an approved cloud storage policy.
Download portable Sigma rule (.yml)

Other platforms for T1537


Testing Methodology

Validate this detection against 4 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1AzCopy Transfer to External Azure Blob Storage

    Expected signal: Sysmon Event ID 1: Process Create with Image=azcopy.exe (or azcopy path), CommandLine containing 'copy' and 'blob.core.windows.net' with a SAS token signature. Sysmon Event ID 3: Network Connection from azcopy.exe to TESTACCOUNT.blob.core.windows.net:443. Sysmon Event ID 11: File access events for the source files being read. AzCopy job log created at %USERPROFILE%\.azcopy\*.log.

  2. Test 2Azure SAS Token Generation via PowerShell

    Expected signal: Sysmon Event ID 1: Process Create with Image=powershell.exe, CommandLine containing 'New-AzStorageContainerSASToken', '-Permission', 'rwdl', and '-ExpiryTime'. PowerShell ScriptBlock Log Event ID 4104 with full script contents including the SAS generation call. Sysmon Event ID 3: Network connection from powershell.exe to management.azure.com:443 for the Az module API calls.

  3. Test 3Azure Snapshot Creation and Export via Azure CLI

    Expected signal: Sysmon Event ID 1 (two events): (1) az.cmd process with CommandLine 'az snapshot create ... --source /subscriptions/...'. (2) az.cmd with CommandLine 'az snapshot grant-access ... --duration-in-seconds 3600'. Sysmon Event ID 3: Network connections from az.cmd to management.azure.com:443. Azure Activity Log entries: OperationName=Microsoft.Compute/snapshots/write (Success) and Microsoft.Compute/snapshots/beginGetAccess/action (Success) — visible in AzureActivity table in Log Analytics within ~5 minutes.

  4. Test 4Mega.nz Upload Tool Execution (megatools)

    Expected signal: Sysmon for Linux (or auditd) process creation event: Image=/usr/bin/megaput, CommandLine containing '--username', '--path', and the local file path. Sysmon Event ID 3 (Linux): Network connection from megaput to g.api.mega.co.nz:443 (initial API auth) and *.userstorage.mega.co.nz:443 (actual upload). Auditd SYSCALL record type=EXECVE with megaput binary. Linux /var/log/auth.log or syslog may record the process execution depending on auditing configuration.

Unlock Pro Content

Get the full detection package for T1537 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections