Generated executable mod installers trigger Virustotal
Example: Virustotal analysis link
I am unsure as to how much control you have over this issue, maybe the method used to create the .exe-installers is commonly used by malware as well? Thought I'd make a new issue anyway since I did not find another issue or forum post mentioning this yet. This is problematic for mod makers wanting to upload these .exe-installers since they might get blocked and users will be suspicious of the file. Should be possible to work around by using a generic delta-patcher instead, so it is not a high priority issue I'd say.
It didn't trigger the detections initially, so I thought it was fine.
The .exe is actually ModInstaller.dll with a custom entry point and the mod info stored as resources. It turns out that I forgot to correct the image checksum, which might raise suspicion.
I'm using some low level tricks to load and import required .dlls (AssetsTools.dll, msvcr/p100.dll) manually and warn about missing C++ redistributable packages. I might use a more 'official' way of delay imports, in case that's actually the reason for the detections.
SwiftSearch also seems to get lots of false positives simply because the 64bit executable is packed into the 32bit program.
The only thing I could do about this kind of false positives in the installer is using more complicated methods of loading the AssetsTools library, such as hiding the dll with encryption/compression and manual mapping (i.e. not exporting the dll to a file but instead using custom methods to load it in memory) or using even more complicated magic to fuse AssetsTools into the installer executable.
Since these methods could make UABE itself trigger false positives, I don't think it's worth the hassle.
I agree that this shouldn't affect the main program.
The only other possibility I can imagine would be to have a sort of static exe that just loads a config file telling it which asset to patch, so there would be no need for the patch to be a custom DLL with all the tricks and techniques that come with that, but then again my knowledge of Windows DLL handling/low level APIs is very limited and I don't know how complicated a config-solution would be either.
For now this is not a big issue for me since I am only patching text assets and I can use my own little crappy patcher for that. Maybe if I ever get into more advanced asset editing I'll dive back into this issue but unless you feel like pursuing this I don't mind if you close the issue :).
Is there any update on a way ahead with this issue ? Virustotal link