防止任务(反恶意软件程序)被结束

Prevent task (anti-malware program) from being ended

我目前正在为 Windows 10 开发一个 anti-virus/anti-malware 程序。我需要程序受到保护;这样它就不会通过任务管理器结束。例如,如果我尝试使用任务管理器结束 Antimalware Service Executable,我会收到以下消息:

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

有什么方法可以通过编程方式添加此功能吗?也许通过 Python?

编辑:这是为了一个积极的 antivirus/antimalware,它最大限度地减少了误报和漏电。是的,我知道存在商业选择,但我不是在寻找。

经过进一步研究,我找到了一篇完美描述我所寻找内容的文章。 https://docs.microsoft.com/en-us/windows/desktop/Services/protecting-anti-malware-services- 这将帮助我创建程序并充分保护它。