Skip to content

Ransomware and malware infection: emergency containment and recovery

Ransomware is an aggressive, mathematically complex cyber attack that systematically encrypts files across internal hard drives, attached external storage, cloud-synchronized folders, and shared local area networks. Once executed, modern ransomware deploys hybrid cryptographic algorithms that render databases, personal photos, financial ledgers, and operational documents unreadable unless a proprietary private decryption key is applied.

Modern threat syndicates combine file encryption with secondary extortion, quietly stealing gigabytes or terabytes of confidential personal or corporate records plus browser session cookies prior to locking systems, and threatening public disclosure on dark web leak sites. Confronting an active malware or ransomware incident requires immediate physical network containment, volatile forensic memory preservation, careful legal and regulatory analysis, and structured bare-metal system restoration.

Do this now

  1. Sever all physical and wireless network connections immediately: Pull the physical Ethernet cable out of the back of the infected computer, switch off Wi-Fi and Bluetooth in hardware or airplane mode, or unplug the main power cord from your home or office router. Ransomware contains automated lateral-movement worms that scan internal subnets over Server Message Block (SMB) ports 445 and 139, infecting every other computer and network storage drive on your Wi-Fi within minutes.
  2. Unplug all attached external USB drives and backup media: Physically yank the USB or Thunderbolt cables out of every external hard drive, solid-state drive, flash drive, and SD card connected to the machine. Do not wait to click "Safely Eject Hardware."
  3. Make the immediate power-state decision (active encryption vs finished ransom screen):
    • If files are actively renaming right now: If you see icons flickering on your desktop, hard drive activity lights blinking furiously, or file extensions changing in real time, pull the wall power cord immediately (or hold the laptop power button down for 10 full seconds until it dies). Modern ciphers encrypt thousands of files per minute; cutting power mid-stream stops the encryption loop and saves whatever files have not yet been processed.
    • If encryption is already 100 percent finished: If a stationary ransom demand screen is displayed and drive activity has stopped, leave the computer powered on (or place it in sleep/hibernation without rebooting) while keeping it unplugged from the network. Rebooting clears volatile random-access memory (RAM), wiping ephemeral encryption keys and malware process handles that digital forensics specialists can sometimes extract.
  4. Revoke cloud sync sessions from a separate, clean device: Using an uninfected smartphone on cellular data (not home Wi-Fi), log into your Microsoft OneDrive, Google Drive, Dropbox, and iCloud security settings and click Sign out of all devices to stop your infected computer from uploading encrypted files over your clean cloud backups.
  5. Rotate high-value passwords and enable hardware or app-based MFA from a clean device: Almost all modern ransomware attacks begin with an "infostealer" stage (such as RedLine, Lumma, or Vidar) that steals saved web browser passwords and active session cookies before launching the encryption payload. From your clean smartphone, immediately log out all active sessions and change passwords on your primary email, online banking, password manager, and work accounts.
  6. Photograph the ransom note and do not contact the attackers yet: Take a clear smartphone photograph of the ransom screen, exact wallet addresses, Tor onion URLs, and victim ID codes, and check whether free public decryptors exist at nomoreransom.org before making any contact with threat actors.

Danger

Never plug a clean backup hard drive or USB flash drive into an infected or recently "cleaned" computer to test whether your backups work or to copy files back over. If the ransomware process or a hidden kernel rootkit is still active in memory, the instant you plug in your backup drive, the malware will mount the drive letter and encrypt your only clean backup copy in seconds. Only connect backup media to a freshly formatted, bare-metal reinstalled computer or a completely separate uninfected machine after verifying write-protection.

Emergency ransomware containment and triage workflow

flowchart TD
    A["Suspected Ransomware or Infostealer Infection Detected"] --> B["Step 1: Unplug Ethernet Cable and Power Off Wi-Fi Router"]
    B --> C["Step 2: Physically Unplug All External USB and Backup Drives"]
    C --> D{"Are Files Actively Encrypting Right Now?"}
    D -->|Yes: Icons Changing / Disk Thrashing| E["Hard Power Cut: Pull Power Plug or Hold Power Button 10s"]
    D -->|No: Ransom Note Stationary| F["Keep Powered On in Isolated State to Preserve Volatile RAM"]
    E --> G["Use Separate Clean Smartphone on Cellular Data"]
    F --> G
    G --> H["Revoke Cloud Sync Tokens and Reset Email/Banking Passwords"]
    H --> I["Identify Strain via NoMoreRansom.org Crypto Sheriff"]
    I --> J{"Is a Free Verified Decryptor Available?"}
    J -->|Yes| K["Clone Infected Drive First, Then Run Decryptor on Copy"]
    J -->|No| L["Clone Drive for Forensics, Report to IC3/NCSC, and Wipe Disk Clean"]
    K --> M["Perform Bare-Metal OS Reinstall and Restore From Air-Gapped Backups"]
    L --> M

Action matrix for the first 60 minutes

Emergency Phase Immediate Technical Action Underliggende trusselsmekanisme Fatal Mistake to Avoid
Minut 0 til 2: Netværksadskillelse Tag RJ45 Ethernet-kabler ud; slå fysisk Wi-Fi fra; afbryd routerens strømforsyning, hvis der er flere enheder til stede Ransomware scans local subnet (192.168.x.x / 10.x.x.x) for open SMB, RDP (port 3389), and WMI shares to infect adjacent workstations Leaving Wi-Fi connected while reading the ransom note or searching online for help
Minutes 2 to 5: Storage Isolation Physically yank USB, eSATA, and Thunderbolt cables from all external drives; unplug network cables from home/office NAS boxes Malware enumerates all logical drive letters (C: igennem Z:) and UNC network paths (\\NAS\Share) to encrypt backups first Using the operating system's "Eject" menu, which hangs while malware writes to the external disk
Minut 5 til 15: Cloud- og identitetslåsning From a separate mobile phone on 4G/5G cellular data, revoke OAuth tokens and active web sessions for Google, Microsoft, Dropbox, and banking Pre-kryptering infostealers dumper Chrome, Edge og Firefox SQLite login databaser og stjæler live session cookies for at omgå MFA Changing passwords directly on the infected computer (keyloggers capture every new keystroke instantly)
Minutes 15 to 30: Evidence Capture Fotografer skærmen; kopiere løsesummen .txt eller .html note and 3 small encrypted files onto a brand-new, empty sacrificial USB stick Law enforcement, cyber insurance adjusters, and decryption tools require the exact file header markers, extension, and ransom note syntax Running consumer "system cleaner" or "registry repair" tools that destroy forensic logs and file headers
Minutes 30 to 60: Backup Audit Verify the status of offline external drives, cloud version history (OneDrive Rollback / Dropbox Rewind), and NAS Btrfs/ZFS snapshots Determines whether you can recover 100 percent of your data immediately without ever engaging with the extortion syndicate Clicking the Tor chat link in the ransom note out of curiosity, which starts the attacker's countdown timer

Technical anatomy of modern ransomware and infostealers

Understanding how modern ransomware operates explains why simple file-recovery programs or consumer antivirus scans cannot unlock encrypted documents once the cipher completes.

1. The two-tier hybrid encryption architecture

Modern ransomware strains (such as LockBit, BlackCat/ALPHV, Akira, Play, Royal, and Phobos) use a two-layer military-grade cryptographic pipeline engineered for both speed and mathematical irreversibility:

  • Layer 1: High-speed symmetric file encryption (AES-256, ChaCha20, or Salsa20): Asymmetric encryption algorithms like RSA are mathematically too slow to encrypt gigabytes of video, database, and document files quickly. Instead, for every individual file on your hard drive, the malware generates a unique, random symmetric key in memory and uses AES-256 or ChaCha20 (often employing "intermittent encryption," which encrypts every second or fourth megabyte block plus the file header) to scramble a 500-gigabyte drive in under 10 minutes.
  • Layer 2: Asymmetric public-key wrapping (RSA-2048/4096 or Curve25519 ECC): Once a file is scrambled with its symmetric key, the ransomware immediately encrypts that symmetric key using the cybercriminal syndicate's hardcoded Public Key (embedded inside the malware executable) and appends the encrypted key blob to the bottom of your damaged file. The unencrypted symmetric key in RAM is then overwritten with zeros.
  • Why brute-forcing is impossible: Because the matching Private Key required to unwrap the symmetric key sits exclusively on the attacker's remote command-and-control server and never touches your computer, no consumer technician or supercomputer on earth can brute-force a properly implemented RSA-4096 or Curve25519 key.

2. Automatic destruction of operating system recovery points

Within seconds of achieving administrative privileges (often via User Account Control bypasses or vulnerable hardware drivers in "Bring Your Own Vulnerable Driver" / BYOVD attacks), ransomware executes silent background shell scripts to cripple built-in operating system recovery tools:

  • Wiping Windows Volume Shadow Copies (VSS): The malware executes vssadmin.exe delete shadows /all /quiet og wmic.exe shadowcopy delete, erasing the hidden point-in-time file snapshots that Windows uses for the "Restore previous versions" tab.
  • Destroying Windows Backup Catalogs and Recovery Environment: It runs wbadmin DELETE SYSTEMSTATEBACKUP and modifies the boot loader via bcdedit.exe /set {default} recoveryenabled No so the user cannot boot into Windows Automatic Startup Repair.
  • Terminating database and email services: To encrypt large files that are normally locked open by the operating system (such as Microsoft Outlook .pst mail archives, QuickBooks accounting files, or SQL databases), the malware forcibly kills running processes (taskkill /f /im sqlservr.exe), før du kører krypteringspasset.
  • Rydning af Windows-hændelseslogfiler: Inden den sidste løsesumseddel vises, kører scriptet wevtutil.exe cl Security, wevtutil.exe cl System, og wevtutil.exe cl Application at slette retsmedicinske spor af, hvordan angriberen kom ind i systemet.

3. Den tavse forløber: Infostealers og sessionskapring

I hjemme-, akademiske og små virksomheders infektioner (ofte udløst af download af piratkopieret software-cracks, falske video-codecs, ondsindede browserudvidelser eller falske "ClickFix" PowerShell CAPTCHA-prompter), er ransomware sjældent det første program, der kører.

I stedet udføres en Infostealer-trojaner først lydløst i baggrunden. Inden for 3 sekunder udtrækker infostealeren hvert brugernavn og adgangskode, der er gemt i Chrome, Edge, Brave og Firefox, og stjæler cryptocurrency wallet .dat filer, kopierer Discord- og Telegram-tokens og henter aktive browser-sessionscookies. Ved at stjæle dine autentificerede sessionscookies kan angribere åbne din Gmail-, Microsoft 365-, virksomheds-VPN- eller Amazon-konto på deres egen computer uden nogensinde at skulle bruge din adgangskode eller udløse en tekstbesked med to-faktor-godkendelse (2FA).

Warning

Blot at ændre din e-mail eller bankadgangskode fra en anden computer er ikke nok, hvis en infostealer stjal dine aktive sessionscookies. Mange websteder holder ældre sessionscookies i live, selv efter en adgangskodeændring, medmindre du udtrykkeligt ugyldiggør dem. Når du sikrer dine konti fra en ren enhed, skal du altid gå ind i Sikkerhed > Dine enheder/aktive sessioner og klikke på Log ud af alle andre sessioner (eller Tilbagekald alle tokens), og log derefter ud og log ind igen for at generere et nyt sessionstoken.

Evaluering af gratis dekrypteringsmuligheder, før du sletter dit drev

Før du accepterer tab af data eller overvejer at kommunikere med afpressere, skal du følge denne fire-trins retsmedicinske kontrol for at se, om dine krypterede filer kan låses op gratis.

Trin 1: Klon eller afbild det inficerede drev, før du rører ved noget

Kør aldrig eksperimentelle dekrypteringsværktøjer eller antivirusoprydningsværktøjer direkte på din oprindelige inficerede harddisk. Hvis et værktøj går ned eller ændrer filoverskrifter forkert, vil det permanent ødelægge de krypterede nøgleblokke, der er tilføjet dine filer, hvilket gør fremtidig dekryptering umulig, selv med en gyldig nøgle.

  1. Køb en tom ekstern harddisk, der er mindst lige så stor som dit inficerede drev.
  2. Start den inficerede computer fra et rent, skrivebeskyttet Linux live USB-drev (såsom Ubuntu Live eller SystemRescue) med netværket frakoblet, eller fjern det interne SSD/NVMe-drev og placer det i et eksternt USB-kabinet, der er tilsluttet en isoleret ren Linux-maskine.
  3. Bruge ddrescue eller Clonezilla for at skabe et komplet bit-for-bit sektorbillede af det inficerede drev på dit nye eksterne lagerdrev, og lås derefter det originale drev i en skuffe som en uberørt backup.

Trin 2: Tjek "No More Ransom"-depotet (Europol and Police Initiative)

Fra en ren computer kan du besøge nomoreransom.org, en officiel global offentlig-privat portal, der vedligeholdes af European Union Agency for Law Enforcement Cooperation (Europol), Netherlands National Police og internationale cybersikkerhedsforskere:

  1. Åbn identifikationsværktøjet Crypto Sheriff på webstedet.
  2. Upload to eksempler på krypterede filer (vælg ikke-fortrolige filer såsom krypterede systemeksempelbilleder) og indsæt den nøjagtige tekst i løsesumsedlen.
  3. Tjek for offentlige dekrypteringer: Hvis du blev ramt af en ældre ransomware-stamme, en dårligt kodet copycat-variant, der brugte forudsigelige generatorer af tilfældige tal, eller et større syndikat, hvis kommandoservere for nylig blev raidet af FBI, Europol eller UK National Crime Agency (hvor politiet beslaglagde hovedprivatnøglerne), vil No More Ransom give en gratis, trinvis dekryptering-instruktion.

Trin 3: Tjek for ikke-allokeret diskpladsudskæring (PhotoRec / ShadowExplorer)

Selv når ransomware sletter Windows Volume Shadow Copies og krypterer dine hovedbrugermapper, efterlader den måde, Solid State Drives (SSD'er) og Hard Disk Drives (HDD'er) skriver data på, nogle gange fragmenter, der kan gendannes:

  • I stedet for at ændre en fil på plads, læser mange ransomware-stammer den originale fil Document.docx, skriv en helt ny krypteret fil Document.docx.locked til en ny blok af sektorer på drevet, og udfør derefter en standard slettekommando på originalen Document.docx.
  • På traditionelle mekaniske magnetiske harddiske (HDD'er), hvor disken ikke var 100 procent fuld, forbliver de slettede originale sektorer på ikke-allokeret diskplads, indtil de overskrives. Brug af gratis open source retsmedicinsk filudskæringssoftware som PhotoRec (en del af TestDisk) på et klonet billede af en mekanisk harddisk kan ofte gendanne en overraskende procentdel af slettede originale JPEG-fotos, PDF'er og Office-dokumenter.

Skysynkroniseringsforgiftning og retablering af Network Attached Storage (NAS).

Selvom din lokale harddisk er fuldstændig krypteret og ikke kan gendannes, kan du ofte gendanne 100 procent af dine filer inden for 15 minutter, hvis de blev gemt i en skysynkroniseringsmappe eller på en NAS-enhed (Network Attached Storage).

Sådan vendes "Cloud Sync-forgiftning" i OneDrive, Dropbox og Google Drive

Når ransomware krypterer det lokale OneDrive eller Dropbox mappe på dit Windows- eller Mac-skrivebord, opfatter cloud-synkroniseringsagenten straks de krypterede filer som legitime redigeringer eller sletninger og uploader det krypterede affald til skyen. Store cloud-udbydere opretholder dog uforanderlige versionshistorier på serversiden designet specifikt til at vende ransomware-angreb:

  • Microsoft OneDrive (Personlig og Microsoft 365):
    1. Log ind på OneDrive-webportalen fra en ren enhed inden for 30 dage efter angrebet.
    2. Klik på Indstillinger (tandhjulsikon) > Indstillinger > Gendan dit OneDrive (for virksomhedskonti skal du vælge Gendan dit OneDrive fra venstre sidebjælke).
    3. Vælg en brugerdefineret dato og tid på histogramdiagrammet kun 1 time før stigningen i massefilændringer opstod, og klik på Gendan. Microsofts servere vil automatisk rulle hver enkelt fil og mappe tilbage til sin rene tilstand før angreb.
  • Dropbox (tilbagespolingsfunktion):
    1. Log ind dropbox.com i en ren browser, gå til rodmappen, klik på menuen ... (Mere) og vælg Spol denne mappe tilbage.
    2. Brug tidslinjegrafen til at vælge det nøjagtige minut, før krypteringshændelsen begyndte, og vend hele kontoen tilbage på én gang.
  • Google Drive and iCloud Drive:
    • In Google Drive, right-click any encrypted file on the web interface, select File information > Manage versions, and download the clean version below the top encrypted upload (kept for 30 days or 100 versions). Also check the Trash bin on the web interface, as many ransomware strains delete the original file and upload a new file with a different extension, leaving your original clean files sitting intact inside the Google Drive web Trash.
    • In iCloud Drive, log into icloud.com, click Data Recovery at the bottom of the page, and use Restore Files to recover files deleted within the last 30 days.

Recovering Network Attached Storage (Synology, QNAP, TrueNAS)

If mapped network shares on a home or office NAS unit were encrypted over SMB:

  1. Unplug the NAS from the local network router until all infected desktop computers are wiped clean.
  2. Log into the NAS web administrative dashboard from a clean laptop connected directly via Ethernet.
  3. Restore Read-Only File System Snapshots: If Btrfs snapshots (Synology Snapshot Replication) or ZFS snapshots (TrueNAS) were enabled on the storage pool, the ransomware running over a standard user SMB share had zero permission to alter underlying block-level read-only snapshots. Go to your Snapshot Manager and roll the shared volume back to the latest hourly or daily snapshot prior to the infection.

Why law enforcement and regulators advise against paying ransoms

When facing the loss of business operations or irreplaceable data, victims are often tempted to pay the cryptocurrency ransom demanded by the threat actors. Official cybersecurity agencies, including the U.S. Cybersecurity and Infrastructure Security Agency (CISA, United States), the Federal Bureau of Investigation (FBI, United States), the National Cyber Security Centre (NCSC, United Kingdom), the Australian Signals Directorate (ASD, Australia), and the Canadian Centre for Cyber Security (Canada), strongly advise against paying ransoms for four concrete reasons:

1. Streng juridisk ansvar og OFAC-sanktioner

  • I USA har Department of the Treasury's Office of Foreign Assets Control (OFAC) udsendt formelle meddelelser, der advarer om, at mange produktive ransomware-syndikater og dark web-betalingsprocessorer drives af eller er tilknyttet sanktionerede udenlandske enheder, statssponserede efterretningstjenester på de nordkoreanske statsorganisationer (som f.eks. Særligt udpegede statsborgere og blokerede personer (SDN) Liste.
  • I henhold til amerikansk føderal lovgivning pålægger OFAC-sanktioner strengt civilretligt ansvar: et firma, en person, et cyberforsikringsselskab eller en hændelsesforhandler kan risikere alvorlige føderale civile bøder for at facilitere en kryptovaluta-betaling til en sanktioneret ransomware-gruppe, selvom offeret ikke kendte den rigtige, anonyme angriber. Lignende love om bekæmpelse af terrorisme og sanktionsfinansiering gælder i Det Forenede Kongerige (Office of Financial Sanctions Implementation, OFSI), EU, Canada og Australien.

2. Høj fejlfrekvens og ødelagte dekrypteringsværktøjer

  • Globale hændelsesreaktionsstatistikker viser, at betaling af løsesum er et spil med kriminelle, ikke en kommerciel transaktion. Omtrent 20 til 30 procent af ofrene, der betaler løsesummen, genvinder aldrig deres intakte data.
  • I mange tilfælde forsvinder angriberne simpelthen, efter at Bitcoin- eller Monero-transaktionen er ryddet. Selv når angribere sender et dekrypteringsprogram tilbage, går deres dårligt skrevne dekryptering ofte ned på store databaser, ødelægger filer over 4 gigabyte eller tager uger at køre.

3. Dobbelt afpresning garanterer aldrig sletning af data

  • Hvis syndikatet hævder, at de har stjålet følsomme selvangivelser, patientjournaler eller kildekode ("dobbelt afpresning") og lover at "slette vores kopi og give dig et slettecertifikat", hvis du betaler, beviser cybersikkerhedskriminalteknik, at disse løfter er værdiløse. Du kan ikke købe tavshed fra en afpresser; grupper opbevarer rutinemæssigt kopier af stjålne datasæt, bytter dem til andre mæglere eller vender tilbage 6 måneder senere og kræver endnu en betaling for at holde de samme filer stille.

4. Obligatoriske pligter til at underrette databrud er fortsat

  • Paying a ransom to hide a breach from customers, patients, or regulators is illegal in most jurisdictions. If personal identifiable information (PII) or protected health information (PHI) was accessed or exfiltrated on a system, strict legal reporting clocks still apply regardless of whether you pay the extortionists:
    • Den Europæiske Union og Storbritannien (GDPR / UK GDPR): Organisationer skal rapportere brud på persondatasikkerheden til deres nationale tilsynsmyndighed (såsom Information Commissioner's Office, ICO i Storbritannien) inden for 72 timer efter de er blevet opmærksomme på bruddet.
    • United States: Healthcare entities covered by HIPAA must notify the Department of Health and Human Services (HHS) and affected individuals; financial institutions and publicly traded companies face strict FTC and SEC 4-day disclosure mandates, alongside state attorney general breach laws.
    • Australia and Canada: Mandatory reporting applies under the Australian Notifiable Data Breaches (NDB) scheme (Office of the Australian Information Commissioner, OAIC) and Canada's PIPEDA regulations.

How to perform a clean bare-metal system rebuild

Once you have preserved forensic evidence and backed up any encrypted files you hope to decrypt in the future, you must rebuild the infected computer from scratch. Never trust an operating system that has been infected with ransomware merely because an antivirus scan claims it removed the threat. Attackers routinely leave behind hidden scheduled tasks, Windows Registry run keys, compromised Local Administrator accounts, and kernel-level remote access trojans (RATs) that re-trigger encryption weeks later.

Step-by-step bare-metal wipe and reinstallation protocol

  1. Create bootable installation media on a completely separate, uninfected computer:
    • Never download or create a Windows or macOS installer USB stick on the infected machine, as malware can infect the USB boot sector as it is created.
    • On a clean computer, insert an 8 GB or 16 GB USB flash drive and use the official Microsoft Windows Media Creation Tool, Apple macOS createinstallmedia terminal tool, or an official Linux ISO verified by its SHA-256 checksum.
  2. Update system UEFI/BIOS firmware and enable Secure Boot:
    • Boot the infected computer into its motherboard UEFI/BIOS setup screen (F2, F12, eller Del at startup).
    • Flash the motherboard UEFI firmware to the latest manufacturer version from a clean USB stick to overwrite any potential bootkit persistence, verify that UEFI Secure Boot and TPM 2.0 are enabled, and set the clean OS installer USB stick as the primary boot device.
  3. Completely destroy all existing partition tables on the internal drive:
    • Do not choose "Upgrade" or "Keep my files."
    • On Windows Installer: When you reach the "Where do you want to install Windows?" screen, press Shift + F10 to open a command prompt, type diskpart, type list disk, select your internal drive (select disk 0), and run clean. This wipes the entire GUID Partition Table (GPT), removing the hidden EFI System Partition, Recovery Partition, and primary OS partition where boot-sector malware hides. Close the prompt, refresh the installer screen, select the single "Unallocated Space" entry, and click Next to install a pristine copy of Windows.
    • On macOS Recovery: Boot into macOS Recovery (hold the Power button on Apple Silicon Macs or Cmd + Option + R on Intel Macs), open Disk Utility, click View > Show All Devices, select the top-level physical internal SSD container, and erase the entire APFS volume group before reinstalling macOS cleanly.
  4. Harden the clean system before reconnecting to your home network:
    • Before plugging the rebuilt computer back into your home router, log into your router from a clean device, update the router's firmware, disable Universal Plug and Play (UPnP) and remote WAN management, and change the router admin password.
    • Apply all operating system security patches immediately upon first boot.

Note

After rebuilding your system, disable default administrative privileges on your daily user account. Running your daily Windows or macOS desktop profile as a Standard User (while keeping a separate, strong password-protected Administrator account strictly for approving verified software installations) prevents over 85 percent of drive-by malware scripts from quietly elevating privileges in the background.

Long-term immunity: the 3-2-1-1-0 backup architecture

The only 100 percent guaranteed defense against losing your life's work or business records to ransomware is maintaining a backup architecture that malware running on your computer physically cannot modify or delete. Follow the industry-standard 3-2-1-1-0 Backup Rule:

  • 3 Copies of your data: Keep one primary working copy on your computer plus at least two independent backup copies.
  • 2 Different storage media types: Store backups on two distinct technologies (for example, an external solid-state/hard drive plus an independent cloud backup service) so a single hardware defect cannot ruin both.
  • 1 Copy stored offsite: Keep one backup at a separate physical location (or encrypted cloud vault) to survive house fires, floods, or physical laptop theft.
  • 1 kopi, der er fuldstændig LUFT-GAPPET eller uforanderlig:
    • For households and individuals (Rotating Air-Gapped Drives): Buy two external USB hard drives (Drive A and Drive B). On the 1st of the month, plug in Drive A, run your backup (using Windows File History, Mac Time Machine, or Veeam Agent), and physically unplug Drive A immediately when the backup finishes, storing it in a fireproof safe or desk drawer. On the 15th of the month, repeat with Drive B. Even if catastrophic ransomware strikes your computer while Drive A is plugged in during a backup, Drive B is sitting unplugged in a drawer with zero electrical connection to the computer, guaranteeing you lose at most two weeks of changes.
    • For businesses and technical users (Immutable Object Lock): Configure cloud backups (such as Backblaze B2, AWS S3, or Wasabi) with Object Lock in Compliance Mode and multi-factor delete protection. In Compliance Mode, not even the root account administrator with the master password can overwrite, shorten the retention timer, or delete a backup file before its locked expiration date.
  • 0 Errors verified through restoration drills: An untested backup is only a wish. Once every 90 days, pick five random important files from your backup drive or cloud vault and restore them to a test folder to verify the archive is readable and uncorrupted.

Post-infection recovery and hardening checklist

Complete every item on this checklist before returning to normal digital operations:

  • Isolated all infected machines physically from Ethernet, Wi-Fi, and Bluetooth networks.
  • Revoked all active web sessions and OAuth tokens across email, cloud storage, banking, and social accounts from a clean device.
  • Rotated all passwords using a password manager on a clean device and upgraded 2FA from SMS text messages to phishing-resistant FIDO2 hardware keys (such as YubiKeys), passkeys, or authenticator apps.
  • Placed a credit freeze with major credit bureaus (Equifax, Experian, TransUnion in the US/Canada/UK) if personal tax returns, national ID numbers, or financial PDFs were stored on the infected drive.
  • Checked nomoreransom.org and saved a forensic copy of the ransom note, sample encrypted files, and cloned drive image.
  • Filed an official cybercrime report with national authorities (FBI IC3 / CISA in the United States, Action Fraud / NCSC in the United Kingdom, Canadian Anti-Fraud Centre in Canada, or ACSC ReportCyber in Australia).
  • Performed a complete partition wipe (diskpart clean) and bare-metal OS reinstallation from USB media created on a separate clean computer.
  • Set up an offline, physically unplugged ("air-gapped") rotating external backup drive schedule.

Ofte stillede spørgsmål

Can I just run an antivirus scan or Malwarebytes to remove the ransomware and get my files back?

No. While an antivirus or anti-malware scanner can detect and delete the malicious `.exe` file or script that performed the attack, deleting the malware executable does nothing to reverse the mathematical encryption already applied to your documents and photos. In fact, running an aggressive antivirus cleanup before saving forensic artifacts can accidentally delete the ransom note or temporary key files needed by free decryption tools. In addition, because modern attacks often leave deep system backdoors behind, you must still perform a full bare-metal operating system reinstall after preserving your files.

Why did my computer get infected with ransomware when I did not receive a ransom note on my screen?

There are two common reasons for this. First, if you caught the attack halfway through and pulled the power plug while files were changing extensions, the malware never reached the final line of code that changes your desktop wallpaper and drops the `README.txt` ransom note in every folder. Second, many modern attacks are pure "infostealer" or "silent exfiltration" attacks rather than encryption attacks: the malware quietly steals your saved browser passwords, session cookies, and cryptocurrency wallets in three seconds and deletes itself without ever locking your screen.

Can ransomware spread through my home Wi-Fi router to infect my iPhone, iPad, or Android phone?

Standard Windows, macOS, or Linux desktop ransomware binaries cannot execute natively on iOS or Android operating systems because mobile phones use completely different processor architectures, sandboxed app permissions, and file system structures. However, if your phone is signed into the exact same Microsoft OneDrive, Google Drive, Dropbox, or iCloud Drive account as your infected PC, the encrypted files uploaded by your PC will sync over to your mobile cloud app, replacing the cloud copies you access from your phone until you use the cloud provider's web rollback tool.

What is the ".zzzzz", ".locked", or random 8-character file extension added to all my photos and PDFs?

When ransomware encrypts a file, it appends a custom file extension to mark the file as processed so the encryption loop does not waste time encrypting the same file twice. Older ransomware strains used fixed extensions corresponding to the group's name (such as `.lockbit`, `.akira`, or `.blackcat`), while many modern variants generate a random 4-to-9-character alphanumeric string unique to your specific machine. Simply renaming the file in Windows Explorer by deleting the extra extension (changing `photo.jpg.locked` back to `photo.jpg`) will not make the file work, because the internal binary data inside the file remains mathematically scrambled.

Are Apple Mac computers and Linux servers immune to ransomware attacks?

No. While Windows remains the most frequent target due to its global desktop market share, major ransomware syndicates now write cross-platform payloads in languages like Rust and Go that compile natively for Windows, macOS (targeting Apple Silicon and Intel Macs via fake Homebrew installers or unsigned DMG packages), Linux enterprise servers, and VMware ESXi hypervisors. On macOS, ransomware specifically targets the user's `/Users/username/Documents` and `/Desktop` directories along with mounted network volumes.

Should I trust recovery companies on the internet that claim a 99 percent success rate in decrypting any ransomware?

Exercise extreme caution. Investigations by the FBI and cybersecurity journalists have revealed that many commercial "guaranteed ransomware data recovery" companies advertising heavily in search engine results do not possess any secret mathematical decryption technology at all. Instead, when you pay them thousands of dollars for "forensic decryption engineering," they secretly contact the cybercriminals on the dark web behind the scenes, pay the attacker's Bitcoin ransom, add a massive hidden markup fee to your bill, and hand you the attacker's decryptor while falsely claiming their engineers cracked the code. This deceptive practice can inadvertently expose you to federal OFAC sanctions violations if the underlying threat group is a sanctioned entity.

Kilder tjekket

  • Cybersecurity and Infrastructure Security Agency and Federal Bureau of Investigation (CISA / FBI, United States): #StopRansomware Guide: Joint Ransomware Incident Response and Mitigation Checklist.
  • National Cyber Security Centre (NCSC, United Kingdom): Mitigating Malware and Ransomware Attacks and Guidance for Home and Small Business Recovery.
  • Europol European Cybercrime Centre and Netherlands National Police (Europol / Politie, European Union): The No More Ransom Project: Crypto Sheriff and Public Decryption Guidelines.
  • U.S. Department of the Treasury, Office of Foreign Assets Control (OFAC, United States): Updated Advisory on Potential Sanctions Risks for Facilitating Ransomware Payments.
  • Australian Signals Directorate, Australian Cyber Security Centre (ASD / ACSC, Australia): Ransomware Emergency Response Guide and Preventing Infostealer Compromises.
  • Canadian Centre for Cyber Security (Cyber Centre, Canada): Ransomware: How to Prevent and Recover from Cyber Extortion Incidents (ITSAP.00.099).

Relaterede guider