Recovery
I ran an infected mod: what to do
Close the game, then change your passwords from a different, clean device, starting with Microsoft, Discord and email. After that, remove the mod, check your other jars and scan the computer. Work through the steps in order.
Not every flagged mod is malicious (see false positives), and not every infection does the same thing. But if a mod really was a stealer, the damage happens in the first seconds, so the account steps come before the cleanup.
1. Stop and disconnect
Close the game and the launcher. If you can, disconnect the affected computer from the network so that nothing more is sent out and nothing more can be downloaded. Do not delete anything yet if you may want to report the file; copy it somewhere safe and do not run it again.
2. Change passwords from a clean device
Use a phone or another computer that never ran the mod. Do these in this order:
- Email. It resets everything else, so secure it first and sign out of all other sessions.
- Microsoft account (used for Minecraft). Change the password and sign out everywhere. This invalidates the session token a stealer may have taken.
- Discord. Change the password, then check authorised apps and active devices and remove anything you do not recognise.
- Banking, password managers and anything else saved in your browser.
- Crypto wallets. Move funds to a new wallet created on a clean device. Treat the old seed phrase as compromised.
Turn on two-step verification where it is missing. Also check the recovery email and phone number on each account, since attackers sometimes change them.
3. Remove the files
- Delete the suspicious mod from your mods folder.
- Scan the remaining mods and modpacks one by one with the scanner. Some malware infects other jars, as in the fractureiser incident.
- Run a full scan with an up-to-date antivirus or an offline scanner.
- Check places malware uses to start itself again: the Windows Startup folder, the Run keys in the registry, scheduled tasks, and on other systems launch agents or autostart entries. See persistence and self-spreading.
- Look for unfamiliar programs, Java processes you did not start and unfamiliar files in temp folders.
4. Check what else was exposed
Think about what was on the machine: saved browser logins, other game accounts, cloud storage that stays signed in, messaging apps. Rotate those too. Look at recent account activity pages and be alert to phishing that uses details the attacker may have collected.
5. Consider a clean reinstall
If a full-system scan finds malware, or you cannot account for what ran, the safest option is to back up your personal files (not programs), reinstall the operating system and restore only documents. This is more work, but it is the only way to be sure that nothing is left behind. If the mod was only flagged and you never ran it, this is not necessary.
6. Report it
Report the file to the platform that hosted it so it can be removed, and tell the community server where you found it, which stops others from downloading it. You can also contact us if a RatOrNot scan missed something or got something wrong.
Afterwards
Get into the habit of scanning new files and downloading only from trusted sources, as covered in how to check if a mod is safe. For the most common kinds of theft, see how Minecraft token stealers work.
This is general guidance, not a guarantee. If financial accounts or large sums are involved, also contact your bank or the relevant service directly.
