Can you share what packaging settings you are using? I wonder if obfuscation might cause this or if it’s something else with our package. I can also try to reach out to Cyclance to see if they can provide some insight.
Hi Adam, Please let me know if you need any further info. We are in middle of some project and this issue looks like a showstopper. It would be great if you can provide some solution for the same.
This is Vijay Kumar from Aristocrat, we want some quick solution around this issue. Please let me know if we can connect on priority. Our production release is stuck due to this issue.
I don’t know anything about PowerShell Pro but I do generate .exe’s from PS scripts using another method and I found that unless I sign the .exe with a code signing cert then my AV picks it up as a virus. If there’s an option to sign the .exe using a cert then it would be worth trying that.
(Powershell Pro might already do this, so if so ignore me! I haven’t used it before) .
@vijay.kumar - I’ve contacted Cylance a few times and they still haven’t given me any status on the file I uploaded to them. You may want to try and open a ticket as well.
There currently isn’t an option to code sign the assembly directly. You can use SignTool to do so after the fact: SignTool - Win32 apps | Microsoft Docs
Recently, I’ve had some success submitting executables to vendors to have them validate and white list them.
Hello all,
Is there any update on the status of this. I did search, but it seems to have ended here. I have a similar issue and have worked around it just using the ps1 bundling and a cmd to call it. which is fine for testing. but won’t last as a solution.
Thanks
This is still an issue and depends on which antivirus software you are using and properties of your executable. The best solution is to get the compiled executable whitelisted by your AV vendor.
Some things that you can do to help with flagging:
Thanks Adam. Signing with our pfx seems to have alleviated the problem internally. But running against www.virustotal.com shows 16 AVs that will detect it as a virus. Removing the obfuscation dropped the number to 13.