All pages

docs/antivirus.md

Why your antivirus may call it a trojan

Why your antivirus may call it a trojan

It happens, and the honest answer is that the plugin does the things antivirus software watches for. Not by accident, and not hidden: it is what a game mod that changes what the game draws has to do.

Names like Wacatac, Injector, HackTool or Trojan:Win32/Wacatac.B!ml mean a heuristic fired, not that something was found. The !ml on the end literally means a machine learning guess.

What you can do:

A new release can score worse than the old one, with the same code in it

Numbers from 2026-09-13, both files scanned on VirusTotal seventeen minutes apart:

0.8.27 0.8.26
total 4 of 71 engines 2 of 71 engines
Microsoft Defender Trojan:Win32/Wacatac.C!ml did not flag it
Bkav W32.Malware.C8C9EC41 W32.Malware.BD7E04A6
Cynet Malicious (score: 100) Malicious (score: 100)
Trapmine suspicious.low.ml.score did not flag it

Those two files are the same plugin. Set the version number in 0.8.27's source back to 0.8.26, build it, and you get the file 0.8.26 shipped, hash for hash. The only difference between them is six characters of version text, so nothing in the file explains why one was called a trojan and the other was not.

The detection names give it away. Anything ending in !ml or .ml.score, and any bare score, is a machine learning guess rather than a match on known code. Part of that guess is how many machines have already seen the exact file, and a release that came out yesterday has been seen by almost nobody. Every new version starts that count at zero, which is why the build you have been running looks clean while the one that just auto-updated does not.

So an older release will usually score better than a newer one, and that is about the age of the file rather than what is in it. It also means comparing two releases on VirusTotal tells you nothing about which one is safer, unless the code between them changed.

What the scanners object to

You can check the whole list yourself with dumpbin /imports texoverride.asi. These are the Windows functions the plugin calls, and what an antivirus tends to read them as:

Windows functions used what that looks like
VirtualAlloc, VirtualProtect, FlushInstructionCache allocating executable memory and rewriting code in a running program
ten WinHttp* calls, BCrypt* hashing, ShellExecuteA download a file, hash it, run it
GetAsyncKeyState, GetForegroundWindow reading the keyboard and checking which window is in front
LoadLibraryA, GetProcAddress, GetModuleHandle* looking up Windows functions at runtime instead of declaring them

Every row has a plain reason behind it. The first is the hook, which is the entire point of the plugin. The second is the update check, which fetches the release list over HTTPS, checks the SHA-256 of what it downloaded, and asks Windows to run the new file. The third is the screenshot key for hide_overlay, plus the test that FiveM is the window in front so that keys are ignored while you are in another program. The fourth is how FiveM's own exports get found, because a normal import on a FiveM DLL would turn a renamed export into a plugin that refuses to load at all.

Individually none of that is unusual. Together it is close to the shape of a program that downloads something and watches the keyboard, and a scanner trained on that shape scores the combination.

Two things that could be on that list are not:

If FiveM shows "Couldn't load texoverride.asi" and there is no texoverride.log next to the file, something refused the file before any of the plugin's own code ran. Two things have caused that so far: Smart App Control, and McAfee. Both block unsigned files silently, neither shows anything in Windows Security, and the file looks perfectly fine. Work through the four checks in the README, which name both and end with a test that reports the actual Windows error code.

Windows Security settings and the plugin, if you want to check yours:

To find out what is blocking it when nothing admits to it, use Process Monitor:

  1. Download Procmon from Microsoft (search "Sysinternals Process Monitor") and run it as administrator. Close FiveM first.
  2. In Procmon press Ctrl+L, add the filter Path contains texoverride.asi, click Add, OK.
  3. Launch FiveM and wait for the "Couldn't load" dialog. Go back to Procmon.
  4. Read the Result column. SUCCESS all the way down and still no log means a driver vetoed the load; look at the Process Name column for anything that is not FiveM (an antivirus service touching the file right before the failure is the answer). ACCESS DENIED names the blocker directly. NAME NOT FOUND means FiveM is looking in a different plugins folder than the one you put the file in.
  5. To keep the evidence: File > Save, PML format, and post it in the Discord with your report.

What this project will not do is obfuscate, pack, or otherwise dress the file up to slip past scanners. That is what actual malware does, it makes detections worse rather than better, and it would destroy the one thing that makes a mod like this trustworthy: that you can read every line of what it does.

Back to the README