Techub Knowledge Center
TechubKnowledge Center • Illustrated Guides • Troubleshooting

Describe what happened — for example, a browser popup claims the PC has a virus.

Recover After a Security Incident • Security & Malware

Respond to Ransomware or Unexpected File Encryption

Contain affected systems and protect known-good copies before cleanup or restoration.

DifficultyBeginner to intermediate; model-specific
TimeInitial response: immediate; recovery varies
Guide typeIdentify, act & verify
GoalStop ordinary use and establish a trusted response/recovery plan

Safety first. Work only on equipment and accounts you own or are authorized to manage. For work or managed systems, contact IT through a separate trusted channel before cleanup. Stop ordinary use during active compromise and follow the incident plan. Protect useful records, wanted data and recovery access. Do not run suspect content, disable protections or expose passwords, codes or keys to investigate.

First — identify the device, account and actual exposure

Record the actual OS/browser, active protection provider, account and message. Note what was viewed, downloaded, run, typed or approved. Windows examples apply to the supported Windows configuration shown; other platforms and managed services differ. Use official provider instructions and IT for organization incidents. Example settings, addresses and messages are illustrations, not content to follow or copy.

What you’ll need

Current official device/provider instructions · Authorized owner access · A private factual record of relevant messages, actions and times · A separate known trusted device for exposed-account recovery · Protected known-good backups and recovery material · IT or verified incident support when the situation requires it

Step 1 — Treat the situation as a suspected incident

Stop opening files or interacting with a ransom message. Note the time, affected device and visible message privately without following its links. Unexpected extensions, inaccessible files or a demand are evidence to investigate, not proof of the exact malware or all affected data. For business/managed systems invoke IT’s incident process immediately.

Microsoft OneDrive ransomware-detection example. Provider warnings and recovery options vary; use a separate trusted route and the incident-response process, without opening suspect files.
Microsoft OneDrive ransomware-detection example. Provider warnings and recovery options vary; use a separate trusted route and the incident-response process, without opening suspect files.Image: Microsoft · Source · View full-size image

What to look for: A suspected incident recognized with useful initial facts.

What the result means: Repeated opening, renaming or cleanup can worsen recovery or change evidence.

Step 2 — Isolate through the appropriate response plan

For an affected personal device, disconnect Ethernet/Wi-Fi and other network paths to limit spread; do not attach backup storage. For an organization, coordinate isolation with responders through a separate channel. Avoid routine restarts or power-off before advice: shutdown loses volatile evidence; if isolation is impossible, follow the incident responder’s containment decision.

Contain a suspected ransomware incident — Techub concept diagram, not a device screenshot.
Contain a suspected ransomware incident — Techub concept diagram, not a device screenshot.Image: Techub · Source · View full-size image

What to look for: The affected system is isolated or under coordinated containment.

What the result means: Containment and evidence preservation need deliberate decisions rather than random rebooting.

Step 3 — Protect accounts and known-good copies

Use a separate trusted device to contact official support/responders and protect exposed accounts. Keep offline/isolated backups untouched and avoid overwriting previous versions with damaged data. Preserve required messages/logs under the incident plan. Do not connect recovery storage to the suspected infected system to inspect it.

What to look for: Good recovery sources and legitimate account access are protected.

What the result means: Ransomware can accompany data theft or additional access; decrypting files would not resolve all of that.

Step 4 — Obtain trusted incident and provider help

Use the organization’s responders or verified support. Follow appropriate official reporting guidance and the backup/cloud provider’s supported incident instructions. Do not pay or contact an unknown “decrypt/recovery” agent from an ad or ransom message. Payment does not guarantee recovery; specialist legal/financial/reporting obligations belong with the responsible professionals.

What to look for: A trusted response path and a documented scope assessment.

What the result means: No universal decryptor or consumer scan can promise full recovery.

Step 5 — Recover only through a justified trusted plan

Preserve what responders require, then use a supported clean rebuild/repair and verified known-good data as appropriate. Inspect recovery sources and scan suitable data under provider guidance before restoration. Restore cautiously to a trusted destination and verify representative files; do not reconnect the original system merely because a popup disappeared.

Plan a justified trusted rebuild — Techub concept diagram, not a device screenshot.
Plan a justified trusted rebuild — Techub concept diagram, not a device screenshot.Image: Techub · Source · View full-size image

What to look for: A recovery path that addresses the device, accounts and restored data.

What the result means: Restoring encrypted/infected or too-recent copies can recreate the problem.

Step 6 — Verify the outcome and remaining concerns

Check the response plan’s containment, trusted device/account recovery and representative recovered files without reconnecting suspect sources.

What to look for: The intended result is verified, with unresolved issues identified.

What the result means: A clean scan or disappearing popup does not prove that no compromise or data exposure occurred.

What did you find?
Active encryption/access is suspectedContain and stop ordinary use.
Organization systems/data are involvedUse coordinated IT/incident response.
Known-good backups existPreserve them separately until a trusted restoration plan is ready.
Recovery is uncertainUse verified specialist/provider help without promises of decryption.
Manufacturer & model-specific help

Use the actual OS/browser, protection provider, account type and current official instructions. Open support through a known route rather than a link, number or download in the suspicious message.

For managed devices, work accounts, active compromise or investigation needs, follow the organization’s response plan before scans, restarts, removal or erasure. Use the provider’s legitimate recovery and ownership checks.

Keep private files, full logs, credentials, recovery keys/codes and tokenized links out of public posts or sample-scanning services. Preserve required evidence and known-good data before destructive recovery. No scan or vanished warning can certify that no access or data exposure occurred.

Parts & supplies — only if needed

Most first checks need the genuine built-in/provider tools and authorized access. Choose backup storage or a security key only after checking the exact recovery/compatibility need. Do not buy a cleanup product, remote-support subscription or replacement device from an unsolicited warning.

Technical references

Techub’s troubleshooting guides are written in plain language and informed by manufacturer documentation. Features and procedures can vary by model. Before following model-specific steps, check the manufacturer’s latest instructions for your exact device.

CISA #StopRansomware GuideMicrosoft — Protect your PC from ransomwareWhat To Do if You Were Scammed | Consumer AdviceMicrosoft — Backup and restore with File HistoryTechub — image source and model exampleMicrosoft — Back up and restore with Windows Backup

Image credits

Sources for the named illustrations and screenshots used in this guide. Model and software examples may differ from your device.

Microsoft — How to detect ransomware and recover files using OneDrive

Still need help?

Need help with a security concern?

Bring the actual device/provider, message, actions taken and useful times. Keep files, passwords, recovery keys/codes and full account details private; use a separate trusted channel for a suspected incident.

Visit Techub Services ↗