Prevent task (anti-malware program) from being ended

匆匆过客 提交于 2019-12-23 05:01:41

问题


I am currently developing a anti-virus/anti-malware program for Windows 10. I need the program to be protected; so that it may not be ended via the task manager. For example, If I were to try to end the Antimalware Service Executable with the task manager, I'd receive the following message:

Unable to terminate process
The operation could not be completed.
Access is denied.

Is there any way I could add this feature programmatically; maybe via Python?

EDIT: This is for an aggressive antivirus/antimalware that minimizes false-positives and slip-throughs. Yes I'm aware commercial options exist, but I am not looking for one.


回答1:


After conduction further research, I have located an article that perfectly describes what I am looking for. https://docs.microsoft.com/en-us/windows/desktop/Services/protecting-anti-malware-services- This will help me create the program, and protect it adequately.



来源:https://stackoverflow.com/questions/54889302/prevent-task-anti-malware-program-from-being-ended

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!