%20%E6%9C%8D%E5%8B%99%EF%BC%9F.png)
我正在做一項服務。我使用.NET框架。我想將服務作為受保護的進程燈啟動。我想讓不受保護的進程無法注入 DLL、終止、掛起、恢復或對我的進程進行任何類型的控制。我在名為 LaunchProtected 的服務金鑰中建立了一個 DWORD,並將其值設為 3。該服務無法啟動,當我嘗試啟動它時,它顯示:
[SC] StartService FAILED 577:
Windows cannot verify the digital signature for this file. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source.
我無法刪除或修改服務的配置,也無法對其執行任何操作。當我嘗試在管理 CMD 上用它做某事時,它顯示:
[SC] OpenService FAILED 5:
Access is denied.
有些服務的LaunchProtected鍵的值為3、2或1,當我嘗試啟動它們時,它們可以正常啟動。就像 WinDefend 服務一樣。