Saving files to OneDrive is convenient and easy. That convenience, though, misleads uninformed users into thinking that OneDrive can be treated as some ransomware-proof backup.
The false feeling of safety quickly makes you careless, which might result in OneDrive ransomware infection corrupting valuable data on your drive.
Before jumping in, let’s clarify one misconception that leads to many OneDrive files getting corrupted:
OneDrive is not your backup.
It is cloud storage (you can read about the difference here), managed by you, which makes it a subject to various security threats that can mess with your files.
Ransomware is one of them.
So what happens when ransomware infects your OneDrive? How to protect files from ransomware? And what you can do to restore your files and secure them from malware in the future?
Let’s find out.
Sources of OneDrive Ransomware
Ransomware is a type of malware that infects your device and encrypts files on it, making them unavailable. To decrypt those files and regain access, you must pay a ransom, usually in Bitcoin.
The ransom payment can start from $300 for individual users and go up to staggering $1 billion for enterprises and governmental organizations.
How can ransomware infect OneDrive? There are three ways:
- Through OneDrive sync client. It synchronizes the files on your computer with OneDrive and copies all the files changes automatically. Therefore, if data on your computer gets corrupted with ransomware, these changes automatically spillover on your OneDrive through synchronization.
- Through permissions asking you to access One Drive. It can be different add-ons, extensions, and even links in phishing emails that require you to provide access to One Drive to perform.
- Through hacking administrator’s account. If a threat actor sneaks into your One Drive environment through the admin account, consider all your data encrypted, leaked, or gone. Usually, the “invasion” of OneDrive virus happens through a password spraying or tricking the administrator into giving out their credentials.
Next Step After Encryption: File Restore
So, you’ve caught OneDrive malware, and your files are ransomed. What to do next?
When OneDrive ransomware detected and you don’t have a backup, you can try to restore your files to the previous, clean versions. This option includes many limitations that we speak about in detail in the next section. But let’s assume you have avoided all of those.
To roll back your OneDrive files to the time before the attack:
1. Go to your OneDrive and log in with the correct account.
2. If the account is personal, go to the top of the page and select Settings>Options and pick Restore your OneDrive.
In case you are signed in with a work or school account, press Settings>Restore your OneDrive.
3. When on the Restoration page, press on the arrow and choose a date from a dropdown list or customize the date and time. In our case, you restore files because of ransomware so that the system will suggest the most appropriate date.
4. The next step is to undo all activities that have caused the files’ restoration. It can be deletion or overwriting: in our case, it is malware. You’ll be presented with the activity chat where you can review all the recent activities that have occurred with your files. You’ll see the volume of everyday file activities happened in the last 30 days.
In case you decided to choose a custom date, pic the earliest activity you want to erase. All activities after that will be picked and undone automatically. But since they will be hidden, to review them before clicking Restore, you need to scroll to the top of the activity feed.
After that, the files on your OneDrive will be restored to the pre-ransomware state. In case you want to call off all the changes you did for some reason, you can repeat the procedure above, just include this action as the activity you want to undo.
But, of course, everything is not that simple.
Limitations of OneDrive Files Restore
To be able to roll back your files like in the example above, you need to meet all the requirements and rules, which is often not the case.
1) If you have a standard OneDrive-for-business package or don’t have an Office 365 subscription, the Files Restore function is unavailable for you. In this case, backup is your only option.
2) Version history must be turned on. Otherwise, it is impossible to restore files from previous versions. To turn it on, go to the versioning configuration and enable versioning.
3) You can’t restore deleted files if they have been erased from the recycle bin. For example, if your shared files on OneDrive were hit by ransomware and then someone had deleted them and erased the recycle bin, you won’t be able to recover them.
4) You can’t restore pictures.
5) If you reloaded some file or folder after deleting it, this file or folder wouldn’t be a part of the restore operation.
6) Last but not least, many new strains of ransomware are capable of infiltrating in the different file versions and infecting them, making all the rollback to the previous versions meaningless.
As you can see, even enabling the history versioning function can’t fully secure your OneDrive data when it comes to malware, deletions, or data corruption. Because, as we mentioned above, cloud storage is not a backup.
Find out how to backup OneDrive here.
How to Protect OneDrive From Ransomware and Data Loss
How safe is OneDrive in general? If you don’t use the necessary measures to protect it, it won’t be safe at all.
We strongly advise you to make sure you use the whole arsenal of protection. The solid Onerive ransomware protection includes both native abilities of Office 365 and third-party ransomware-proof backup services. It increases your chances to avoid ransomware and seamlessly restore your files in case of disaster. Otherwise, you can lose your top business asset at the click of a finger.
1. Set up filters in Office 365 email malware protection:
- Forbid sending and receiving executable content like zip files;
- Block documents with micros;
- Blacklist formats like.RTF, PPT, or.DOC.
All those formats are most often used as malware transmitters.
2. Set up anti-phishing policies in Office 365. Read the how-to here.
3. Train yourself and other users on what not to open or click. Start from reading the article “5 main sources of ransomware” and learn how to distinguish the threat. Taking some basic cybersecurity training (which is often free) is also a good idea and should be your next step.
4. Set up a third-party online backup that is immune to ransomware, like SpinOne. And don’t forget: the more data you have, the more frequently the copies should be made. We suggest making copies three times a day.
May your OneDrive be safe, and good luck!
1,062 total views, 11 views today