ThisCalculator

Everyday

How to Take Back Your Hacked System

Updated · Standard formula, shown below

How to Take Back Your Hacked System

This guide walks you through the practical steps to regain control of a Windows, macOS, or Linux system that has been compromised. You’ll learn how to isolate the machine, remove the attacker’s access, clean the infection, and restore your data safely. You’ll need a second device (phone or another computer) to download tools and look up recovery steps, plus a USB drive with at least 8GB of space.

What You’ll Need

  • A second, trusted device (phone or computer) that is not compromised.
  • A USB flash drive (8GB or larger) for creating rescue media.
  • Access to your router’s admin page (usually via a browser at 192.168.1.1 or 192.168.0.1).
  • Your account credentials and recovery codes for email, banking, and social media.
  • External hard drive or cloud storage for backing up important files (only after cleaning).

Step-by-Step

  1. Disconnect from the network immediately. Unplug the Ethernet cable or turn off Wi-Fi. If the system is part of a home network, also disconnect the router from the modem to prevent remote access. This stops the attacker from further exfiltration or remote control.
  2. Document what you see. Take photos or write down any suspicious messages, pop-ups, new user accounts, or unfamiliar processes. This information helps you and any professional you consult later.
  3. Boot into a clean environment. On another device, download a trusted rescue live USB image (e.g., a Linux live distribution like Ubuntu or a dedicated antivirus rescue disk). Write it to the USB drive using a tool like Rufus (Windows) or Etcher (macOS). Insert the USB into the hacked system and boot from it (often by pressing F12, F2, or Esc during startup).
  4. Scan and remove malware from the live environment. Once booted into the live USB, run a full system scan with the included antivirus or a portable scanner. Remove any detected threats. This avoids running malware while the operating system is active.
  5. Back up your personal files (only if clean). If the scan finds nothing or after cleaning, copy your important documents, photos, and projects to an external drive or cloud storage. Do not back up executable files, browser profiles, or anything you don’t recognize—they may be reinfected.
  6. Reinstall the operating system. The safest approach is a full wipe and reinstall. From the live USB, you can format the internal drive and install a fresh OS. This removes any rootkits or persistent malware that survived the scan.
  7. Change all passwords from a trusted device. After reinstalling, change passwords for your email, banking, social media, and any other accounts. Use a different device or the new system after it’s updated. Enable two-factor authentication (2FA) wherever possible.
  8. Update and harden the system. Install all operating system updates, enable the built-in firewall, and run a full antivirus scan. Change your router’s admin password and disable remote management if you don’t need it.
  9. Restore your files from backup. Copy back your personal files from the clean backup. Scan each file with antivirus before opening.
  10. Monitor for suspicious activity. Watch your accounts for unauthorized logins, new devices, or strange emails. Check your credit report if financial information was exposed.

Common Mistakes

  • Staying online. Leaving the system connected allows the attacker to lock you out or destroy data while you work.
  • Only running a scan in the compromised OS. Malware can hide from the OS’s own scanner. Always boot from a clean environment.
  • Backing up infected files. Copying executables or browser profiles can reintroduce the infection. Only back up data files you trust.
  • Reusing old passwords. If you reuse passwords across sites, an attacker can use them on other accounts.
  • Ignoring the router. A compromised router can redirect your traffic even after a clean install. Change its password and update firmware.

Tips

  • Use a password manager to generate and store unique, strong passwords for every account.
  • Enable 2FA on all critical accounts—this is the single most effective defense against account takeover.
  • Keep a separate, offline backup of important files (e.g., an external drive that is disconnected after each backup).
  • After recovery, consider using a different browser and clearing all saved passwords.
  • If you don’t feel comfortable doing this yourself, seek help from a reputable local repair shop—but still change your passwords from a trusted device.

Troubleshooting

  • Cannot boot from USB. Enter the BIOS/UEFI setup (F2, F10, Del) and enable “USB bootâ€� or change the boot order. If Secure Boot blocks it, temporarily disable it, then re-enable after installation.
  • Scan finds nothing but you still suspect infection. Some rootkits hide themselves. Reinstall the OS anyway—it’s the only guaranteed way to remove deep persistence.
  • Lost access to email or social accounts. Use the provider’s account recovery process (usually via phone number or recovery codes). If you can’t recover, contact the platform’s support team with proof of identity.
  • Attacker changed your passwords before you acted. Use the “forgot passwordâ€� option on each service. If you have 2FA enabled, you can often regain access via a backup code.
  • Router admin password unknown. Perform a factory reset on the router (usually a small pinhole button) and reconfigure it from scratch.
  • Files are encrypted (ransomware). Do not pay. Check free decryptors at No More Ransom (nomoreransom.org). If none exist, restore from backup or accept the loss.

Frequently Asked Questions

Q: Can I just run an antivirus scan and be done?
A: No. Many attacks install backdoors that survive a normal scan. A clean reinstall is the only way to be certain the system is safe.

Q: Do I need to change every password?
A: Yes, especially email, banking, and social media. Attackers often collect credentials and reuse them. Change all passwords from a trusted device.

Q: What if the attacker accessed my files?
A: Assume sensitive data is compromised. Change passwords, enable 2FA, and monitor your accounts. If financial data was exposed, consider a credit freeze.

Q: Is it safe to back up my files before reinstalling?
A: Only if you scan them from a clean environment and avoid executables and browser profiles. Otherwise, you risk restoring the infection.

Q: How do I know if my router is hacked?
A: Signs include slow internet, unknown devices on your network, or being redirected to strange websites. Change the admin password and update the firmware.

Q: Should I pay a ransom to get my files back?
A: No. Paying encourages the attack and doesn’t guarantee decryption. Use backups or free decryptors first.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.