The assumption that cloud data is safe from ransomware is one of the most consequential misunderstandings in enterprise security today.
Cloud storage does not protect data from ransomware. It changes where the data lives, not whether ransomware can reach it. An attacker who compromises the credentials used to access cloud storage, syncs ransomware to a connected cloud drive, or exploits cloud platform vulnerabilities can encrypt, delete, or exfiltrate cloud-stored data just as effectively as data stored on premises. The attack surface is different. The threat is not diminished.
Organizations that have moved significant workloads and data to cloud environments and concluded that their ransomware exposure has been reduced are often in a worse position than they realize. Their data is in the cloud. Their understanding of how ransomware reaches cloud data has not kept pace with their cloud adoption.
This article covers how ransomware actually reaches cloud environments, what protections cloud platforms provide and where those protections end, what genuine cloud ransomware resilience looks like, and what organizations need to change to ensure their cloud data is actually protected.
Organizations strengthening ransomware resilience should also evaluate cybersecurity services, cloud services, and managed IT services.
How Ransomware Reaches Cloud Environments
Understanding cloud ransomware exposure requires understanding the specific pathways through which ransomware reaches cloud-stored data. There are four primary pathways, and they operate through different mechanisms that require different controls to address.
Synchronized File Encryption Through Cloud Sync Clients
The most common pathway for ransomware to affect cloud-stored data is through cloud sync clients installed on endpoints. When ransomware encrypts files on an endpoint that has a cloud sync client installed, the sync client’s job is to mirror the local file system to the cloud. It does that job faithfully, syncing the encrypted versions of files to the cloud storage account and replacing the clean originals with encrypted copies.
OneDrive, Google Drive, Dropbox, Box, and every other sync-based cloud storage platform is vulnerable to this pathway. The sync client does not distinguish between legitimate file modifications and ransomware encryption. It sees file changes and syncs them.
The sync pathway is particularly dangerous because it operates automatically, at the speed of the sync client, and across every file in the synced directories. An organization with 10,000 files synced to OneDrive that experiences ransomware on the syncing endpoint may have all 10,000 files replaced with encrypted versions in the cloud before anyone detects the incident.
The protection that cloud platforms offer against this pathway is version history, which allows recovery of previous versions of files before they were encrypted. The effectiveness of version history as a recovery mechanism depends on the retention period configured, whether the platform preserves versions of all file types in the sync, and how quickly the incident is detected relative to how long version history is maintained.
Credential Compromise and Direct Cloud Access
An attacker who obtains credentials for a cloud storage account can access that account directly through the platform’s web interface or API, without any interaction with the organization’s on-premises environment. That access allows the attacker to download files for exfiltration, delete files to destroy recovery options, or in some cases use platform features to overwrite clean files with encrypted versions.
Cloud credential compromise occurs through the same mechanisms as on-premises credential compromise:
- Phishing
- Credential stuffing using credentials exposed in prior breaches
- Harvesting from endpoints where cloud credentials are stored in browser credential stores or application configuration files
Multi-factor authentication on cloud accounts significantly reduces this risk by requiring a second factor that the attacker does not possess. The credential alone is insufficient for access when MFA is enforced. However, MFA enforcement on cloud accounts is not universal even in organizations that have deployed MFA broadly, and cloud accounts that are considered service accounts or system accounts frequently have MFA exemptions that create the credential compromise pathway.
Organizations improving identity protection should also review multi-factor authentication solutions.
Cloud Infrastructure Attacks in IaaS and PaaS Environments
Organizations running workloads on cloud infrastructure platforms including AWS, Microsoft Azure, and Google Cloud face ransomware risks that extend beyond file storage into the infrastructure itself. Ransomware deployed on cloud virtual machines encrypts the file system of those VMs the same way it encrypts on-premises systems. Ransomware that gains access to cloud management credentials can modify or delete cloud storage configurations, disrupt services, and access data across the cloud environment.
Cloud infrastructure attacks require the attacker to gain access to the cloud environment through:
- Compromised cloud management credentials
- Exploitation of vulnerabilities in internet-accessible cloud workloads
- Lateral movement from on-premises systems to cloud environments through connected infrastructure
The scope of a cloud infrastructure attack depends on the privileges of the compromised credentials and the configuration of the cloud environment. An attacker who compromises a cloud administrator account in an environment without role-based access controls, resource locks, or activity monitoring has broad access across the cloud infrastructure that enables significant damage before detection.
Cross-Environment Spread From On-Premises to Cloud
Hybrid environments that connect on-premises infrastructure to cloud platforms through Azure AD Connect, VPN gateways, ExpressRoute, or other integration mechanisms create pathways through which ransomware that begins on-premises can reach cloud environments.
Azure AD Connect, which synchronizes on-premises Active Directory with Azure Active Directory, is a particularly significant pathway because compromising the on-premises domain can enable compromise of the Azure AD tenant through the sync relationship. Ransomware groups with sophisticated operators have demonstrated capability to exploit this pathway to gain cloud environment access from an on-premises compromise.
The cross-environment pathway illustrates why cloud security cannot be treated as a separate domain from on-premises security in hybrid environments. The security of the cloud environment is bounded by the security of whatever on-premises systems have trust relationships with it.
Organizations improving hybrid security posture should also review Zero Trust security architecture.
What Cloud Platform Protections Actually Cover
Understanding what cloud platforms provide in terms of ransomware protection requires distinguishing between what the platforms do well and where their protections end.
Version History and File Recovery
Most enterprise cloud storage platforms maintain version history that allows recovery of files to prior states before encryption occurred. Microsoft SharePoint and OneDrive maintain version history for files in document libraries, with configurable retention periods. Google Workspace maintains version history for Google-native files and has limited version history for uploaded files. Box and Dropbox maintain version history for files stored in those platforms.
Version history is a genuine recovery resource when it is properly configured and the incident is detected before the version history retention period expires. It is not a substitute for backup because it has limitations that backup does not:
- It may not cover all file types
- It depends on the platform’s implementation rather than the organization’s control
- It can be deleted by an attacker with sufficient account access in some platform configurations
Recovery from version history during a ransomware event requires identifying every affected file, reverting each file to its pre-encryption version, and confirming that the reverted version is complete and accurate. For environments with large numbers of affected files, this process is time-consuming and may require scripted automation through platform APIs rather than manual file-by-file recovery.
Recycle Bin and Soft Delete
Deleted files in most cloud platforms go to a recycle bin or soft-delete state before permanent deletion. This provides a recovery window for files that an attacker deletes rather than encrypts. The retention period for soft-deleted content varies by platform and configuration.
Microsoft 365 provides a two-stage recycle bin with retention periods that administrators can configure. SharePoint Online retains deleted items in the site recycle bin for 93 days before permanent deletion under default configuration. OneDrive provides similar retention.
Soft delete protections do not help if the attacker encrypts files rather than deleting them, because encrypted files that are synced to the cloud are not deleted: they are modified. The recycle bin contains the deleted versions, but encryption replaces files in place without deletion in most ransomware implementations.
Platform Security Controls
Cloud platforms provide security controls that reduce but do not eliminate ransomware exposure.
- Conditional access policies that enforce MFA and restrict access by location or device compliance reduce credential-based access risk.
- Data loss prevention policies that detect and block unusual bulk file operations may detect ransomware sync activity.
- Microsoft Defender for Cloud Apps and similar CASB solutions provide visibility into cloud application activity that enables detection of anomalous behavior.
These controls are effective when they are properly configured and actively monitored. They are not default configurations in most cloud tenants. An organization that has adopted cloud platforms without configuring these security controls has the data exposure of cloud adoption without the security controls that cloud platforms make available.
What Genuine Cloud Ransomware Resilience Requires
Genuine cloud ransomware resilience requires going beyond the native protections that cloud platforms provide to implement a defense posture that addresses each of the four pathways through which ransomware reaches cloud environments.
Immutable Backup Separate From the Production Cloud Environment
The most important protection against cloud ransomware is backup that is separate from the production cloud environment and is not accessible through the credentials that the production environment uses.
For organizations whose primary data lives in Microsoft 365, backup through a third-party Microsoft 365 backup solution that stores data in a separate cloud environment with separate credentials provides recovery capability that does not depend on the integrity of the Microsoft 365 tenant itself. If the tenant is compromised, the backup is unaffected.
For organizations running workloads on cloud infrastructure, backup of cloud VM snapshots and data to a separate cloud storage account with immutable object storage and separate access credentials provides recovery capability that survives compromise of the primary cloud environment.
The key architectural principle is separation: the backup must not be accessible through the same credentials, the same management console, or the same trust relationships as the production environment. A backup stored in the same cloud tenant under the same administrative account is not protected against an attacker who has compromised that administrative account.
Multi-Factor Authentication on All Cloud Accounts
MFA enforcement on all cloud accounts, including service accounts and accounts used for cloud integrations, is the most direct control against credential-based cloud access. An attacker with compromised credentials cannot access a cloud account that requires a second factor they do not possess.
MFA enforcement must be comprehensive to be effective. MFA exemptions for service accounts, legacy authentication protocols that cannot support MFA, and conditional access policies with overly broad exceptions create the gaps that credential-based attacks exploit.
Legacy authentication protocol blocking is a required companion to MFA enforcement in Microsoft 365 environments. Legacy protocols including SMTP AUTH, IMAP, and POP3 do not support modern authentication and therefore cannot enforce MFA, meaning an attacker who knows a password can authenticate through those protocols regardless of MFA configuration on the account.
Versioning Configuration and Retention
Version history provides a recovery mechanism for sync-based encryption when it is properly configured. Organizations relying on version history for cloud ransomware recovery must confirm that version history is enabled and configured with sufficient retention across all libraries and storage locations where critical data resides.
Default version history configurations in many platforms are not set to maximum retention. Organizations that have not explicitly reviewed and configured version history retention are relying on default settings that may provide less protection than they assume.
Version history configuration must also address the scenario where an attacker with account access explicitly deletes version history to eliminate recovery options. Immutable backup stored separately from the production environment provides recovery capability that survives version history deletion, which is why it is a required complement to platform-native version history rather than a substitute for it.

Monitoring and Detection for Cloud Activity
Detecting ransomware activity in cloud environments requires monitoring that is specific to cloud activity patterns rather than applying on-premises monitoring approaches to cloud environments.
Cloud monitoring for ransomware indicators includes:
- Bulk file modification activity in SharePoint or OneDrive that indicates sync encryption in progress
- Unusual authentication patterns including access from unexpected locations or at unusual times
- Mass file download activity that may indicate exfiltration before encryption
- Administrative activity including permission changes, policy modifications, and configuration changes that may indicate attacker preparation of the cloud environment
Microsoft 365 provides the Microsoft Purview compliance portal, Defender for Cloud Apps, and Microsoft Sentinel for cloud activity monitoring and alerting. These tools require configuration to generate useful alerts. Out-of-box configurations generate high alert volumes with limited signal-to-noise ratio that most organizations do not have the operational capacity to review effectively.
Managed detection and response services that include cloud environment monitoring provide the operational capacity to configure, monitor, and respond to cloud security alerts for organizations without internal security operations capability.
Organizations improving cloud visibility should also review network security monitoring.
Cloud Infrastructure Security Configuration
For organizations running workloads on cloud infrastructure platforms, security configuration of the cloud environment itself is a ransomware resilience requirement that extends beyond data storage into the infrastructure layer.
Key cloud infrastructure security configurations for ransomware resilience include:
- Resource locks on critical cloud resources that prevent deletion or modification of production infrastructure without explicit lock removal, which requires separate elevated access that is not part of normal operational credentials.
- Role-based access control that limits what actions each identity can perform in the cloud environment, preventing an attacker who compromises a limited-privilege account from using that access to modify infrastructure, delete backups, or escalate to broader cloud access.
- Cloud security posture management tools that continuously assess cloud infrastructure configuration against security best practices and alert on configurations that increase ransomware risk, including overly permissive storage access policies, missing MFA enforcement, and excessive administrative role assignments.
- Immutable storage configuration for backup data stored in cloud object storage, with object lock policies that prevent deletion or modification of backup data within the retention period regardless of the credentials used to access the storage account.
Cloud-Specific Recovery Procedures
Recovering cloud data after a ransomware event requires procedures that are specific to the cloud environment and that have been developed and tested before an incident requires their execution.
Version history recovery at scale typically requires scripted execution through platform APIs rather than manual file-by-file recovery through the platform user interface. Organizations that plan to rely on version history for cloud recovery must develop, test, and document the automation scripts required to execute that recovery within their recovery time objectives. Discovering during an incident that manual recovery of 50,000 files through a web interface will take weeks is not the moment to begin developing the automation that makes it feasible.
Cloud backup recovery requires accessing the backup environment through its separate credentials and management interface, identifying the appropriate recovery point, and executing restoration to the production cloud environment or to an alternative environment for validation before production deployment. This process must be documented and tested before an incident in the same way that on-premises backup restoration is tested.
Recovery of cloud infrastructure workloads requires restoring VM snapshots, database backups, and application configurations in the correct sequence to produce functional workloads rather than individual restored components. That restoration sequence must be documented based on the dependency relationships between workloads rather than reconstructed under pressure during a live incident.
Organizations strengthening cloud recovery readiness should also evaluate business continuity planning.
Meet Our CEO, Matt Rosenthal
With more than 30 years of experience in business and technology leadership, Matt Rosenthal has helped organizations across healthcare, finance, legal, manufacturing, and defense build cloud security architectures that address ransomware risk rather than assuming that cloud adoption itself provides protection.
As President and CEO of Mindcore Technologies, Matt leads a team that assesses cloud ransomware exposure, implements the technical controls that address it, and builds the backup and recovery infrastructure that makes cloud ransomware recovery predictable.
Matt’s approach to cloud ransomware resilience is grounded in the recognition that cloud adoption changes the attack surface but does not reduce the threat. Every organization that moves data to the cloud needs to understand the specific pathways through which ransomware reaches that data and implement the specific controls that address those pathways.
Frequently Asked Questions
Does Microsoft 365 back up our data automatically?
Microsoft 365 provides data availability and some recovery features including version history and recycle bin retention, but it does not provide traditional backup in the sense of a separate, independently recoverable copy of your data.
Microsoft’s service agreement makes clear that data protection is a shared responsibility: Microsoft provides platform availability, and customers are responsible for protecting and backing up their data. Third-party Microsoft 365 backup solutions that store data separately from the Microsoft 365 tenant are required for comprehensive backup coverage.
Can ransomware delete SharePoint version history?
Yes. An attacker with sufficient SharePoint administrative access can delete version history for document libraries, eliminating the platform-native recovery mechanism.
This is one of the documented attacker behaviors in cloud-aware ransomware operations and is the reason that immutable backup stored separately from the SharePoint tenant is a required complement to version history rather than a substitute for it.
Is our data safe in cloud storage if our on-premises systems are encrypted?
It depends on whether your cloud storage is connected to the encrypted on-premises environment through a sync client, a trust relationship, or shared credentials.
If OneDrive or SharePoint sync is running on encrypted endpoints, the encrypted file versions will sync to the cloud. If your cloud credentials were stored on encrypted endpoints, those credentials may be compromised. If your Azure AD is connected to your on-premises Active Directory through Azure AD Connect, the on-premises compromise may extend to the cloud environment.
Cloud storage that has no connectivity to the on-premises environment and uses separate credentials is not directly affected by on-premises ransomware.
How do we detect ransomware syncing to OneDrive before all files are encrypted?
Microsoft Defender for Cloud Apps and Microsoft Purview provide activity monitoring that can detect bulk file modification events in OneDrive and SharePoint that are characteristic of ransomware sync activity.
Alerting on bulk file modification rate thresholds, configured before an incident, enables detection and response before all synced files are affected. The effectiveness of this detection depends on the monitoring being configured, actively watched, and connected to a response capability that can act on alerts within minutes.
Should we disable cloud sync clients during a ransomware incident?
Yes. Disabling cloud sync clients on affected endpoints is a containment action that prevents additional encrypted files from syncing to cloud storage.
This action should be part of the containment procedure documentation, with specific steps for disabling sync through the operating system or through the cloud platform’s administrative console to suspend sync for affected accounts. Disabling sync preserves the clean versions of files that have not yet been encrypted and synced, which reduces the scope of cloud recovery required.
Assess Your Cloud Ransomware Exposure Before It Becomes a Recovery Problem
The organizations that discover their cloud data is not protected from ransomware make that discovery either during a proactive security assessment or during an active incident. One of those is significantly more expensive than the other.
Cloud adoption has outpaced cloud security in most organizations. Data has moved to the cloud. Security architecture, backup infrastructure, and recovery procedures have not always kept pace with that movement. The gap between where the data is and how well it is protected is the exposure that cloud-aware ransomware groups are actively targeting.
Mindcore’s cybersecurity services and managed IT services help organizations across healthcare, finance, legal, manufacturing, and defense assess their cloud ransomware exposure, implement the technical controls that address it, and build the backup and recovery infrastructure that makes cloud ransomware recovery predictable.
If your organization has not assessed whether your cloud data is genuinely protected against the specific pathways through which ransomware reaches cloud environments, contact Mindcore to close that gap before an incident makes it urgent.
Source content adapted from uploaded file. :contentReference[oaicite:0]{index=0}

