我的 C# 应用程序被防病毒应用程序标记。我如何找出原因?
我有一个 C# 应用程序被多个防病毒应用程序(到目前为止 AVG 和诺顿)标记为“行为可疑”。我对此没有任何经验,并且我认为有很多事情可以被视为“可疑”(注册表访问、使用命名管道使用本地服务的 IPC、将文件复制到本地应用程序数据文件夹等),但我不知道从哪里开始。
请注意,这些应用程序并不是说我的应用程序是病毒或感染了病毒,而是说它是可疑的。
我如何了解应用程序的哪一部分导致了这些问题?
I have a C# app that is getting flagged by multiple anti-virus apps (AVG and Norton so far) as "behaving suspiciously". I don't have any experience with this, and there are lots of things I suppose could be considered "suspicious" (registry access, IPC with a local service using named pipes, copying files to local app data folder, etc), but I don't know where to start.
Note that the apps aren't saying my app is a virus or infected with a virus - but that it is suspicious.
How can I get an idea of which part of my app is causing these issues?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我建议排除故障的步骤。
如果您可以在开发计算机上可靠地重现问题,请开始注释掉代码部分,直到问题不再发生。然后开始取消注释,直到再次发生。这至少会缩小导致问题的代码部分的范围。
I'd recommend troubleshooting steps.
If you can reproduce the problem reliably on your dev machine, start commenting out code sections until it stops happening. Then start uncommenting until it happens again. That will at least narrow down what section of your code is causing the problem.
您需要联系防病毒公司将您的应用程序列入白名单。不幸的是,这需要为每个人单独完成,并且他们有自己的流程。以下是 AVG 和 诺顿。
此过程通常需要时间,因此您可能需要考虑到这一点。
You will need to contact the antivirus companies to whitelist your application. Unfortunately this will need to be done for each one of them separately and they have their own process. Here are the links for AVG and Norton.
This process usually takes time so you may want to account for that.