Phone or computer hacked: how to clean it up
Your device is acting strangely, showing ransom notes or pop-ups. Disconnect it, don't pay, and do your account recovery from a clean device. Then back up what matters and wipe or repair the infected one.
Do right now
· Within minutesDisconnect from the internet (unplug ethernet, turn off Wi-Fi) to stop the malware from spreading.
More detail
Why this matters: many strains of malware actively communicate with the attacker, exfiltrate files, or spread to other devices on your network. Cutting the connection contains the damage. How: turn off Wi-Fi from the system tray / control center, and physically unplug any ethernet cable.
Do NOT pay any ransomware demand — it rarely results in file recovery and funds criminal activity.
More detail
Studies (Sophos, FBI) consistently show that paying does not reliably restore files: many victims either receive no decryptor, get a broken one, or are extorted again. Payment also marks you as a willing target. Check NoMoreRansom.org first — free decryptors exist for many strains.
Do NOT turn off the computer if you see ransomware — keep it on for forensics, but stay disconnected.
More detail
Some ransomware encryption keys live only in memory (RAM). Powering off destroys them and removes any chance a researcher could recover your files. Disconnect from the network, but leave the device on.
If someone has remote access right now: shut the device down.
More detail
If you can see the cursor moving on its own, or a tech-support scammer is currently connected via TeamViewer/AnyDesk, immediately hold the power button to force shutdown. This is one of the only situations where pulling the plug is the right move.
Do today
· Within hoursBoot into Safe Mode and run a reputable malware scanner.
More detail
Safe Mode loads only essential drivers, which usually prevents malware from auto-starting and hiding from scanners. On Windows: hold Shift while clicking Restart → Troubleshoot → Advanced → Startup Settings → Safe Mode with Networking. On Mac: hold Shift during boot. Then download and run a reputable scanner.
Follow the scanner's removal instructions for anything found.
If ransomware: check if a free decryptor exists for your strain.
Change passwords for all accounts accessed from the infected device — from a DIFFERENT, clean device.
Assume saved passwords / autofill data in the browser are compromised.
Notify your employer if this is a work device — they may have an incident response team.
- 🇺🇸 US
Report ransomware or major malware incidents to the FBI.
- 🇨🇦 CA
Report cybercrime to the RCMP's National Cybercrime Coordination Centre or the CAFC.
Do this week
· Within daysIf malware can't be removed: back up important files to an external drive (scan it too), then wipe and reinstall the OS.
Restore files from a clean backup that pre-dates the infection.
Update your operating system and all software to the latest versions.
Install and configure a reputable antivirus / endpoint protection tool.
Review your router — some malware changes DNS settings. Check or factory reset it.
Enable automatic OS and software updates going forward.
Ongoing protection
· Build the habitKeep OS, browsers, and software fully up to date.
Use a reputable antivirus that runs in real time.
Back up important files regularly (3-2-1 rule: 3 copies, 2 media, 1 offsite).
Avoid clicking links or attachments in unexpected emails.
Be cautious about what you download and install.
Related situations
Tech-Support Scam Aftermath
Let a fake tech support agent into your computer? Disconnect, call your bank and clean up with these steps.
Stalkerware / Intimate-Partner Surveillance
Think a partner installed spyware on your phone? Check safely, plan for your safety and get help first.
Email or Social Media Hacked
Locked out of email, Facebook or Instagram? Recover the account, lock out the hacker and stop scams sent in your name.
Is this happening at work?
If a business account, company device or customer data is involved, the steps change. Get help built for organizations.