Trojan:Script/Wacatac.B!ml is a Microsoft Defender detection for suspicious script, archive, or web-delivered behavior. If you searched for trojan wacatac.b ml, wacatac.b!ml, or the full Defender name, treat the alert as serious until you check the file path and source, but do not assume it always means an active infection.
The safest first move is to keep the item quarantined, open Protection History, and note where Defender found it. A Wacatac.B!ml alert tied to a crack, fake update, unknown installer, email attachment, browser cache, or Temp/AppData path is high risk. An alert tied to your own build, a known vendor file, or an archive that never executed can be a false positive, but it still needs verification before restore or exclusion.
Trojan:Script/Wacatac.B!ml Quick Answer
| Detection | Trojan:Script/Wacatac.B!ml |
| What it usually means | Defender saw script, archive, installer, or download behavior that resembles known Wacatac activity. |
| First action | Leave it quarantined, check the detected file path, then run a full scan. |
| Most suspicious cases | Cracks, pirated installers, fake browser updates, unknown email attachments, files in Temp/AppData/Downloads. |
| Possible false positives | Developer builds, scripts, compressed archives, emulators, APKs, and legitimate tools that trigger heuristic or machine-learning detection. |
| Do not do this | Do not disable Defender or add an exclusion just to make the warning disappear. |
What Does Trojan:Script/Wacatac.B!ml Mean?
The name breaks down like this: Trojan is the broad threat category, Script suggests the suspicious object is script-related or script-delivered, Wacatac.B is the detection family, and !ml means the detection was influenced by Microsoft Defender’s machine-learning/heuristic logic.
Microsoft describes Wacatac as a family that can be used for credential theft, downloading more malware, and opening a backdoor when the detected file is truly malicious. That does not prove every Wacatac.B!ml alert is malware, but it explains why Defender treats the name aggressively.
If your Defender alert names an executable instead of a script, compare it with our related guides for Trojan:Win32/Wacatac and Trojan:Win32/Wacatac.H!ml. If the alert is Trojan:Script/Conteban.A!ml, handle it as a separate script/archive detection. For a broader explanation of Defender naming, see Microsoft Defender detections.
Script vs Win32/Wacatac.B!ml
Search results and Defender alerts often mix Trojan:Script/Wacatac.B!ml, Trojan:Win32/Wacatac.B!ml, and plain wacatac.b ml. Use the platform part of the name as a clue: Script usually points to JavaScript, HTML, VBS, PowerShell, browser-cache content, or a script embedded in an archive, while Win32 usually points to a Windows executable or installer. The cleanup logic overlaps, but the source path tells you whether you are dealing with an extracted script, a packed installer, a developer build, or a stale Protection History entry.

Is It Malware or a False Positive?
Use the file context, not the detection name alone. A Wacatac.B!ml alert from a random download is a very different risk from the same alert on a local development build you created yourself.
Treat It as Malware If
- The file came from a crack, keygen, pirated game, unofficial mod, fake update, Telegram/Discord link, or unknown archive.
- The path is inside
%Temp%,AppData, browser cache, Downloads, or a folder with a random name. - You recently saw browser redirects, pop-ups, changed search settings, disabled security tools, or new startup entries.
- Defender finds the same detection again after quarantine or restart.
- Other security tools also flag the file or the extracted contents.
Consider a False Positive If
- The file is from your own project, a known vendor, or a tool you can re-download from the official source.
- The alert appears only inside a compressed archive and never runs on the system.
- The detection disappears after Defender updates and a rescan finds nothing.
- The file is a script, emulator component, APK, unsigned build, or packed installer that you can independently verify.
Even in a likely false-positive case, do not restore the file until you have verified it. If it is business-critical or private, avoid uploading it to public multi-scanner services. Use the vendor’s official submission flow instead.
If Defender Found Wacatac.B!ml in a ZIP, RAR, Browser Cache, or Partial Download
Many real user cases start with Defender flagging a compressed file, an interrupted browser download, a mod archive, or a cached HTML/script file. That does not automatically prove the code ran. It means Defender saw suspicious content while scanning the container, the extracted item, or the download stream.
- ZIP/RAR/7z: delete the original archive if you do not trust the source. If it is your own archive, rescan the extracted files after updating Defender definitions.
- Browser cache or partial download: clear the browser download/cache folder, remove the source download, then run a full scan. A detection during download often means the file was blocked before execution.
- Game mods, emulators, APKs, and developer builds: verify the source, hash, signature, and vendor/project reputation before restoring anything.
- Only one scanner detected it once: keep the file out of use, update definitions, rescan, and submit it to Microsoft if you need a clean verdict.
What to Do First
- Keep the item quarantined. Open Windows Security, then go to Virus & threat protection > Protection history.
- Copy the detected path and threat name. The folder location tells you whether this was a download, archive extraction, browser cache item, or startup persistence.
- Update Defender security intelligence. Run Windows Update or update protection definitions before rescanning.
- Run a full scan. A quick scan is useful, but a full scan is better when the source was suspicious.
- Use a second-opinion scanner. GridinSoft Anti-Malware can check for leftover startup entries, bundled apps, browser hijackers, and hidden files that a single-file quarantine does not explain.
- Change passwords only if exposure is plausible. Do it after cleanup if you ran the file, entered credentials, saw browser hijacking, or found other malware.
What If Wacatac.B!ml Keeps Coming Back?
Repeated Wacatac.B!ml notifications can mean two different things. Sometimes Defender already removed the file and you are seeing old Protection History notifications. Other times the original archive, browser cache, startup task, or downloader is still recreating the suspicious file.
- Check whether the file path in each alert is the same or changing.
- If the path points to an old quarantined item or Protection History entry, update Defender and run a full scan to confirm there is no active detection.
- If the path keeps reappearing in Downloads, Temp, AppData, browser cache, Startup, or Task Scheduler, delete the source file and inspect persistence locations.
- If the detection returns after reboot or removal fails, run Microsoft Defender Offline Scan and then a second-opinion scan before changing passwords.
How to Remove Trojan:Script/Wacatac.B!ml
1. Remove the Quarantined Item
In Windows Security, open Protection history, select the Trojan:Script/Wacatac.B!ml event, and choose the recommended removal action. If Defender already quarantined it, do not restore it just to delete it manually.
2. Delete the Source Download or Archive
If the alert came from a ZIP/RAR/7z, ISO, installer, browser cache, or partial download, delete the original source file too. Defender may quarantine the extracted object while the original archive remains in Downloads.
3. Check Startup Locations
Look for unfamiliar entries in Task Manager > Startup apps, Task Scheduler, and the common Startup folders. Script malware often tries to survive by launching powershell.exe, wscript.exe, cscript.exe, or a random file from Temp/AppData.
4. Run a Full System Scan
Use Windows Security > Virus & threat protection > Scan options > Full scan. If the detection returns, or if Defender reports that removal failed, run Microsoft Defender Offline Scan so Windows can check the system before normal startup.
5. Scan With GridinSoft Anti-Malware
Defender may catch the suspicious file but not every bundled component around it. A GridinSoft Anti-Malware scan is useful when the source was a fake installer, adware bundle, crack, browser hijacker, or unknown archive.
Second-opinion scan
Use GridinSoft Anti-Malware after Defender quarantines the file to check for leftovers and related persistence.
- ScanUpdate the database and run a Full Scan.
- ReviewCheck file paths before cleaning, especially in developer or work folders.
- CleanQuarantine confirmed threats, restart if prompted, then scan once more.
How to Handle a Likely False Positive
A false positive is possible, especially with custom scripts, unsigned builds, compressed tools, emulators, or software packed in a way that resembles malware. Handle it carefully.
- Confirm the file came from a trusted source.
- Re-download the file from the official website and compare whether Defender still flags it.
- Scan the file or folder directly with Microsoft Defender.
- If it is your software or a vendor file, submit it to Microsoft as a false positive for review.
- Add a Defender exclusion only after verification, and only for the narrow file or folder that needs it.

For most home users, deleting the suspicious file is safer than excluding it. Exclusions tell Defender not to inspect that location, which can make a real infection easier to miss later.
How to Avoid Wacatac-Style Alerts Again
- Do not run cracks, keygens, pirated installers, or “activation” tools.
- Keep file extensions visible in Windows so
invoice.pdf.jsdoes not look like a PDF. - Do not open scripts from email, chat, or shared folders unless you expected them.
- Keep Defender real-time protection and cloud-delivered protection enabled.
- Use standard user accounts for daily work instead of an administrator account.
- Back up important files to a location malware cannot easily rewrite.
FAQ
Is Trojan:Script/Wacatac.B!ml always malware?
No. Treat it as suspicious, but verify the file source and path. Alerts from cracks, fake updates, or random archives are high risk. Alerts on trusted developer builds or compressed tools can be false positives, but they still need verification before restore or exclusion.
What does the !ml part mean?
The !ml suffix means Microsoft Defender’s machine-learning or heuristic detection contributed to the alert. That can catch new malware faster, but it can also flag legitimate files that look similar to malware patterns.
Should I restore the quarantined file?
Only restore it if you are confident the file is safe, you know exactly where it came from, and you have verified it through the vendor or Microsoft submission process. If the file came from an untrusted download, leave it quarantined and remove it.
Do I need to reinstall Windows?
Usually no, especially if Defender blocked the file before it ran and a full scan finds nothing else. Consider a reset or clean install only if the malware executed, security tools were disabled, detections keep returning, or you find signs of credential theft or persistence.
Can GridinSoft Anti-Malware help if Defender already quarantined it?
Yes. Defender may quarantine the detected file, while a second-opinion scan can look for related startup entries, bundled unwanted apps, browser changes, and leftover files from the same download source.
Why did Defender flag my ZIP, RAR, or partial download?
Defender can scan compressed files, browser downloads, and extracted contents before you run them. If the file came from an untrusted source, delete the archive and scan the system. If it is your own archive or a trusted file, update Defender definitions, rescan the extracted contents, and submit the sample to Microsoft if you need confirmation.
What if only Microsoft detected it once in VirusTotal?
A one-time Microsoft-only detection can be a machine-learning false positive, especially if the file was never opened and later scans are clean. Still, keep the file unused, rescan after updating definitions, and avoid restoring it unless you can verify the source.
Why does Wacatac.B!ml keep appearing after I click Remove?
If the same old event remains in Protection History, it may be a stale notification. If new alerts show fresh paths in Temp, AppData, Downloads, browser cache, Startup, or Task Scheduler, something is recreating the suspicious file and you should remove the source, check persistence, and run an offline scan.
Related Defender detection: Gridinsoft also has a path-based cleanup guide for Trojan:Win32/Skeeyah.A!rfn, especially when Defender quarantines an item from browser cache or a download folder.
Another script downloader alert: If Defender shows TrojanDownloader:JS/Nemucod instead of Wacatac, follow this Nemucod cleanup and cache-triage guide before restoring or excluding the file.
Related Defender alert: For a packed-file warning such as Trojan:Win32/VMProtect, this VMProtect false-positive and removal guide explains how to check the source, signature, path, and scan results.
References
- Microsoft Security Intelligence. “Trojan:Script/Wacatac.B!ml threat description.” Microsoft, updated January 11, 2026, accessed June 7, 2026. https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?name=Trojan%3AScript%2FWacatac.B%21ml
- Microsoft Support. “Help protect my PC with Microsoft Defender Offline.” Microsoft Support, accessed June 7, 2026. https://support.microsoft.com/en-us/windows/help-protect-my-pc-with-microsoft-defender-offline-9306d528-64bf-4668-5b80-ff533f183d6c
- Microsoft Security Intelligence. “Submit a file for malware analysis.” Microsoft, accessed June 7, 2026. https://www.microsoft.com/en-us/wdsi/filesubmission
Still Unsure About Trojan:Script/Wacatac.B!ml?
Keep the file quarantined and run a second-opinion scan. GridinSoft Anti-Malware can check the rest of the system for bundled apps, suspicious startup entries, browser hijackers, and leftover files from the same download source.

