What to Do When Ransomware Encrypts Your External Hard Drive
Ransomware can reach far beyond the computer where it first runs. If an external hard drive was connected during the attack, the malware may have encrypted its documents, photos, backups, and project files along with data stored on the system drive. The immediate priority is to stop the incident from spreading and protect whatever remains accessible.
Do not assume that a ransom payment will restore your files. Attackers may provide a faulty decryptor, demand additional money, or disappear after receiving payment. A careful response preserves evidence, prevents further damage, and gives you the best chance of using legitimate recovery options.
The steps below apply broadly to Windows and Mac systems, although menu names and Safe Mode procedures differ. If the encrypted data is business-critical, consider involving a reputable incident-response or data-recovery professional before making major changes.
Disconnect Devices And Stop The Spread
Shut down or isolate the affected computer if encryption is still active. Disconnect the external hard drive, unplug network cables, and disable Wi-Fi or Bluetooth where practical. Remove other USB storage devices and disconnect mapped network drives. If a shared folder or NAS device was accessible, take it offline as well.
Do not reconnect the external disk simply to check whether individual files open. Ransomware can continue processing files when a drive is mounted, and some strains target newly attached storage. Keep the drive powered off and label it clearly so that another person does not accidentally use it.
If the computer is managed by an employer, contact the IT or security team immediately rather than attempting an unsupervised cleanup. Preserving the infected machine in its current state can help identify the ransomware family and determine whether other systems are compromised.
Identify What Was Encrypted
Record the names of encrypted files, the unusual extension added to them, and the name of any ransom note. Take photographs or screenshots of relevant messages, but avoid opening suspicious attachments or visiting addresses included in the note. The ransom note and file extension can provide useful clues about the malware family.
Check whether file names changed, whether file contents have a consistent size, and whether some folders remain untouched. Ransomware sometimes skips very large files, uncommon formats, or files that were locked by another program. Do not rename encrypted files, delete ransom notes, or run random “decryptor” programs downloaded from advertisements.
A second device can be used to research the extension and note safely. Reputable security organizations sometimes release free decryptors for specific ransomware variants, but a tool designed for a different strain may fail or cause additional problems. The absence of a decryptor today does not prove that recovery will never become possible.
Preserve The External Drive
Keep the affected external hard drive disconnected and avoid formatting it. Even when files appear unreadable, the disk may contain recoverable information, shadow copies, deleted file fragments, or metadata useful to a specialist. Every write operation can reduce the chance of successful recovery.
If you have the technical skill and enough storage, create a forensic image or sector-by-sector copy of the drive before experimenting. Work from the copy rather than the original. A professional should handle drives that make unusual sounds, disconnect repeatedly, show physical errors, or contain irreplaceable information.
Cloud folders require special attention. Pause synchronization from a clean device if encrypted files may have propagated to the cloud. Review version history, recycle bins, and immutable backup features before allowing the service to synchronize again, because a clean copy can otherwise be replaced by an encrypted version.
Choose A Recovery Path
The right recovery method depends on whether reliable backups exist, whether the ransomware has a known weakness, and whether the storage hardware is healthy. A recovery attempt should begin only after the malware has been removed or the affected computer has been rebuilt.
| Recovery path |
Best used when |
Main limitation |
Immediate priority |
| Offline backup |
A recent, disconnected copy is available |
The backup may be incomplete or also infected |
Verify it on a clean system |
| Cloud version history |
Files were synchronized before encryption |
Retention periods may have expired |
Stop syncing and inspect older versions |
| Official decryptor |
The ransomware variant is identified and supported |
Many strains have no working tool |
Confirm the exact variant first |
| Data-recovery software |
Files were deleted rather than securely overwritten |
Encrypted data usually remains encrypted |
Use an image, not the original |
| Specialist recovery |
Data is highly valuable or the disk is failing |
Cost and success vary |
Preserve the drive unchanged |
Do not test recovery software on the only copy of the disk. Free tools can be useful for identifying file systems or recovering deleted material, but poorly chosen utilities may overwrite data or create misleading results. Treat every proposed solution that guarantees recovery or demands cryptocurrency upfront with suspicion.
Clean The Computer Before Restoring Files
Restoring files to an infected computer can expose the backup or external drive to the same malware again. Use a trusted security environment, a freshly installed operating system, or a known-clean computer to scan and rebuild the affected device. Update the operating system, browsers, and security software before reconnecting recovered data.
If Windows is still usable, an offline scan or Safe Mode cleanup may help with persistent components, but Safe Mode is not a substitute for a complete investigation. On Mac systems, review unfamiliar login items, profiles, applications, and browser extensions. Remove suspicious persistence mechanisms only when you can identify them confidently.
Be cautious with tools found through alarming pop-ups. A compromised browser may redirect searches to deceptive download pages; these browser redirect tips explain why unexpected advertising and forced redirects should be treated as security warnings rather than normal browsing behavior.
Build A Safer Backup Routine
After recovery, create several backup copies using different storage locations and access methods. At least one copy should remain offline or be protected by immutable storage. Test restoration periodically instead of assuming that a backup is usable because a program reports that it completed successfully.
Use separate accounts with limited privileges, enable multi-factor authentication, and install updates promptly. Restrict shared-folder permissions and disconnect removable drives when they are not needed. Keep recovery codes and backup credentials separate from the computer they are intended to protect.
For broader information about self-propagating malware and related infection patterns, consult these worm security resources. Ransomware prevention also depends on email filtering, safe document handling, application allowlisting where appropriate, and staff awareness.
Practical Safeguards
- Keep at least one recent backup disconnected from the computer and network.
- Enable version history or immutable retention for important cloud data.
- Test a small file restoration and a full recovery procedure on a schedule.
- Use separate administrator and everyday user accounts.
- Verify security tools and decryptors through recognized cybersecurity sources.
Ransomware that encrypts an external hard drive as well as system files can make recovery stressful, but disciplined isolation prevents additional damage. Disconnect affected storage, preserve the original evidence, identify the strain carefully, and restore only after the computer is known to be clean. For continuing malware guidance and security updates, use the malware removal guides available from Pc Malware Expert.