I-Ransomware okanye ukucinywa kweMisa ngeNgozi kwi-Google Drive, i-OneDrive, okanye iDropbox Syncing iiFayile ezonakeleyo kuzo zonke izixhobo (iMbali yeeNtsuku ezingama-30 kunye neVault Rewind)¶
Amanani kaxakeka ayohluka ngokwamazwe. Eli phepha lisebenzisa u-911, inani laseMelika naseKhanada. Amanye amazwe amaninzi asebenzisa i-112, 999, okanye elinye inani. Fumana inombolo yelizwe lakho.
Ukubukela i-icon yokuvumelanisa kwibar yomsebenzi yeWindows okanye kwibar yemenyu ye-macOS ijikeleza ngokukhawuleza njengamawakawaka amaxwebhu eshishini, iirekhodi zerhafu, iifoto zosapho, kunye neefayile zekhowudi yomthombo ngaphakathi. Google Drive for Desktop, Microsoft OneDrive, Dropbox, okanye iCloud Drive mhlawumbi ziguqulelwe ngokufihlakeleyo yiransomware (.locked, .bianlian, .akira, .play, .lockbit) okanye icinywe ngoqwalaselo olungalunganga rsync --delete, utsalo-uwise incwadi eneenkcukacha ngempazamo, okanye umbhalo okhohlakeleyo yintlekele yedata ephezulu. Ngenxa yokuba abaxhasi bongqamaniso bedesktop yelifu benzelwe uphindaphindo lwexesha lokwenyani (inotify kwiLinux, FSEvents kwi-macOS, kunye ReadDirectoryChangesW / Cloud Filter API kwi-Windows), i-ransomware binary okanye ngempazamo Shift + Delete kwi ilaptop enye eyosulelekileyo isasazwa ngokukhawuleza ukuya kwiseva yelifu kwaye ityhilwe phantsi ukuya ** kuyo yonke enye idesktop, ilaptop, kunye nefolda yeqela ekwabelwana ngayo eqhagamshelwe kuloo akhawunti ** ngaphakathi kwemizuzwana.
Nangona kunjalo, iinjini zongqamaniso zamafu azikho** bhala ngaphezulu kwediski ekrwada: ngasemva kwemifanekiso, Microsoft OneDrive, Dropbox, Google Drive, kwaye Box gcina ukugcinwa kwento engaguqukiyo ye-server-side nge 30-day ukuya kwi-180-day point-in-time Version Histories, I-Second-Stage Recycle Bins, kunye nezixhobo zokubuyisela i-akhawunti epheleleyo (OneDrive Restore Your OneDrive kwaye Dropbox Rewind). Ngalo lonke ixesha ususa ikhompyuter eyosulelekileyo kwinethiwekhi, nqumama ukuvumelanisa koomatshini besibini ukuze uvune i-cache yasekhaya engaxhunyiwe kwi-intanethi, kwaye uthintele umgibe obulalayo wokuphinda ulayishe iifayile ezifihliweyo kwi-quota yembali yenguqulelo yakho, ungaqengqeleka lonke ilifu lakho libuyele kumzuzu ochanekileyo ngaphambi kokuba uguqulelo oluntsonkothileyo okanye ukucima kuqale ngaphandle kokuhlawula isenti yentlawulelo. Ngokuqulathwe kumatshini wasekhaya we-malware kunye nokukrolwa kwenkqubo yeefayile, jonga izikhokelo zethu iransomware kunye nempendulo ye-malware, ucimo lwefayile ngempazamo kwaye ifomathiwe drive recovery, kwaye i-computer backups: isicwangciso se-3-2-1 kunye nokubuyiswa kweentlekele. Ukuba uhlaselo lwe-ransomware lubetha isibhedlele, ikliniki, okanye inethiwekhi yokuthumela ngokukhawuleza, vula ngokukhawuleza iinkqubo zeklinikhi ezingasebenziyo kwaye ufowunele inombolo yakho kaxakeka yendawo (911 eUnited States naseKhanada, 112 kwiManyano yaseYurophu, 999 eUnited Kingdom) okanye jonga uluhlu lwethu lwe amanani kaxakeka.
Yenza oku ngoku¶
- Khupha intambo ye-Ethernet kwaye ucime i-Wi-Fi kwimithombo yekhompyuter NGOKUNGOKO (phambi kokuvala usetyenziso okanye ucofe nantoni na):
- Kutheni ukusika inethiwekhi kugcina ivault yakho yelifu: Rhoqo isekhondi eyosulelekileyo okanye ecimayo ihlala ikwi-intanethi, umxhasi we-desktop sync (
OneDrive.exe,GoogleDriveFS.exe,Dropbox.exe) ilayisha enye i-50 kwi-200 efihliweyo okanye isusiwe imisebenzi yefayile ngomzuzwana kwi-API yefu. Ukusika i-Wi-Fi kunye ne-Ethernet kumisa umgca wokulayisha ilifu kwiindlela zayo. - Hamba uye KUYO YONKE ilaptop, idesktop, ithebhulethi, kunye nefowuni eqhagamshelwe kwiakhawunti enye yelifu kwaye uCime iWi-Fi / Ethernet PHAMBI kokuvusa izikrini zabo:
- **Ilaptop yakho yesibini engaxhunyiwe kwi-intanethi lixesha le-pristine capsule **: Ukuba ideskithophu yakho yasekhaya okanye iMacBook yesibini ibilele ebhegini yakho ukusukela izolo, indawo yayo yasekhaya.
OneDrive,Dropbox, okanyeGoogle Drive(Mirror files/Always keep on this device) incwadi eneenkcukacha isabambe iipesenti ezili-100 ezingafihlwanga, iikopi ezingachukunyiswanga zeefayile zakho. - Ukuba uvusa laa laptop yesibini ngelixa i-Wi-Fi ivuliwe, i-daemon yongqamaniso yelifu iqhagamshela ngoko nangoko, ikhuphele ukucinywa okukhulu okanye i-ransomware ciphertexts kwiseva, kwaye itshabalalise loo kopi yasekhaya ecocekileyo ngaphantsi kwemizuzwana engama-60. Cima irutha yakho yeWi-Fi yasekhaya (khupha intambo yayo yamandla) ngaphambi kokuba uvuse nayiphi na ikhompyuter yesibini, emva koko ukope iifolda zasekhaya kwi-USB drive yangaphandle ngelixa ungaxhunyiwe kwi-intanethi.
- Ukuba unobangela yiRansomware, tsala intambo yamandla (okanye nyanzela-ubambe iqhosha laMandla imizuzwana eyi-10) kwiPC eyosulelekileyo; ukuba unobangela kuKucinywa ngeNgozi kwi-SSD, yishiye yodwa kwaye uhlise/umise ungqamaniso lwedaemon:
- I-Ransomware: Amandla okutsala amisa imisonto yoguqulelo oluntsonkothileyo (
AES/ChaCha20abasebenzi) ukusuka kuguqulelo oluntsonkothileyo kwiifolda ezingafihlwanga eziseleyo kwidrive yakho yobulali kwaye igcina izitshixo ze-RAM eziguquguqukayo ukuba uhlalutyo lwenkumbulo yomthetho luyafuneka. - Ukucinywa ngengozi: Bulala
OneDrive.exe/Dropbox.exe/GoogleDriveFS.exekuMphathi woMsebenzi (Ctrl + Shift + Esc) okanye Jonga uMsebenzi ngoko nangoko ukuze umxhasi wendawo ayeke ukukrobaDELETEIifowuni ze-API. - ** SUKUZIcima ngesandla iifayile ezifihliweyo ze-ransomware (
.locked) kujongano lwewebhu yelifu ukuba i-malware ithiyye ngokutsha izandiso zefayile**: - Qonda indlela i-ransomware enxibelelana ngayo nokugcinwa kwelifu:
- Imeko A: Bhala phezu kwendawo (Igama leFayile enye): I-ransomware inoguqulelo oluntsonkothileyo
Tax_2025.xlsxkwaye ugcine umvuzo ofihliweyo phantsi kwegama elifanayoTax_2025.xlsx. Apha, inkonzo yelifu iphatha ifayile efihliweyo njenge Uguqulelo 2, ngelixa ifayile yakho yoqobo ecocekileyo ihleli ngokukhuselekileyo ngaphantsi njenge Uguqulelo 1 ngaphakathiVersion History. - Ityala B: Qamba ngokutsha + Cima Eyokuqala (
Tax_2025.xlsx.lockbit): Uninzi lweransomware yale mihla iyafundekaTax_2025.xlsx, ibhala ifayile entsha enegamaTax_2025.xlsx.lockbit, kwaye icima eyokuqalaTax_2025.xlsx. Apha, imvelaphi yakho ecocekileyoTax_2025.xlsxihleli ngaphakathi kwe- ** Cloud Trash / Recycle Bin ** (kunye ne-point-in-time rollback akhawunti).
- Imeko A: Bhala phezu kwendawo (Igama leFayile enye): I-ransomware inoguqulelo oluntsonkothileyo
- Ngena kwiwebhu yewebhu portal (
onedrive.live.com,dropbox.com,drive.google.com,icloud.com) kwisixhobo ESICACILEYO, ESINGACHATHANGA (njenge-smartphone ekwidatha yeselula okanye ikhompyutha ekwanti): - Ungaze uphinde ungene kwiakhawunti yakho yelifu ukusuka kwikhompyuter eyosulelwe yi-ransomware, kwaye kwangoko ** urhoxise iseshoni yesixhobo se-OAuth yekhompyuter eyosulelekileyo** phantsi kwekhasi lakho loKhuseleko likaGoogle, iMicrosoft, okanye iakhawunti yeDropbox ukuze iPC eyosulelekileyo ingakwazi ukuphinda ivumelanise ukuba umntu uyayivula kwakhona.
- Sebenzisa uBuyiselo kwiAkhawunti yePoint-in-Time (
Restore your OneDriveokanyeDropbox Rewind) endaweni yokubuyisela 50,000 iifayile nganye nganye: - Zombini iMicrosoft OneDrive kunye neDropbox zibandakanya umatshini wexesha leakhawunti ezenzekelayo eqengqa yonke ifolda, uguqulelo lwefayile, kunye nento ecinyiweyo kuyo yonke idrayivu yakho ubuyela kwisitampu sexesha esithile (
1 hour ago,Yesterday at 11:00 PM, okanye ukuya kuthi ga30 to 180 days ago) kumsebenzi wecala lomncedisi omnye.
Danger
I-"100-Version Limit" I-Ransomware Exhaustion Trap: Kwi-Google Drive kunye noqwalaselo lweshishini oluninzi lwe-SharePoint/OneDrive, iifayile zomntu ngamnye zigcina ubuninzi be-100 yeenguqulelo zembali (okanye iintsuku ezingama-30). Iintlobo ezithile zeransomware eziphucukileyo ziguqula ngabom kwaye zigcine ifayile nganye izihlandlo ezili-105 ngokulandelelana ukutyhala inguqulelo yokuqala ecocekileyo 1 ukusuka ezantsi kwisitaki soguqulelo. Ukusika uqhagamshelo lwe-intanethi kwindawo yokusebenza eyosulelekileyo kwimizuzu embalwa yokuqala kuthintela i-malware ekugqibezeleni iilophu ezininzi zokudinwa.
Umthi wesigqibo: isiqulatho sentlekele yokuvumelanisa ilifu kunye nenqaku lokubuyiswa kwexesha¶
Yenza olu hambo lukaxakeka ukumisa ukusasazwa kwesixhobo esinqamlezileyo kwaye ubuyisele imeko yakho yelifu ecocekileyo:
flowchart TD
Start["Uguqulelo Oluntsonkothileyo lweRansomware OKANYE Ukucinywa koBuninzi ngeNgozi Ukungqinelaniswa Kuwo wonke iLifu Drive"] --> CutNet["INYATHELO 1: Khipha i-Ethernet kwaye Cima i-Wi-Fi kuMthombo weKhompyutha Ngoko nangoko (Okanye Khupha iNtambo yaMandla yoMbane weWi-Fi)"]
CutNet --> SaveSecondaries["INYATHELO 2: Gcina zonke iiLaptop eziziSekondari / iiPC zingaxhunyiwe kwi-intanethi (iMowudi yeNqwelomoya) -> Khuphela iiFolder zeCache zabo zeNdawo ethi 'OneDrive / Dropbox / Google Drive' kwi-USB yangaphandle"]
SaveSecondaries --> RevokeSession["INYATHELO 3: Ukusuka kwifowuni ecocekileyo/isikhangeli, Vula uKhuseleko lweAkhawunti (iGoogle / iMicrosoft / iDropbox) -> Hlula / ungaqhathanisi iSeshini yeDesktop Sync yePC eyosulelekileyo"]
RevokeSession --> WhichCloud{"Leliphi iQonga lokuGcina iLifu elibethiweyo?"}
WhichCloud -->|"Microsoft OneDrive / SharePoint (Personal okanye Microsoft 365)"| OneDriveRestore["Sebenzisa 'Useto -> Iinketho-> Buyisela i-OneDrive yakho' (Ibuyisela umva lonke uHlelo, Ukutshintshwa kwamagama, kunye nokucinywa kwiakhawunti iyonke ukuya kuthi ga kwiiNtsuku ezingama-30) + Jonga i-1st kunye ne-2nd-Stage Recycle Bin"]
WhichCloud -->|"I-Dropbox (Plus, Family, Professional, Business, okanye Basic)"| DropboxRestore["Sebenzisa 'i-Dropbox Rewind' kwiSiqulathi seeNgcawu zeNgcambu (Ibuyisela umva iAkhawunti Iyonke ukuya kuMzuzu ngokuthe ngqo phambi koHlaselo) OKANYE Sebenzisa 'iifayile ezicinyiweyo' + 'Iziganeko' Log (iiNtsuku ezingama-30 ukuya kweziyi-180)"]
WhichCloud -->|"I-Google Drive (iGmail yoBuntu okanye iGoogle Workspace)"| GDriveRestore["1. Hlela 'Inkunkuma' ngokuthi 'Umhla wokuLahlwa' ukuya kwiBulk-Buyisela iNdawo yokuqala ecinyiweyo. 2. NgeeFayile eziBhalwe ngaphezulu: Cofa-Ekunene -> 'Ulwazi lwefayile -> Lawula iinguqulelo' OKANYE Qhuba i-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, okanye 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, kwaye .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 (allows an admin to restore a user's permanently purged Trash for an extra 25 days after the user emptied the Trash). 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(or your Microsoft 365 OneDrive web portal) on a clean computer. - Click the Settings Gear icon (top-right corner) -> select
Options-> clickRestore your OneDrivein the left navigation pane (on SharePoint team sites, clickSettings Gear -> Restore this library). - Under
Select a date, chooseYesterday(orCustom 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:- Vula
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.
- Vula
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 daysukuya180 dayslookback): - Sign into
dropbox.comon a clean browser. - To rewind your entire Dropbox account at once, hover over the
All filesheader (or click the...(More actions) menu in the right-hand action panel when no specific folder is selected) and clickRewind this folder(orRewind Dropbox). - Click
Get started-> jonga kwigrafu yomsebenzi wemihla ngemihla ukufumana i-spike xa i-ransomware okanye ucimo lwenzekile -> cofa loo mini ukusondeza kwi yure-ngeyure / umzuzu ngomzuzu wexesha. - 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)¶
Ngokungafaniyo ne-OneDrive kunye ne-Dropbox, i-Google Drive ayinayo iqhosha elinye lokucofa "Buyisela i-Drive yonke" kwi-UI yabathengi, ke kufuneka usebenzise indlela yokubuyisela echanekileyo ngokuxhomekeke ekubeni iifayile zazicinyiwe ** okanye ** zibhalwe ngaphezulu endaweni **:
- Ukufumana kwakhona iiNdawo ezicinyiweyo kuGoogle Drive
Trash(Ukwenzela Ukuphinda Unike Igama+Cima iRansomware okanye Ukucinywa koMninzi): - Vula
drive.google.com/drive/trashkwi-browser yedesktop. - Cofa i
Trashed dateiheader yekholamu ukulungisa ezona fayile zisanda kususwa ukuya phezulu. - Cofa ifayile yokuqala ecocekileyo ecinywe yi-ransomware / ngengozi, skrolela ezantsi, ubambe **
Shift+ cofa ** ifayile yokugqibela kwibhetshi, cofa ekunene, kwaye ukhetheRestore(Ctrl + Zokanye Buyisela iwotshi icon). Yonke ifayile ibuyela ngqo kwisiqulathi seefayili saso soqobo somzali. - Kuthekani ukuba i-Google Drive
Trashsele iGcitshiwe? (Google One Support&Google Workspace Admin 25-Day Rescue): - I-Google Workspace (iShishini, iShishini, iMfundo, iiNgeniso): Nasemva kokuba umsebenzisi ecofa
Empty trash->Delete forever, iiseva zikaGoogle zigcina iifayile ezicociweyo ezongezelelweyo iintsuku ezingama-25. Ngenaadmin.google.comnjengoMlawuli oPhezulu -> yiya kuDirectory -> Users-> cofa umsebenzisi ochaphazelekayo -> skrolela ezantsi kuMore options(okanye ucofe indawo yolawulo ekhohlo phantsi kwesishwankathelo somsebenzisi) -> cofaRestore data-> khetha Uluhlu lomhla (ukuya kuthi ga kwiintsuku ezingama-25 emva), khethaDrivenjengesicelo, kwaye ucofeRestore. - I-Gmail yoBuntu / iiAkhawunti zikaGoogle One: Ukuba iNkunkuma yeDrayivu kaGoogle yakho yalahlwa phakathi kweentsuku ** ezingama-25** zokugqibela, musa *ungabhali idatha entsha kwidrive; vula kwangoko
support.google.com/drive/gethelp(okanye i-Google One incoko yenkxaso) kwaye ucele Ulawulo lweDrayivu ecinyiweyo yoBuyiselo lweFayile. Isixhobo senkxaso sikaGoogle sinokubangela ukubuyisela umva we-backend yeentsuku ezingama-25 kwiakhawunti zabathengi. - Isixa-Buyiselo seeFayile eziBhalwe ngaphezulu usebenzisa
Manage Versionsokanye Google Drive API (rclone/Python): - KuGoogle Amaxwebhu, amaPhepha, kunye neZilayidi: Vula ifayile -> cofa
File -> Version history -> See version history(Ctrl + Alt + Shift + H) kwaye ubuyisele isitampu sexesha sayizolo. - Yeefayile zokubini (
PDF,DOCX,XLSX,JPG,ZIP) ibhalwe ngaphezulu endaweni: Cofa ekunene ifayile kwiGoogle Drive ->File information -> Manage versions, apho iGoogle igcina iinguqulelo ezindala iintsuku ezingama-30 (okanye iinguqulelo ezili-100). - Ukuba amawaka eefayile zokubini ziye zabhalwa ngaphezulu endaweni: Sukucofa
Manage versions10,000 amaxesha ngesandla. Sebenzisarcloneokanye a Google Apps Script / Drive API v3revisions.list+revisions.deleteumbhalo:- KuGoogle Drive API v3, xa ifayile ekhoyo ibhalwe ngaphezulu ngoguqulelo olutsha olubi (Uhlaziyo
N), efowunaDrive.Revisions.remove(fileId, latestRevisionId)icima kuphela uhlaziyo olukhohlakeleyo oluphezulu olwenziwe namhlanje, ukukhuthaza ngokuzenzekelayo uHlaziyo olucocekileyo lwayizoloN - 1umva ukuba yifayile yangoku esebenzayo kuzo zonke iincwadi ezineefayili:// 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); } } } }
- KuGoogle Drive API v3, xa ifayile ekhoyo ibhalwe ngaphezulu ngoguqulelo olutsha olubi (Uhlaziyo
- Apile
iCloud Drive(iCloud.com/recoveryIintsuku ezingama-30 zokuBuyiselwa kweDatha): - Nokuba iifayile zicinywe kwi-iCloud Drive kwaye zicocwe kwifayile
Recently Deletedifolda kwiMac okanye kwi-iPhone yakho, ngena kuicloud.com/recoverykwibhrawuza yewebhu: - Click
Restore Files-> khangelaSelect All(okanye icwecwe ngomhla wokucinywa) kwaye ucofeRestore. Iseva ye-backend ye-Apple igcina i-vault eyahlukileyo yeentsuku ezingama-30 ebuyisela amaxwebhu acinyiweyo e-iCloud Drive, iifolda zeDesktop/Amaxwebhu, iiBhukhimaki, abafowunelwa kunye neeKhalenda.
Inqanaba lesi-3: Ukuvuna i-cache yasekhaya engaxhunyiwe kwi-intanethi ukusuka kwizixhobo zesibini kunye 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 Time Machine snapshots on your internal SSD), open Terminal while offline and run tmutil listlocalsnapshots /. You can mount yesterday's local APFS snapshot and copy the entire uncorrupted CloudDocs iCloud Drive folder right off your Mac's internal 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 files (or empty folders) sitting on the local hard drive, and syncs the corruption right back up to the freshly restored cloud drive.
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 kwaye 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 okanye 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 (or 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. Ivuliwe Windows 10/11 (ShadowExplorer & vssadmin):
- Ngelixa iintsapho ezininzi ze-ransomware zizama ukubaleka vssadmin.exe delete shadows /all /quiet, Ulawulo lweAkhawunti yoMsebenzisi (UAC), Ukufunyanwa kweNqanawa kunye neMpendulo (EDR), okanye uphumezo olungelulo-admin luvalela rhoqo ukhuphelo lwesithunzi.
- Sebenzisa i-Command Prompt njengoMlawuli kumatshini ozimeleyo kwaye uchwetheze:
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 idiski yokuqengqeleka yonke i-Mac SSD umva kwi-snapshot yeyure ethathwe imizuzu eli-15 phambi kokuba kucinywe okanye usulelo lwe-ransomware lwenzekile.
Imibuzo edla ngokubuzwa¶
Does paying the ransomware gang's decryptor ransom make sense if my files are synced to OneDrive, Dropbox, or Google Drive?¶
Kude kungaze. Unlike a standalone unbacked-up local hard drive, cloud storage services (OneDrive, Dropbox, Google Drive, Box, kwaye 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) nyusa ugcino lwakho lwamafu njenge local folder or virtual drive letter (G:\ okanye 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 okanye 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 banguMnikazi kwaye unguMhleli), ususa ifayile kwincwadi ekwabelwana ngayo iinkedama ifayile kunokuba uyilahlele umnini, okanye ihambisa iifayile kuphela you owakho kwi yakho Inkunkuma (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, Akira, BlackCat, Play, Phobos) operate purely through local Windows filesystem APIs (CreateFileW, WriteFile, DeleteFileW) kunye cannot interact with the web-only Version History, Second-Stage Recycle Bin, okanye Google Workspace Admin Vault. However, if the attacker also deployed an infostealer (Lumma, RedLine) or had interactive Remote Desktop (RDP / AnyDesk) access to your open web browser, they might manually open your browser and click Empty Trash. Even if they did, remember the two ultimate backstops: (1) On OneDrive / SharePoint, emptied items go to the Second-Stage Recycle Bin for up to 93 days; and (2) On Google Drive / Google Workspace, emptied Trash items remain recoverable by a Workspace Admin or Google One Support for 25 days after permanent deletion.
Izikhokelo ezinxulumeneyo¶
- Ransomware and malware: immediate isolation and recovery
- Ucimo lwefayile ngengozi, idrayivu efomathiweyo, kunye nokubuyisela ifoto
- Corrupted Word, Excel, PDF, or database file and unsaved document recovery
- Ukugcinwa kwekhompyuter: isicwangciso se-3-2-1 kunye nokubuyiswa kweentlekele
- Ukuqweqwediswa kweekuki zeseshoni, i-infostealer malware, kunye nokurhoxiswa kwesitshixo sokugqitha
- Amanani kaxakeka ngokwelizwe
Imithombo kunye nezikhokelo ezisemthethweni¶
- Microsoft Official Support (
support.microsoft.com/en-us/office/restore-your-onedrive-fa231298-759d-41cf-bcd0-25ac53eb8a15): Restore Your OneDrive (30-Day Point-in-Time Rollback Histogram, Ransomware Detection Alerts, and First/Second-Stage SharePoint Recycle Bin Recovery). - Dropbox Official Help Center (
help.dropbox.com/delete-restore/rewind&recover-older-versions): Using Dropbox Rewind to Undo Ransomware or Mass Deletions, 30-to-180-Day Version History, and.dropbox.cacheStaging. - Google Workspace Admin Help & Google Drive Official Documentation (
support.google.com/a/answer/6052340&developers.google.com/drive/api/reference/rest/v3/revisions): Restoring Permanently Deleted Google Drive Data Within 25 Days via Admin Console and Drive API v3revisionsManagement. - I-Arhente yoKhuseleko lwe-Cybersecurity kunye ne-Infrastructure Security Agency (
CISA/StopRansomware.gov): Cloud Storage Sync Isolation and Post-Ransomware Version Rollback Best Practices.