C#应用程序出现在AVG杀毒软件误报? [英] C# app appears false positive in AVG antivirus?

查看:664
本文介绍了C#应用程序出现在AVG杀毒软件误报?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了我一直在我的另一台计算机上的整个发展阶段测试C#应用程序。但是现在,我已经完成了一些我最近添加的东西应用程序,该应用程序被检测为病毒(AVG没有显示什么样的病毒)。下面是我做了一些变化:




  1. 添加注册表设置,以允许用户在Windows启动时启动应用程序

  2. 改变大会名称和装配信息(因为我想重新命名的应用程序)。

  3. 推门进去签名设置并点击签署的ClickOnce清单。

  4. 推门进去安全性和点击,这是一个完全信任的应用程序。



该应用程序仅仅是一个简单的天气应用程序。它从XML读取数据并显示它。直到我做了这些改变我从来没有假阳性。 ?那么,什么是这里的问题,如何解决它。



我添加以下设置:

 的RegistryKey RK = Registry.CurrentUser.OpenSubKey(SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run,真正的); 
如果(startupCheck.Checked){
rk.SetValue(WeTile,\+ Application.ExecutablePath.ToString()+\);
}其他{
rk.DeleteValue(WeTile,FALSE);
}


解决方案

许多防病毒程序和Windows本身会抱怨新的/不可靠的应用。用代码签名证书签名会改善你的排行榜很大,让你的程序运行,但通过的ClickOnce自签署将于事无补。



有很多约试图绕过这些过滤器的其他职位。您可能需要与反病毒公司,如AVG,看看有什么可以做,如果他们能白名单您的应用程序。 ( AVG - 报告误报)提交虚假报告的检测和删除那些需要完全信任的任务(或活动显得可疑,以AV)将帮助你的应用程序运行。


I have created a C# application that I've been testing on my other computer throughout the developing phase. However now that I've completed the app with few recent things that I added, the app is detected as virus (AVG doesn't show what kind of virus). Here are a few changes I did:

  1. Added a registry setting to allow user to start the app at Windows Startup.
  2. Changed the Assembly Name and Assembly Information (Because I wanted to rename the app).
  3. Went into signing settings and clicked on Sign the ClickOnce manifests.
  4. Went into security and clicked this is a full trust application.

The app is just a simple weather application. It reads data from an XML and displays it. I never had a false positive until I did these changes. So what would be the problem here and how do I resolve it?

I added the following settings:

RegistryKey rk = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true);
if (startupCheck.Checked) {
    rk.SetValue("WeTile", "\"" + Application.ExecutablePath.ToString() + "\"");
} else {
    rk.DeleteValue("WeTile", false);
}

解决方案

Many antivirus programs and Windows itself will complain about new/untrusted applications. Signing with a code signing certificate will improve your "ranking" greatly and allow your program to run, but self-signing via ClickOnce will not help at all.

There are many other posts about trying to get around these filters. You may want to contact antivirus companies such as AVG and see what can be done, and if they can "whitelist" your application. (AVG - Report a false positive) Submitting false detection reports and removing tasks that need full trust (or activities that seem "suspicious" to AV) will help you application run.

这篇关于C#应用程序出现在AVG杀毒软件误报?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆