Google Drive, OneDrive, හෝ Dropbox මත Ransomware හෝ හදිසි විශාල මකාදැමීම දූෂිත ගොනු සියලුම උපාංග වෙත සමමුහුර්ත කිරීම (දින 30 අනුවාද ඉතිහාසය සහ Vault Rewind)¶
හදිසි අවස්ථා අංක රට අනුව වෙනස් වේ. මෙම පිටුව එක්සත් ජනපදය සහ කැනඩාව සඳහා වන අංකය වන 911 භාවිතා කරයි. වෙනත් බොහෝ රටවල් 112, 999 හෝ වෙනත් අංකයක් භාවිතා කරයි. ඔබේ රට සඳහා අංකය සොයන්න.
ඔබේ Windows කාර්ය තීරුවේ හෝ macOS මෙනු තීරුවේ ඇති සමමුහුර්ත නිරූපකය නැරඹීමෙන් ව්යාපාරික ලේඛන, බදු වාර්තා, පවුලේ ඡායාරූප සහ මූලාශ්ර කේත ගොනු දහස් ගණනක් වේගයෙන් කැරකෙයි Google Drive for Desktop, Microsoft OneDrive, Dropbox, හෝ iCloud Drive එක්කෝ ransomware මගින් සංකේතනය කර ඇත (.locked, .bianlian, .akira, .play, .lockbit) හෝ වැරදි ලෙස වින්යාස කිරීමකින් අතුගා දමනු ලැබේ rsync --delete, අහඹු ෆෝල්ඩරය ඇදගෙන යාම, හෝ හොර ස්ක්රිප්ට් යනු අධිවේගී දත්ත ව්යසනයකි. වලාකුළු ඩෙස්ක්ටොප් සමමුහුර්ත සේවාලාභීන් තත්ය කාලීන ද්විපාර්ශ්වික අනුකරණය සඳහා නිර්මාණය කර ඇති නිසා (inotify Linux මත, FSEvents macOS මත, සහ ReadDirectoryChangesW / Cloud Filter API Windows මත), ransomware ද්විමය හෝ අහම්බයක් Shift + Delete මත එක් ආසාදිත ලැප්ටොප් වහාම ක්ලවුඩ් සේවාදායකය දක්වා ප්රචාරණය කර තත්පර කිහිපයක් ඇතුළත ** අනෙක් සියලුම ඩෙස්ක්ටොප්, ලැප්ටොප් සහ හවුල් කණ්ඩායම් ෆෝල්ඩරය වෙතට තල්ලු කරනු ලැබේ**.
කෙසේ වෙතත්, වලාකුළු සමමුහුර්ත එන්ජින් නොවේ raw disk overwrites: තිරය පිටුපස, Microsoft OneDrive, Dropbox, Google Drive, සහ Box දින 30 සිට දින 180 දක්වා කාල සීමාව තුළ අනුවාද ඉතිහාසය, දෙවන අදියර ප්රතිචක්රීකරණ බඳුන්, සහ සම්පූර්ණ ගිණුම් ආපසු ගැනීමේ මෙවලම් (** සමඟ වෙනස් කළ නොහැකි සේවාදායක වස්තු ගබඩාව පවත්වා ගන්නOneDrive Restore Your OneDrive** සහ Dropbox Rewind). ඔබ වහාම ජාලයෙන් ආසාදිත පරිගණකය වෙන් කරන තාක්, නොබැඳි දේශීය හැඹිලි නෙලීම සඳහා ද්විතියික යන්ත්රවල සමමුහුර්ත කිරීම විරාමයක් තබා, සහ ඔබේ අනුවාද ඉතිහාස කෝටාව හරහා සංකේතනය කළ ගොනු නැවත උඩුගත කිරීමේ මාරක උගුලෙන් වළකින්න, ඔබට සතයක් නොගෙවා සංකේතනය හෝ මකා දැමීම ආරම්භ වීමට පෙර නිශ්චිත මිනිත්තුවකට ඔබේ සම්පූර්ණ ක්ලවුඩ් ධාවකය පෙරළීමට හැකිය. දේශීය යන්ත්ර අනිෂ්ට මෘදුකාංග අඩංගු කිරීම සහ ගොනු පද්ධති කැටයම් කිරීම සඳහා, අපගේ මාර්ගෝපදේශකයන්ගෙන් විමසන්න ransomware සහ අනිෂ්ට මෘදුකාංග ප්රතිචාර, අහඹු ගොනු මකා දැමීම සහ ආකෘතිගත ධාවකය ප්රතිසාධනය, සහ පරිගණක උපස්ථ: 3-2-1 උපාය සහ ආපදා ප්රතිසාධනය. ransomware ප්රහාරයක් රෝහලකට, සායනයකට හෝ හදිසි යැවීමේ ජාලයකට පහර දෙන්නේ නම්, වහාම නොබැඳි සායනික අක්රීය කාල ක්රියා පටිපාටි සක්රිය කර ඔබේ ප්රාදේශීය හදිසි අංකය අමතන්න (911 එක්සත් ජනපදයේ සහ කැනඩාවේ, 112 යුරෝපා සංගමය පුරා, 999 එක්සත් රාජධානියේ) හෝ අපගේ නාමාවලිය පරීක්ෂා කරන්න හදිසි අංක.
දැන් මේක කරන්න¶
- ඊතර්නෙට් කේබලය විසන්ධි කර මූලාශ්ර පරිගණකයේ Wi-Fi වහාම ක්රියා විරහිත කරන්න (යෙදුම් වැසීමට හෝ ඕනෑම දෙයක් ක්ලික් කිරීමට පෙර):
- (
OneDrive.exe,GoogleDriveFS.exe,Dropbox.exe) Cloud API වෙත තත්පරයකට තවත් 50 සිට 200 දක්වා සංකේතනය කළ හෝ මකා දැමූ ගොනු මෙහෙයුම් උඩුගත කරයි. Wi-Fi සහ Ethernet කැපීම එහි ධාවන පථවල වලාකුළු උඩුගත කිරීමේ පෝලිම කැටි කරයි. - ** එකම ක්ලවුඩ් ගිණුමට සම්බන්ධ කර ඇති අනෙකුත් සෑම ලැප්ටොප්, ඩෙස්ක්ටොප්, ටැබ්ලටය සහ දුරකථනය වෙත ඇවිද ගොස් ඔවුන්ගේ තිර අවදි කිරීමට පෙර ඔවුන්ගේ Wi-Fi / ඊතර්නෙට් ක්රියා විරහිත කරන්න**:
- ඔබේ ද්විතීයික නොබැඳි ලැප්ටොප් පරිගණකය නියම කාල කැප්සියුලයකි: ඔබේ නිවසේ ඩෙස්ක්ටොප් එක හෝ ද්විතියික MacBook ඊයේ සිට ඔබේ බෑගයේ නිදාගෙන තිබේ නම්, එහි දේශීය
OneDrive,Dropbox, හෝGoogle Drive(Mirror files/Always keep on this device) ෆෝල්ඩරය තවමත් ඔබේ ගොනුවල සියයට 100ක් සංකේතනය නොකළ, ස්පර්ශ නොකළ පිටපත් තබා ඇත. - Wi-Fi ක්රියාත්මකව තිබියදී ඔබ එම ද්විතියික ලැප්ටොප් පරිගණකය අවදි කළහොත්, ක්ලවුඩ් සමමුහුර්ත ඩීමන් වහාම සම්බන්ධ වී, සේවාදායකයෙන් විශාල මකාදැමීම හෝ ransomware කේතාංකන බාගත කර, තත්පර 60 ට අඩු කාලයකදී එම ප්රාචීන දේශීය පිටපත විනාශ කරයි. ඕනෑම ද්විතීයික පරිගණකයක් අවදි කිරීමට පෙර ඔබේ නිවසේ Wi-Fi රවුටරය ක්රියා විරහිත කරන්න (එහි විදුලි රැහැන විසන්ධි කරන්න), ඉන්පසු නොබැඳි විට දේශීය ෆෝල්ඩර බාහිර USB ධාවකයකට පිටපත් කරන්න.
- ** හේතුව Ransomware නම්, ආසාදිත පරිගණකයේ විදුලි රැහැන අදින්න (හෝ බල බොත්තම තත්පර 10 ක් අල්ලාගෙන සිටින්න); හේතුව SSD එකක හදිසි මකාදැමීමක් නම්, එය හුදකලා කර සමමුහුර්ත ඩීමන් එක ගලවන්න/නවත්වන්න**:
- Ransomware: බලය ඇදීමෙන් සංකේතන නූල් නවත්වයි (
AES/ChaCha20workers) from encrypting the remaining unencrypted folders on your local drive and preserves volatile RAM keys if forensic memory analysis is needed. - Accidental Deletion: Kill
OneDrive.exe/Dropbox.exe/GoogleDriveFS.exein Task Manager (Ctrl + Shift + Esc) or Activity Monitor immediately so the local client stops queuingDELETEAPI calls. - DO NOT manually delete the ransomware-encrypted files (
.locked) in the cloud web interface if the malware renamed the file extensions: - Understand how ransomware interacts with cloud storage:
- Case A: In-Place Overwrite (Same Filename): The ransomware encrypted
Tax_2025.xlsxand saved the encrypted payload under the exact same nameTax_2025.xlsx. Here, the cloud service treats the encrypted file as Version 2, while your clean original file sits safely underneath as Version 1 inVersion History. - Case B: Rename + Delete Original (
Tax_2025.xlsx.lockbit): Most modern ransomware readsTax_2025.xlsx, writes a new file namedTax_2025.xlsx.lockbit, and deletes the originalTax_2025.xlsx. Here, your clean originalTax_2025.xlsxis sitting inside the Cloud Trash / Recycle Bin (and point-in-time account rollback).
- Case A: In-Place Overwrite (Same Filename): The ransomware encrypted
- Log into the cloud web portal (
onedrive.live.com,dropbox.com,drive.google.com,icloud.com) from a CLEAN, UNINFECTED device (such as a smartphone on cellular data or an isolated computer): - Never log back into your cloud account from the ransomware-infected computer, and immediately revoke the infected computer's OAuth device session under your Google, Microsoft, or Dropbox Account Security page so the infected PC cannot resume syncing if someone turns it back on.
- Use Point-in-Time Account Rollback (
Restore your OneDriveහෝDropbox Rewind) instead of restoring 50,000 files one by one: - Both Microsoft OneDrive and Dropbox include an automated whole-account time machine that rolls every folder, file version, and deleted item across your entire drive back to a specific timestamp (
1 hour ago,Yesterday at 11:00 PM, or up to30 to 180 days ago) in a single server-side operation.
Danger
The "100-Version Limit" Ransomware Exhaustion Trap: On Google Drive and several enterprise configurations of SharePoint/OneDrive, individual files retain a maximum of 100 historical versions (or 30 days). Certain advanced ransomware strains intentionally modify and save each file 105 times in a row to push the original clean Version 1 off the bottom of the version stack. Cutting the internet connection on the infected workstation within the first few minutes prevents the malware from completing multi-pass version-exhaustion loops.
Decision tree: cloud sync disaster containment and point-in-time recovery¶
Execute this emergency workflow to stop cross-device sync propagation and restore your clean cloud state:
flowchart TD
Start["Ransomware Encryption OR Accidental Mass Deletion Syncing Across Cloud Drive"] --> CutNet["STEP 1: Unplug Ethernet & Turn Off Wi-Fi on the Source Computer Immediately (Or Unplug the Wi-Fi Router Power Cord)"]
CutNet --> SaveSecondaries["STEP 2: Keep All Secondary Laptops/PCs Offline (Airplane Mode) -> Copy Their Local 'OneDrive / Dropbox / Google Drive' Cache Folders to an External USB Drive"]
SaveSecondaries --> RevokeSession["STEP 3: From a Clean Phone/Browser, Open Account Security (Google / Microsoft / Dropbox) -> Revoke / Unlink the Infected PC's Desktop Sync Session"]
RevokeSession --> WhichCloud{"Which Cloud Storage Platform Was Hit?"}
WhichCloud -->|"Microsoft OneDrive / SharePoint (Personal or Microsoft 365)"| OneDriveRestore["Use 'Settings -> Options -> Restore your OneDrive' (Rolls Back All Edits, Renames, & Deletions Across Entire Account up to 30 Days) + Check 1st & 2nd-Stage Recycle Bin"]
WhichCloud -->|"Dropbox (Plus, Family, Professional, Business, or Basic)"| DropboxRestore["Use 'Dropbox Rewind' on Root Folder (Rewinds Entire Account to Exact Minute Before Attack) OR Use 'Deleted files' + 'Events' Log (30 to 180 Days)"]
WhichCloud -->|"Google Drive (Personal Gmail or Google Workspace)"| GDriveRestore["1. Sort 'Trash' by 'Trashed date' to Bulk-Restore Deleted Originals. 2. For Overwritten Files: Right-Click -> 'File information -> Manage versions' OR Run Google Drive API v3 Bulk Revision Rollback Script"]
WhichCloud -->|"Apple iCloud Drive"| iCloudRestore["Log into 'iCloud.com/recovery' -> Click 'Restore Files' (Recovers Files Deleted Within Last 30 Days, Even If Emptied From Recently Deleted)"]
Phase 1: How cloud sync engines process ransomware vs. mass deletion (Where your clean files actually live)¶
Before clicking restore buttons in a panic, inspect how your files were altered on the cloud web portal (drive.google.com, onedrive.live.com, හෝ dropbox.com). Every cloud sync incident falls into one of three technical patterns:
| Attack or Accident Pattern | What You See in the Cloud Web Portal | Where Your Clean, Uncorrupted Files Are Stored Right Now |
|---|---|---|
Pattern 1: Ransomware Rename + Delete (e.g., Report.docx disappears and Report.docx.akira + README_RESTORE.txt appear) |
Every folder is filled with new files bearing a .locked / .play / .blackbasta extension, while the original .docx, .pdf, සහ .jpg files are gone from the live folder view. |
Because the ransomware created a new file with a new extension and deleted the original file, 100% of your clean original files are sitting inside the Cloud Trash / Recycle Bin. They do not even need per-file version rollback; they just need to be restored from the Trash (or rolled back via Restore your OneDrive / Dropbox Rewind) |
Pattern 2: Ransomware In-Place Overwrite (e.g., Report.docx keeps its exact name .docx, but opens as unreadable gibberish) |
Filenames and extensions look normal, and Date Modified shows today's timestamp, but opening any file fails with a corruption error. |
The cloud server treated the ransomware encryption as an edit to the existing file. Your clean original file is sitting intact as Version 1 (or the previous revision) inside that file's Version History / Manage Versions stack. |
Pattern 3: Accidental Mass Deletion or rsync --delete / Sync Folder Move |
Entire folders (2020-2026 Taxes, Client Projects) vanish across all synced computers simultaneously. |
1. Cloud Trash / Recycle Bin (30 days on Personal; up to 93 days on Microsoft 365 SharePoint/OneDrive First + Second Stage Recycle Bin).2. Google Workspace Admin Vault / Drive Audit Restore (පරිශීලකයෙකු විසින් කුණු කූඩය හිස් කළ පසු අමතර දින 25ක් සඳහා පරිශීලකයාගේ ස්ථිරව ඉවත් කළ කුණු කූඩය ප්රතිසාධන කිරීමට පරිපාලකයෙකුට ඉඩ දෙයි). 3. Local Offline Caches on secondary laptops kept in Airplane Mode. |
Phase 2: Platform-by-platform cloud rollback and bulk version recovery¶
Follow the exact recovery procedure for your cloud provider from a clean, uninfected browser.
1. Microsoft OneDrive & SharePoint Online (Restore Your OneDrive & 2-Stage Recycle Bin)¶
Microsoft engineered OneDrive specifically to survive ransomware encryption and mass sync deletions:
- Method A: Whole-Account Point-in-Time Rollback (
Restore your OneDrive): - Available on Microsoft 365 Personal, Family, Business, and Enterprise (
SharePoint Onlinedocument libraries): - Sign into
onedrive.live.com(හෝ ඔබේ Microsoft 365 OneDrive වෙබ් ද්වාරය) පිරිසිදු පරිගණකයක. - Click the Settings Gear icon (top-right corner) -> select
Options-> ක්ලික් කරන්නRestore your OneDrivein the left navigation pane (on SharePoint team sites, clickSettings Gear -> Restore this library). - Under
Select a date, chooseYesterday(හෝCustom date and time). - Look at the Activity Histogram Bar Chart: you will see a massive spike on the timeline marking the exact minute the ransomware encryption or mass deletion began.
- Drag the timeline slider to the left of that spike (so every malicious file rename, overwrite, and deletion created after that minute is checked for undo).
- Click
Restore. Microsoft's servers will automatically undo every file modification, delete the newly created ransomware.lockedfiles, and restore all deleted original files back to their exact folder structure from before the incident. - Method B: The Hidden "Second-Stage Recycle Bin" (When the normal Recycle Bin was emptied):
- What if an attacker (or an automated script) logged into your OneDrive/SharePoint web interface and clicked
Empty recycle bin? - On OneDrive for Business / SharePoint Online (and Microsoft 365 accounts), emptying the primary Recycle Bin does NOT delete your files. Instead, it moves them into a hidden Second-Stage Recycle Bin (
Site Collection Recycle Bin) where they remain protected for up to 93 days total:- විවෘත කරන්න
Recycle binin the left sidebar of OneDrive. - Scroll all the way to the very bottom of the page and click the small link reading:
Can't find what you're looking for? Check the Second-stage recycle bin. - Select all files and click
Restore.
- විවෘත කරන්න
2. Dropbox (Dropbox Rewind, Events Rollback, and Deleted Files)¶
- Method A: Using
Dropbox Rewindto Roll Back Entire Folders or Your Whole Account: - Available on Dropbox Plus, Family, Professional, and Business plans (
30 daysදක්වා180 dayslookback): - Sign into
dropbox.comon a clean browser. - To rewind your entire Dropbox account at once, hover over the
All filesheader (or click the...(තවත් ක්රියා) විශේෂිත ෆෝල්ඩරයක් තෝරා නොමැති විට දකුණු පස ක්රියා පුවරුවේ මෙනුව) සහ ** ක්ලික් කරන්නRewind this folder** (හෝRewind Dropbox). - Click
Get started-> ransomware හෝ මකාදැමීම සිදු වූ විට ස්පයික් සොයා ගැනීමට දිනෙන් දින ක්රියාකාරකම් ප්රස්ථාරය දෙස බලන්න -> ** පැයෙන් පැය / මිනිත්තුවෙන් මිනිත්තු කාලරාමුව වෙත විශාලනය කිරීමට එදින ක්ලික් කරන්න**. - Position the blue vertical line just before the bad event started, click
Continue, and clickRewind. - Dropbox will revert all overwritten files, purge the newly added ransomware notes, and resurrect all deleted folders in place.
- Method B: What if you are on a Free
Dropbox Basicaccount (whereDropbox Rewindis locked)? - Important: Even on a free
Dropbox Basic(2 GB) account, Dropbox still retains full 30-dayVersion Historyand 30-dayDeleted Filesrecovery for every single file on their servers. - Option 1 (Free Manual Recovery): Click
Deleted filesin the left sidebar ofdropbox.comto filter by date and bulk-restore deleted originals; or click...->Activity -> Version historyon any overwritten file to restore the previous clean revision. - Option 2 (Instant
Dropbox PlusUpgrade Unlock): Because Dropbox records the underlying event log on all accounts regardless of tier, upgrading aDropbox Basicaccount toDropbox Plus($11.99for 1 month) after an incident unlocks theDropbox RewindUI over the past 30 days of already-recorded file events.
3. Google Drive & Google Workspace (Trash, Manage Versions, Admin Console 25-Day Post-Trash Recovery, and Bulk API Rollback)¶
Unlike OneDrive and Dropbox, Google Drive does not have a single one-click "Rewind Entire Drive" button in the consumer UI, so you must use the right recovery method depending on whether the files were deleted or overwritten in place:
- Recovering Deleted Originals from Google Drive
Trash(For Rename+Delete Ransomware or Mass Deletion): - විවෘත කරන්න
drive.google.com/drive/trashin a desktop browser. - Click the
Trashed datecolumn header to sort the most recently deleted files to the top. - Click the first clean file deleted by the ransomware/accident, scroll down, hold
Shift+ click the last file in the batch, right-click, and selectRestore(Ctrl + Zor the Restore clock icon). Every file returns directly to its original nested parent folder. - What if the Google Drive
Trashwas already Emptied? (Google One Support&Google Workspace Admin 25-Day Rescue): - Google Workspace (Business, Enterprise, Education, Nonprofits): Even after a user clicks
Empty trash->Delete forever, Google's servers retain the purged files for an additional 25 days. Log intoadmin.google.comas a Super Admin -> go toDirectory -> Users-> click the affected user -> scroll down toMore options(or click the left panel under the user summary) -> clickRestore data-> select the Date Range (up to 25 days back), selectDriveas the application, and clickRestore. - පුද්ගලික Gmail / Google One ගිණුම්: ඔබේ පුද්ගලික Google Drive කුණු කූඩය පසුගිය දින 25 ඇතුළත හිස් කර ඇත්නම්, නැති ධාවකයට නව දත්ත ලියන්න; වහාම විවෘත කරන්න
support.google.com/drive/gethelp(හෝ Google One සහාය කතාබස්) සහ පරිපාලන Drive මකා දැමූ ගොනු ප්රතිසාධනයක් ඉල්ලන්න. Google හි ආධාරක මෙවලම පාරිභෝගික ගිණුම් සඳහා හරියටම දින 25ක පශ්චාත් කුණු පසුතල ප්රතිසාධනය ක්රියාරම්භ කළ හැක. - Bulk-Restoring Overwritten Files Using
Manage Versionsor the Google Drive API (rclone/ Python): - For Google Docs, Sheets, and Slides: Open the file -> click
File -> Version history -> See version history(Ctrl + Alt + Shift + H) and restore yesterday's timestamp. - For binary files (
PDF,DOCX,XLSX,JPG,ZIP) overwritten in place: Right-click the file in Google Drive ->File information -> Manage versions, where Google retains older versions for 30 days (or 100 versions). - If thousands of binary files were overwritten in place: Do not click
Manage versions10,000 times by hand. Usercloneor a Google Apps Script / Drive API v3revisions.list+revisions.deletescript:- In Google Drive API v3, when an existing file is overwritten with a bad new version (Revision
N), callingDrive.Revisions.remove(fileId, latestRevisionId)deletes only the malicious top revision created today, automatically promoting yesterday's clean RevisionN - 1back to be the active current file across all folders:// Run inside script.google.com (with Advanced Drive Service v3 enabled) to roll back files modified after cutoffTime function rollbackOverwrittenFiles() { const cutoff = new Date("2026-11-01T00:00:00Z"); // Set to 5 minutes BEFORE the ransomware started const files = DriveApp.searchFiles('modifiedDate > "2026-11-01T00:00:00" and trashed = false'); while (files.hasNext()) { const file = files.next(); const revs = Drive.Revisions.list(file.getId()).revisions; if (revs && revs.length > 1) { const latest = revs[revs.length - 1]; if (new Date(latest.modifiedTime) > cutoff) { Drive.Revisions.remove(file.getId(), latest.id); } } } }
- In Google Drive API v3, when an existing file is overwritten with a bad new version (Revision
- Apple
iCloud Drive(iCloud.com/recovery30-Day Data Recovery): - Even if files were deleted from iCloud Drive and purged from the
Recently Deletedfolder on your Mac or iPhone, log intoicloud.com/recoveryin a web browser: - Click
Restore Files-> checkSelect All(or filter by date deleted) and clickRestore. Apple's backend server maintains a separate 30-day recovery vault that restores deleted iCloud Drive documents, Desktop/Documents folders, Bookmarks, Contacts, and Calendars.
Phase 3: Harvesting local offline caches from secondary devices and Google DriveFS / Windows Shadow Copies¶
Before reconnecting any computer to the internet, check whether your local hard drives still hold uncorrupted copies of your files:
| Desktop Sync Client | Exact Local Cache & Hidden Staging Path | How to Rescue Clean Files Offline |
|---|---|---|
Google Drive for Desktop (DriveFS) |
Windows: %LocalAppData%\Google\DriveFS\<AccountID>\content_cache\macOS: /Users/<Username>/Library/Application Support/Google/DriveFS/<AccountID>/content_cache/ |
Even in Stream files mode, Google Drive caches every recently opened file inside numbered subdirectories under content_cache (stored as extensionless binary blobs matching the exact original file contents). Copy the entire content_cache folder to an external drive and run the file command or bulk-extension restoration (TrID / ExifTool) to recover cached documents and photos. |
Microsoft OneDrive (Files On-Demand) |
Windows: C:\Users\<Username>\OneDrive\ + Local Windows Recycle Bin ($Recycle.Bin) + Windows Volume Shadow Copies (vssadmin) |
When another device deletes a file on OneDrive and your PC syncs that deletion, OneDrive on Windows moves your local copy into your local Windows Desktop Recycle Bin rather than deleting it directly. Check the local Windows Recycle Bin on every synced PC while offline. |
| Dropbox Desktop App | Windows: C:\Users\<Username>\Dropbox\.dropbox.cache\macOS / Linux: /Users/<Username>/Dropbox/.dropbox.cache/ |
Dropbox maintains a hidden .dropbox.cache folder inside the root of your local Dropbox directory where recently deleted or modified file chunks are staged for up to 3 days before local purge. Enable Show Hidden Files while offline and copy .dropbox.cache to a USB drive immediately. |
Apple iCloud Drive (macOS) |
/Users/<Username>/Library/Mobile Documents/ (CloudDocs folder) |
If you have a Mac with Time Machine enabled (or local APFS ඔබගේ අභ්යන්තර SSD මත Time Machine snapshots), නොබැඳි අතරතුර ටර්මිනලය විවෘත කර ධාවනය කරන්න tmutil listlocalsnapshots /. ඔබට ඊයේ දේශීය සවි කළ හැකිය APFS snapshot සහ සම්පූර්ණ uncorrupted පිටපත් කරන්න CloudDocs iCloud Drive ෆෝල්ඩරය ඔබගේ Mac හි අභ්යන්තර SSD වලින් ඉවතට. |
Phase 4: Safe reconnection protocol (How to bring cleaned computers back online without re-corrupting the cloud)¶
One of the most common mistakes in cloud recovery happens after you successfully restore your files in the cloud web interface: the user turns their laptop back on, the local sync client wakes up, sees 20,000 .locked ransomware ගොනු (හෝ හිස් ෆෝල්ඩර) දේශීය දෘඪ තැටියේ වාඩි වී, සහ ** දූෂණය අලුතින් ප්රතිසාධනය කරන ලද වලාකුළු ධාවකය වෙත සමමුහුර්ත කරයි**.
Follow this strict reconnection checklist:
1. On the computer that caused the incident (Ransomware or Accidental Script):
- If hit by Ransomware: Never reconnect that OS installation to your cloud account. After imaging the drive for forensics or rescuing any unbacked-up local-only files, completely wipe the SSD (Secure Erase / delete all partitions) and clean-install Windows or macOS from a known-good USB installer built on a separate computer.
- Change your Google, Microsoft, Dropbox, and Apple account passwords and review Account Security -> Devices සහ Third-Party App Permissions to verify no infostealer session cookies remain active.
2. On secondary computers before turning Wi-Fi back on:
- If you already restored the cloud drive to a clean state via Restore your OneDrive හෝ Dropbox Rewind:
1. Boot the secondary computer with Wi-Fi still OFF.
2. Disable OneDrive / Dropbox / Google Drive in Startup Apps (Task Manager -> Startup apps) so the sync daemon cannot launch automatically.
3. Rename the local C:\Users\<Name>\OneDrive (හෝ Dropbox) folder to OneDrive_OLD_LOCAL_BACKUP.
4. Turn Wi-Fi back on, launch the cloud sync app, let it unlink and relink cleanly, and allow it to download the freshly restored clean cloud state into a brand-new folder.
3. Restoring Windows Volume Shadow Copies (Previous Versions) and macOS APFS Local Snapshots on the Source PC¶
What if a folder that was encrypted or deleted was excluded from cloud sync (such as a local Desktop folder or a file larger than the sync limit), or the cloud sync client had not finished uploading last week's edits before the crash?
1. On Windows 10 / 11 (ShadowExplorer & vssadmin):
- While many ransomware families attempt to run vssadmin.exe delete shadows /all /quiet, User Account Control (UAC), Endpoint Detection and Response (EDR), or non-admin execution frequently blocks the shadow copy wipe.
- Run Command Prompt as Administrator on the isolated machine and type:
Shadow Copy Volume (\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1) is listed, link it to a browseable directory (mklink /d C:\ShadowRescue \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1\) or open ShadowExplorer to copy out the pristine pre-attack folders.
2. On macOS (tmutil Local APFS Time Machine Snapshots):
- Even when an external Time Machine backup drive is not plugged into a MacBook, macOS automatically creates hourly local read-only APFS snapshots on the internal SSD (com.apple.TimeMachine.2026-11-01-xxxx.local). Because APFS snapshots are mounted read-only at the kernel filesystem level, user-space ransomware and rm -rf scripts cannot modify them.
- Boot into macOS Recovery (Cmd + R or holding the Power button on Apple Silicon) -> Restore from Time Machine -> select your internal Macintosh HD disk to roll the entire Mac SSD back to the hourly snapshot taken 15 minutes before the deletion or ransomware infection occurred.
නිතර අසන ප්රශ්න¶
Does paying the ransomware gang's decryptor ransom make sense if my files are synced to OneDrive, Dropbox, or Google Drive?¶
Almost never. Unlike a standalone unbacked-up local hard drive, cloud storage services (OneDrive, Dropbox, Google Drive, Box, සහ iCloud Drive) store files on immutable object storage backends where every modification creates a new object version and every deletion moves the object to a 30-day (or 93-to-180-day) trash container. Whether the ransomware overwrote your files in place or created new .locked files and deleted the originals, 100 percent of your unencrypted original files are still sitting on the cloud provider's servers inside Version History or the Trash. Using Restore your OneDrive, Dropbox Rewind, or Google Drive Trash and Revision recovery restores your exact pre-attack files for free with zero risk of broken ransomware decryptors.
Why did ransomware on my Windows PC manage to encrypt my Google Drive or OneDrive in the first place? Doesn't the cloud protect against malware?¶
To make cloud files work with desktop programs like Microsoft Word, Excel, Photoshop, and AutoCAD, desktop sync clients (Google Drive for Desktop, OneDrive.exe, Dropbox.exe) mount your cloud storage as a local folder or virtual drive letter (G:\ හෝ C:\Users\Name\OneDrive) under your Windows user permissions. When ransomware executes under your Windows user account, it has the exact same file-modification permissions you do: it walks every mounted drive letter (C:\, D:\, G:\) and user folder, reading each file, encrypting it, and saving it. Even files set to "Online-Only / Stream Files" (Files On-Demand) get automatically downloaded ("hydrated") on the fly by Windows whenever the ransomware process opens the file handle to read it. That is why unplugging the network immediately is critical: it breaks the on-demand hydration download of online-only cloud files before the ransomware can read them.
What if I accidentally deleted a massive Shared Folder in Google Drive or Dropbox, and other team members owned some of the files inside it?¶
In Dropbox, any member with edit permissions can use Deleted files හෝ Dropbox Rewind on the shared folder to restore the entire folder hierarchy for the whole team. In Google Drive, ownership architecture is unique: when you delete a subfolder inside someone else's Shared Folder (where they are the Owner and you are an Editor), removing the file from the shared folder orphans the file rather than trashing it for the owner, or moves only the files you own into your Trash (drive.google.com/drive/trash) while files owned by your colleague go into their Trash (or become orphaned in their root Drive searchable via is:unorganized owner:me in the Google Drive search bar).
Can ransomware delete my Cloud Version History or empty my OneDrive / Google Drive Recycle Bin automatically?¶
Standard file-system ransomware binaries (LockBit, අකිරා, BlackCat, සෙල්ලම් කරන්න, ෆෝබෝස්) දේශීය Windows ගොනු පද්ධති API හරහා සම්පූර්ණයෙන්ම ක්රියා කරයි (CreateFileW, WriteFile, මකන්න ගොනුව) සහ බැහැ අන්තර්ජාලය සමඟ පමණක් අන්තර් ක්රියා කරන්න අනුවාද ඉතිහාසය, දෙවන අදියර ප්රතිචක්රීකරණ බඳුන, හෝ Google Workspace පරිපාලක සුරක්ෂිතාගාරය. කෙසේ වෙතත්, ප්රහාරකයා ද යෙදවූයේ නම් ඉන්ෆොස්ටීලර් (ලුම්මා, RedLine) හෝ අන්තර්ක්රියාකාරී දුරස්ථ ඩෙස්ක්ටොප් එකක් තිබුනා (RDP / ඕනෑම ඩෙස්ක්) ඔබගේ විවෘත වෙබ් බ්රවුසරයට ප්රවේශ වීම, ඔවුන් ඔබගේ බ්රවුසරය අතින් විවෘත කර ක්ලික් කළ හැක කුණු කූඩය හිස් කරන්න. ඔවුන් එසේ කළත්, අවසාන පසුපස නැවතුම් දෙක මතක තබා ගන්න: (1) ඔන් OneDrive / SharePoint, හිස් කළ අයිතම යන්න දෙවන අදියර ප්රතිචක්රීකරණ බඳුන දින 93 දක්වා; සහ (2) මත Google Drive / Google Workspace, හිස් කළ අපද්රව්ය අයිතම Workspace පරිපාලකයෙකුට හෝ Google One සහාය සඳහා නැවත ලබාගත හැකිව පවතී ස්ථිර මකාදැමීමෙන් දින 25 කට පසුව.
අදාළ මාර්ගෝපදේශ¶
- Ransomware සහ අනිෂ්ට මෘදුකාංග: ක්ෂණික හුදකලාව සහ ප්රතිසාධනය
- Accidental file deletion, formatted drive, and photo recovery
- දූෂිත Word, Excel, PDF, හෝ දත්ත සමුදා ගොනුව සහ නොසුරකින ලද ලේඛන ප්රතිසාධනය
- Computer backups: 3-2-1 strategy and disaster recovery
- Session cookie hijacking, infostealer malware, and passkey revocation
- රට අනුව හදිසි අංක
මූලාශ්ර සහ නිල මාර්ගෝපදේශ¶
- Microsoft නිල සහාය (
support.microsoft.com/en-us/office/restore-your-onedrive-fa231298-759d-41cf-bcd0-25ac53eb8a15): ඔබේ OneDrive ප්රතිසාධනය කරන්න (දින 30-කාලයට පෙරළීමේ හිස්ටෝග්රෑම්, Ransomware හඳුනාගැනීමේ ඇඟවීම්, සහ පළමු/දෙවන-අදියර SharePoint ප්රතිචක්රීකරණ බඳුන ප්රතිසාධනය). - Dropbox නිල උපකාර මධ්යස්ථානය (
help.dropbox.com/delete-restore/rewind&recover-older-versions): Ransomware හෝ Mass මකාදැමීම් අහෝසි කිරීමට Dropbox Rewind භාවිතා කිරීම, දින 30 සිට 180 දක්වා අනුවාද ඉතිහාසය, සහ.dropbox.cacheවේදිකාගත කිරීම. - Google Workspace පරිපාලක උදවු සහ Google Drive නිල ලේඛන (
support.google.com/a/answer/6052340&developers.google.com/drive/api/reference/rest/v3/revisions): පරිපාලක කොන්සෝලය සහ Drive API v3 හරහා දින 25ක් ඇතුළත ස්ථිරවම මකා දැමූ Google Drive දත්ත ප්රතිසාධනය කිරීමrevisionsකළමනාකරණය. - සයිබර් ආරක්ෂණ සහ යටිතල පහසුකම් ආරක්ෂණ නියෝජිතායතනය (
CISA/StopRansomware.gov): Cloud Storage Sync Isolation සහ Post-Ransomware Version Rollback Best practices.