sodcalculator

10 Tech How-To

Remove Malware After Installing a Fake AI Tool

Guide 10-31675 · Updated · Step by step

If you installed a fake AI tool and now suspect malware, this guide walks you through removing it from a Windows or macOS developer machine. You’ll learn to disconnect, identify malicious processes, clean startup entries, remove files, and restore system integrity—without needing to reinstall your OS.

What You’ll Need

  • Another device (phone or second computer) to download tools or look up instructions if your main machine becomes unusable.
  • Administrator (Windows) or admin user (macOS) access.
  • An external USB drive (optional, for backing up important files before deep cleaning).
  • Patience—the process can take 1–2 hours.

Step-by-Step

  1. Disconnect from the internet immediately. Unplug Ethernet or turn off Wi-Fi. This stops the malware from phoning home, downloading more payloads, or spreading to other devices on your network.
  2. Back up only your essential work files to an external drive or a secure cloud service from a different device. Do not copy executables, scripts, or anything you downloaded recently. Focus on source code, documents, and configuration files you can’t recreate.
  3. Boot into Safe Mode (Windows) or Safe Boot (macOS).
    • Windows: Hold Shift while clicking Restart → Troubleshoot → Advanced options → Startup Settings → Restart → press 4 or F4.
    • macOS: Shut down, then press and hold the power button until “Loading startup options” appears, select your disk, hold Shift, and click “Continue in Safe Mode.”
  4. Take a snapshot of running processes and startup items. In Safe Mode, open Task Manager (Ctrl+Shift+Esc) on Windows or Activity Monitor on macOS. Look for processes with suspicious names (random strings, “ai”, “gpu”, “crypto”, “miner”, or the name of the fake tool). Note them down.
  5. Identify the malicious files. Use the process name to find the file location: right-click the process → “Open file location” (Windows) or “Show in Finder” (macOS). Also check common directories:
    • Windows: %AppData%, %LocalAppData%, %ProgramData%, C:\Users\[User]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
    • macOS: /Library/LaunchAgents, /Library/LaunchDaemons, ~/Library/LaunchAgents, /Library/Application Support
  6. Kill the malicious processes. In Task Manager/Activity Monitor, select the suspicious process and click “End task” or “Force Quit.” If it restarts, note that it’s protected—proceed to step 7.
  7. Remove startup entries and scheduled tasks.
    • Windows: Open Task Scheduler (taskschd.msc) and look for tasks with the malware name or random strings. Disable/delete them. Also open Registry Editor (regedit) and navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run and HKEY_LOCAL_MACHINE\…\Run. Delete entries pointing to the malicious files.
    • macOS: Open Terminal and run launchctl list | grep -i [suspicious] to find LaunchAgents/Daemons. Remove the plist files from the directories above.
  8. Delete the malicious files. After killing processes and removing startup entries, delete the files you identified. If a file is locked, use a tool like Unlocker (Windows) or just reboot and delete immediately after login.
  9. Run a full antivirus scan. Use Windows Defender (built-in) or install a reputable AV from a USB drive (since you’re offline). Let it complete a full scan. On macOS, run Malwarebytes (download from another device and transfer via USB).
  10. Clean browser extensions and reset settings. Open your browser (Chrome, Firefox, Edge) and remove any extensions you don’t recognize. Reset browser settings to default. Clear cache and cookies.
  11. Check for system changes. Review your hosts file (C:\Windows\System32\drivers\etc\hosts on Windows, /etc/hosts on macOS) for any lines that redirect known sites. Remove suspicious entries. Also check DNS settings in your network adapter—reset to automatic if changed.
  12. Change all your passwords from a clean device. Prioritize email, cloud, and developer accounts (GitHub, AWS, etc.). Enable two-factor authentication where possible.
  13. Restore from backup if you have one from before the infection. If not, proceed with cleaning as described.
  14. Reboot normally and monitor. After cleaning, restart your machine. Watch for unusual CPU usage, network activity, or pop-ups. Run another AV scan after a day to confirm.

Common Mistakes

  • Staying online. Every minute online gives the malware more time to spread or encrypt your files.
  • Only deleting the main executable. Malware often drops multiple files (DLLs, scripts, persistence mechanisms). You must remove all of them.
  • Ignoring scheduled tasks and registry entries. These are what make the malware come back after reboot.
  • Not checking browser extensions. Fake AI tools often install extensions that steal credentials or inject ads.
  • Reusing the same password after cleaning. If the malware captured keystrokes, your old password is compromised.
  • Assuming macOS is immune. macOS malware exists, and fake AI tools are common there too.

Tips

  • Use a sandbox or VM for testing AI tools. Install suspicious software in a virtual machine first.
  • Check the tool’s legitimacy. Search for the exact name + “review” or “scam” before installing. Look for official GitHub repos, documentation, and community presence.
  • Keep your OS and software updated. Patches fix vulnerabilities that malware exploits.
  • Use a standard user account for daily work. Admin rights make it easier for malware to install deeply.
  • Monitor your system with a reputable security tool. Free versions of Malwarebytes or Bitdefender are good for periodic scans.
  • Back up regularly. A clean backup is your best recovery tool.

Troubleshooting

Malware keeps coming back after reboot. This means you missed a persistence mechanism. Boot into Safe Mode again, and this time check every startup folder, scheduled task, and registry Run key. Also look for services (services.msc on Windows) with suspicious names—right-click → Properties → Startup type → Disabled, then delete the service (sc delete [service name]).

Antivirus scan finds nothing but you still see symptoms. Some malware is designed to hide from AV. Use a second-opinion scanner like Malwarebytes AdwCleaner or HitmanPro. Also check network traffic with a tool like Wireshark to see what domains your machine is contacting.

System is too slow or unusable. If the malware has caused severe damage, consider a clean OS reinstall. Back up only your essential data (scan it from another device first), then reinstall Windows or macOS. This guarantees removal.

Can’t boot into Safe Mode. On Windows, try booting from a recovery USB. On macOS, use Recovery Mode (Cmd+R) and run Disk Utility First Aid, then restart in Safe Mode.

Malware is a ransomware (files encrypted). If you see ransom notes, disconnect immediately. Do not pay. Restore from backup if you have one. Some ransomware has free decryption tools—check No More Ransom project.

You accidentally deleted a legitimate system file. If you’re unsure about a file, don’t delete it. Instead, quarantine it by renaming with a .bak extension and see if the system still works. If you deleted something critical, run System File Checker (sfc /scannow) on Windows or reinstall the OS component.

Frequently Asked Questions

How did I get malware from a fake AI tool?

Fake AI tools are often distributed via malicious ads, phishing emails, or fake download sites. They may bundle a legitimate-looking installer that actually runs a payload.

Can I just delete the tool folder and be done?

No. Malware often installs additional files, startup entries, and scheduled tasks. Deleting the folder alone leaves these behind, so the malware can reinstall itself.

Do I need to reinstall my OS?

Not always. If you catch it early and remove all components, a clean-up may suffice. But if you can’t fully clean it or the malware is sophisticated (rootkit), a reinstall is safer.

Will changing my passwords help if the malware is still active?

No. Change passwords only after you’ve removed the malware and from a clean device. Otherwise, the malware can capture the new passwords.

How can I avoid this in the future?

Only install tools from official sources, verify checksums, read reviews, and use a virtual machine for anything suspicious. Keep your system updated and use a reputable antivirus.

Is my developer data (source code, API keys) at risk?

Yes. Malware can exfiltrate files and steal credentials. After cleaning, rotate all API keys and tokens, and review your code repositories for any unauthorized changes.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →