11-06-2020 19:05
11-06-2020 19:05
I am trying to download a build from the studio (the .fba file) but it is blocked by Windows Defender as a trojan attack. Other clockfaces download just fine but Windows says this particular clockface is a "Trojan:JS/Foretype.A!ml" and "Alert level: Severe" with affected items:
Is there something actually wrong with the file or is this something I can safely ignore?
Answered! Go to the Best Answer.
11-06-2020 19:30
11-06-2020 19:30
Don't hold me responsible, but I'm guessing it's a false positive. Defender could be baulking on the .js files (which are executable, sort of), especially when they're doubly embedded within compressed archives (.fba and .zip) (which is a common way to try to hide executables from detection).
The file structure you posted is about what I'd expect in a .fba.
What's surprising is that nobody else seems to have reported this.
11-06-2020 19:30
11-06-2020 19:30
Don't hold me responsible, but I'm guessing it's a false positive. Defender could be baulking on the .js files (which are executable, sort of), especially when they're doubly embedded within compressed archives (.fba and .zip) (which is a common way to try to hide executables from detection).
The file structure you posted is about what I'd expect in a .fba.
What's surprising is that nobody else seems to have reported this.
11-07-2020 10:04
11-07-2020 10:04
Thanks! I actually isolated it to a single line:
me.addEventListener("unload", saveSettings);
If I remove this or even replace it with onunload, Windows doesn't stop it from downloading. Super weird.
11-07-2020 12:08
11-07-2020 12:08
That was some fine detective work! It would explain why other people haven't mentioned this.