Security News

OneDrive and SharePoint Cloud Solutions Vulnerable to Ransomware Attacks

OneDrive ransomware can encrypt SharePoint files beyond the versioning limit so they cannot be recovered. See how the attack works and how to cut the risk.

Brandefense logo Updated 3 Min Read
Onedrive vulnerable ransomware

OneDrive and SharePoint files can be hit by ransomware that leaves them unrecoverable without a decryption key. Attackers first take over a Microsoft account. They then encrypt every file beyond the versioning limit, so the original versions are lost. Strong passwords, multi-factor authentication and backups kept in separate places lower the risk.

A dangerous Office 365 functionality has been identified that allows ransomware to encrypt files stored on SharePoint and OneDrive in a way that makes them unrecoverable without a decryption key. Cloud systems are considered to be more resilient to potential ransomware attacks due to flexible data recovery and backup options. However, organizations and cloud infrastructures using cloud solutions may be targeted by ransomware attacks in the future.

How does the OneDrive and SharePoint ransomware attack chain work?

The chain of attacks begins when threat actors gain access to their SharePoint Online or OneDrive accounts by seizing the identities of Microsoft users. Threat actors can follow multiple methods to access users’ SharePoint or OneDrive accounts. These methods are:

  • Bypassing Account Security: It is possible to access the identity information of users’ cloud accounts through phishing, Brute Force attacks, and other methods of obtaining identity information.
  • Third-Party OAuth Applications: Threat actors can make users trust third-party OAuth applications for their targeted SharePoint or OneDrive access.
  • Hijacked Session Tokens: Hijacking a user’s web session or obtaining an active API token for SharePoint Online/OneDrive allows threat actors to access their targeted accounts.

Threat actors that gain access to OneDrive or SharePoint user privileges and data in the cloud identify and discover accessible data in Office 365 environments in the next step. This attack differs from traditional ransomware activities because the encryption phase requires that every file in SharePoint Online or OneDrive is encrypted beyond the allowed versioning limit. With this method, all original versions of files stored in cloud solutions are lost, and only encrypted versions of each file remain in the cloud account. At this point, threat actors can demand ransom from the targeted institution/organization.

How can you protect OneDrive and SharePoint from ransomware?

In this context, in order not to be the target of similar attacks;

Frequently Asked Questions.

Can ransomware encrypt OneDrive and SharePoint files?

Yes. The post describes a method that encrypts files in SharePoint Online and OneDrive so they cannot be recovered without a decryption key.

How do attackers get into OneDrive or SharePoint accounts?

They take over user identities through phishing, brute force, malicious third-party OAuth applications or hijacked session tokens.

Why do cloud versions not save the files?

The attack encrypts every file beyond the allowed versioning limit. All original versions are lost and only encrypted versions remain.

How can organizations reduce the risk?

Use strong passwords and MFA, review third-party app abuse, limit large downloads to unmanaged devices and keep multiple backups from different sources.

Sources

  1. 1 MITRE ATT&CK T1486 Data Encrypted for Impact
  2. 2 CISA #StopRansomware Guide