Cybersecurity researchers are warning of a worrying new trend in ransomware attacks: threat actors are now weaponizing Microsoft’s legitimate AzCopy utility to exfiltrate sensitive data from victim organizations before encrypting their systems. This sophisticated tactic leverages a trusted tool, widely used by IT professionals for managing Azure cloud storage, to bypass security defenses and conduct stealthy data theft, according to Varonis Threat Labs. The shift represents a significant evolution in how ransomware groups operate, prioritizing silent data exfiltration using familiar technologies.
This development highlights how attackers are adapting to increasingly robust security measures by co-opting tools that are already part of legitimate IT workflows. AzCopy, designed for efficient data transfer to and from Azure Storage, operates as a standalone executable over standard HTTPS connections. Its common usage in enterprise environments means that many security solutions, including Endpoint Detection and Response (EDR) platforms, are configured to overlook its activity, thus providing attackers with an effective cover for their malicious operations.
How Attackers Weaponize AzCopy for Silent Data Theft
The strategy hinges on AzCopy’s ability to blend seamlessly with normal network traffic. Attackers first establish an Azure Blob Storage account, which can be set up quickly using minimal credentials. They then generate a Shared Access Signature (SAS) token, a special URL that grants temporary access to the storage account without requiring traditional usernames or passwords. This token is embedded directly into the AzCopy command.
Varonis Threat Labs researchers have identified multiple instances where AzCopy was employed for data exfiltration, with at least one case going entirely undetected by the victim’s EDR. This method allows attackers to bypass the need for less reputable, bulletproof hosting providers, which are increasingly targeted by law enforcement. By using Azure, attackers can exploit Microsoft’s vast infrastructure to move sensitive data, making it nearly indistinguishable from legitimate business traffic.
To further enhance the stealth of their operations, threat actors customize AzCopy commands with specific parameters. For instance, the `–include-after` parameter allows them to target only recently modified files, streamlining the exfiltration process. The `–cap-mbps` parameter is used to throttle the upload speed, preventing network traffic spikes that might trigger security alerts. These adjustments ensure that outbound data transfers appear as steady, routine synchronization.
Crucially, AzCopy typically generates a log file, stored in a hidden `.azcopy` directory within the user’s profile, detailing all successfully transferred files. This log is invaluable for forensic investigations. However, in these recent ransomware campaigns, attackers have been observed deleting the entire `.azcopy` directory immediately after completing their exfiltration, effectively erasing the evidence of what data was stolen and from where.
The impact of this tactic is significant, particularly in double extortion ransomware attacks. In these scenarios, attackers first steal data, then encrypt systems, and threaten to release the stolen information if the ransom is not paid. When data is exfiltrated through Microsoft’s global network, security teams monitoring outbound Azure connections find no inherent reason to flag the activity as malicious. By the time an incident is detected and remediation efforts begin, the data may have already been copied to multiple locations, often eventually surfacing on the attackers’ public leak sites.
Organizations are advised to enhance their monitoring of outbound connections to Azure Blob Storage endpoints, particularly from systems that do not typically interact with Azure. Implementing User and Entity Behavior Analytics (UEBA) can help detect unusual file access patterns by service accounts that deviate from established baselines. Application whitelisting should be enforced to restrict the execution of AzCopy to only authorized systems and accounts. Furthermore, robust incident response plans that include pre-tested containment strategies, such as severing internet access during a live ransomware incident, are essential.

